summaryrefslogtreecommitdiffstats
path: root/templates/show_edit_album.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_edit_album.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_edit_album.inc.php')
-rw-r--r--templates/show_edit_album.inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/show_edit_album.inc.php b/templates/show_edit_album.inc.php
index 4b082efd..2830eaf7 100644
--- a/templates/show_edit_album.inc.php
+++ b/templates/show_edit_album.inc.php
@@ -28,17 +28,17 @@
?>
-<?php show_box_top(_('Edit Album')); ?>
+<?php show_box_top(T_('Edit Album')); ?>
<form name="edit_album" method="post" enctype="multipart/form-data" action="<?php echo conf('web_path'); ?>/admin/flag.php?action=edit_album">
<table class="tabledata">
<tr class="<?php echo flip_class(); ?>">
- <td><?php echo _('Name'); ?></td>
+ <td><?php echo T_('Name'); ?></td>
<td>
<input type="text" name="name" value="<?php echo scrub_out($album->full_name); ?>">
</td>
</tr>
<tr class="<?php echo flip_class(); ?>">
- <td><?php echo _('Year'); ?></td>
+ <td><?php echo T_('Year'); ?></td>
<td>
<input type="text" name="year" value="<?php echo scrub_out($album->year); ?>">
</td>
@@ -46,13 +46,13 @@
<tr class="<?php echo flip_class(); ?>">
<td>&nbsp;</td>
<td>
- <input type="checkbox" name="flag" value="1" checked="checked" /> <?php echo _('Flag for Retagging'); ?>
+ <input type="checkbox" name="flag" value="1" checked="checked" /> <?php echo T_('Flag for Retagging'); ?>
</td>
</tr>
</table>
<div class="formValidation">
<input type="hidden" name="album_id" value="<?php echo $album->id; ?>" />
- <input type="submit" value="<?php echo _('Update Album'); ?>" />
+ <input type="submit" value="<?php echo T_('Update Album'); ?>" />
</div>
</form>
<?php show_box_bottom(); ?>