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_disabled_songs.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_disabled_songs.inc.php')
-rw-r--r-- | templates/show_disabled_songs.inc.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/templates/show_disabled_songs.inc.php b/templates/show_disabled_songs.inc.php index e914d657..ff60333b 100644 --- a/templates/show_disabled_songs.inc.php +++ b/templates/show_disabled_songs.inc.php @@ -39,12 +39,12 @@ <col id="col_additiontime" /> </colgroup> <tr class="th-top"> - <th class="cel_select"><a href="#" onclick="check_select('song'); return false;"><?php echo _('Select'); ?></a></th> - <th class="cel_song"><?php echo _('Title'); ?></th> - <th class="cel_album"><?php echo _('Album'); ?></th> - <th class="cel_artist"><?php echo _('Artist'); ?></th> - <th class="cel_filename"><?php echo _('Filename'); ?></th> - <th class="cel_additiontime"><?php echo _('Addition Time'); ?></th> + <th class="cel_select"><a href="#" onclick="check_select('song'); return false;"><?php echo T_('Select'); ?></a></th> + <th class="cel_song"><?php echo T_('Title'); ?></th> + <th class="cel_album"><?php echo T_('Album'); ?></th> + <th class="cel_artist"><?php echo T_('Artist'); ?></th> + <th class="cel_filename"><?php echo T_('Filename'); ?></th> + <th class="cel_additiontime"><?php echo T_('Addition Time'); ?></th> </tr> <?php foreach ($songs as $song) { ?> <tr class="<?php echo flip_class(); ?>"> @@ -58,20 +58,20 @@ </tr> <?php } if (!count($songs)) { ?> <tr class="<?php echo flip_class(); ?>"> - <td colspan="7"><span class="error"><?php echo _('No Records Found'); ?></span></td> + <td colspan="7"><span class="error"><?php echo T_('No Records Found'); ?></span></td> </tr> <?php } ?> <tr class="th-bottom"> - <th class="cel_select"><a href="#" onclick="check_select('song'); return false;"><?php echo _('Select'); ?></a></th> - <th class="cel_song"><?php echo _('Title'); ?></th> - <th class="cel_album"><?php echo _('Album'); ?></th> - <th class="cel_artist"><?php echo _('Artist'); ?></th> - <th class="cel_filename"><?php echo _('Filename'); ?></th> - <th class="cel_additiontime"><?php echo _('Addition Time'); ?></th> + <th class="cel_select"><a href="#" onclick="check_select('song'); return false;"><?php echo T_('Select'); ?></a></th> + <th class="cel_song"><?php echo T_('Title'); ?></th> + <th class="cel_album"><?php echo T_('Album'); ?></th> + <th class="cel_artist"><?php echo T_('Artist'); ?></th> + <th class="cel_filename"><?php echo T_('Filename'); ?></th> + <th class="cel_additiontime"><?php echo T_('Addition Time'); ?></th> </tr> </table> <div class="formValidation"> - <input class="button" type="submit" value="<?php echo _('Remove'); ?>" /> + <input class="button" type="submit" value="<?php echo T_('Remove'); ?>" /> <input type="hidden" name="action" value="remove_disabled" /> </div> </form> |