summaryrefslogtreecommitdiffstats
path: root/templates/show_add_shout.inc.php
diff options
context:
space:
mode:
authorPaul Arthur <flowerysong00@yahoo.com>2012-03-31 17:01:04 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2012-04-12 21:13:29 -0400
commitf65076b93d91fe9718cf9bef37638d64290b9f28 (patch)
tree40fbc65baffab34971d8c7b685ef9c99e0f4014f /templates/show_add_shout.inc.php
parent15457b16f17a141fa76a3b9882892362b601787c (diff)
downloadampache-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_add_shout.inc.php')
-rw-r--r--templates/show_add_shout.inc.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/show_add_shout.inc.php b/templates/show_add_shout.inc.php
index 99d43390..e0eda1a0 100644
--- a/templates/show_add_shout.inc.php
+++ b/templates/show_add_shout.inc.php
@@ -27,18 +27,18 @@
*/
?>
-<?php show_box_top(_('Post to Shoutbox'), 'box box_add_shout'); ?>
+<?php show_box_top(T_('Post to Shoutbox'), 'box box_add_shout'); ?>
<form method="post" enctype="multipart/form-data" action="<?php echo Config::get('web_path'); ?>/shout.php?action=add_shout">
<table class="tabledata" cellpadding="0" cellspacing="0">
<tr>
- <td><strong><?php echo _('Comment:'); ?></strong>
+ <td><strong><?php echo T_('Comment:'); ?></strong>
</tr>
<tr>
<td><textarea rows="5" cols="70" name="comment"></textarea></td>
</tr>
<?php if (Access::check('interface','50')) { ?>
<tr>
- <td><input type="checkbox" name="sticky" /> <strong><?php echo _('Make Sticky'); ?></strong></td>
+ <td><input type="checkbox" name="sticky" /> <strong><?php echo T_('Make Sticky'); ?></strong></td>
</tr>
<?php } ?>
<tr>
@@ -46,7 +46,7 @@
<?php echo Core::form_register('add_shout'); ?>
<input type="hidden" name="object_id" value="<?php echo $object->id; ?>" />
<input type="hidden" name="object_type" value="<?php echo strtolower(get_class($object)); ?>" />
- <input type="submit" value="<?php echo _('Create'); ?>" />
+ <input type="submit" value="<?php echo T_('Create'); ?>" />
</td>
</tr>
</table>