Changing t() placeholder syntax from {{replace_me}} to %replace_me.

This commit is contained in:
Andy Staudacher
2009-01-15 10:02:41 +00:00
parent e53916dd06
commit e4a9b19bf9
44 changed files with 107 additions and 103 deletions
+4 -4
View File
@@ -1,15 +1,15 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<ul>
<li>
<?= t("Operating System: {{operating_system}}", array("operating_system" => PHP_OS)) ?>
<?= t("Operating System: %operating_system", array("operating_system" => PHP_OS)) ?>
</li>
<li>
<?= t("Apache: {{apache_version}}", array("apache_version" => function_exists("apache_get_version") ? apache_get_version() : t("Unknown"))) ?>
<?= t("Apache: %apache_version", array("apache_version" => function_exists("apache_get_version") ? apache_get_version() : t("Unknown"))) ?>
</li>
<li>
<?= t("PHP: {{php_version}}", array("php_version" => phpversion())) ?>
<?= t("PHP: %php_version", array("php_version" => phpversion())) ?>
</li>
<li>
<?= t("MySQL: {{mysql_version}}", array("mysql_version" => mysql_get_server_info())) ?>
<?= t("MySQL: %mysql_version", array("mysql_version" => mysql_get_server_info())) ?>
</li>
</ul>