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

View File

@@ -8,7 +8,7 @@
width="40"
height="40" />
<?= date("Y-M-d H:i:s", $comment->created) ?>
<?= t("<a href=#>{{author_name}}</a> said <em>{{comment_text}}</em>",
<?= t("<a href=#>%author_name</a> said <em>%comment_text</em>",
array("author_name" => $comment->author_name(),
"comment_text" => text::limit_words($comment->text, 50))); ?>
</li>