diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2012-03-31 17:01:04 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-12 21:13:29 -0400 |
commit | f65076b93d91fe9718cf9bef37638d64290b9f28 (patch) | |
tree | 40fbc65baffab34971d8c7b685ef9c99e0f4014f /templates/show_flagged.inc.php | |
parent | 15457b16f17a141fa76a3b9882892362b601787c (diff) | |
download | ampache-f65076b93d91fe9718cf9bef37638d64290b9f28.tar.gz ampache-f65076b93d91fe9718cf9bef37638d64290b9f28.tar.bz2 ampache-f65076b93d91fe9718cf9bef37638d64290b9f28.zip |
Switch from _() to T_()
Even if we move away from php-gettext in the future, it's easy to
write a quick T_() as a simple wrapper; it's not so easy to rewrite
PHP to allow redeclaration of a function.
Diffstat (limited to 'templates/show_flagged.inc.php')
-rw-r--r-- | templates/show_flagged.inc.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/templates/show_flagged.inc.php b/templates/show_flagged.inc.php index cec20187..2f5e9639 100644 --- a/templates/show_flagged.inc.php +++ b/templates/show_flagged.inc.php @@ -38,12 +38,12 @@ $web_path = Config::get('web_path'); <col id="col_action" /> </colgroup> <tr class="th-top"> - <th class="cel_object"><?php echo _('Object'); ?></th> - <th class="cel_username"><?php echo _('User'); ?></th> - <th class="cel_flag"><?php echo _('Flag'); ?></th> - <th class="cel_comment"><?php echo _('Comment'); ?></th> - <th class="cel_status"><?php echo _('Status'); ?></th> - <th class="cel_action"><?php echo _('Action'); ?></th> + <th class="cel_object"><?php echo T_('Object'); ?></th> + <th class="cel_username"><?php echo T_('User'); ?></th> + <th class="cel_flag"><?php echo T_('Flag'); ?></th> + <th class="cel_comment"><?php echo T_('Comment'); ?></th> + <th class="cel_status"><?php echo T_('Status'); ?></th> + <th class="cel_action"><?php echo T_('Action'); ?></th> </tr> <?php foreach ($object_ids as $flag_id) { @@ -53,15 +53,15 @@ foreach ($object_ids as $flag_id) { ?> <?php } if (!count($object_ids)) { ?> <tr class="<?php echo flip_class(); ?>"> - <td colspan="7" class="error"><?php echo _('No Records Found'); ?></td> + <td colspan="7" class="error"><?php echo T_('No Records Found'); ?></td> </tr> <?php } ?> <tr class="th-bottom"> - <th class="cel_object"><?php echo _('Object'); ?></th> - <th class="cel_username"><?php echo _('User'); ?></th> - <th class="cel_flag"><?php echo _('Flag'); ?></th> - <th class="cel_comment"><?php echo _('Comment'); ?></th> - <th class="cel_status"><?php echo _('Status'); ?></th> - <th class="cel_action"><?php echo _('Action'); ?></th> + <th class="cel_object"><?php echo T_('Object'); ?></th> + <th class="cel_username"><?php echo T_('User'); ?></th> + <th class="cel_flag"><?php echo T_('Flag'); ?></th> + <th class="cel_comment"><?php echo T_('Comment'); ?></th> + <th class="cel_status"><?php echo T_('Status'); ?></th> + <th class="cel_action"><?php echo T_('Action'); ?></th> </tr> </table> |