summaryrefslogtreecommitdiffstats
path: root/templates/show_access_list.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_access_list.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_access_list.inc.php')
-rw-r--r--templates/show_access_list.inc.php38
1 files changed, 19 insertions, 19 deletions
diff --git a/templates/show_access_list.inc.php b/templates/show_access_list.inc.php
index 0e1e687d..1840bd99 100644
--- a/templates/show_access_list.inc.php
+++ b/templates/show_access_list.inc.php
@@ -32,40 +32,40 @@
*/
?>
-<?php show_box_top(_('Access Control'), 'box box_access_control'); ?>
+<?php show_box_top(T_('Access Control'), 'box box_access_control'); ?>
<div id="information_actions" class="left-column">
<ul>
<li>
- <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_add_current"><?php echo get_user_icon('add_user',_('Add Current Host')); ?></a>
- <?php echo _('Add Current Host'); ?>
+ <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_add_current"><?php echo get_user_icon('add_user', T_('Add Current Host')); ?></a>
+ <?php echo T_('Add Current Host'); ?>
</li>
<li>
- <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_add_rpc"><?php echo get_user_icon('cog',_('Add API / RPC Host')); ?></a>
- <?php echo _('Add API / RPC Host'); ?>
+ <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_add_rpc"><?php echo get_user_icon('cog', T_('Add API / RPC Host')); ?></a>
+ <?php echo T_('Add API / RPC Host'); ?>
</li>
<li>
- <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_add_local"><?php echo get_user_icon('home',_('Add Local Network Definition')); ?></a>
- <?php echo _('Add Local Network Definition'); ?>
+ <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_add_local"><?php echo get_user_icon('home', T_('Add Local Network Definition')); ?></a>
+ <?php echo T_('Add Local Network Definition'); ?>
<li>
- <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_add_advanced"><?php echo get_user_icon('add_key',_('Advanced Add')); ?></a>
- <?php echo _('Advanced Add'); ?>
+ <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_add_advanced"><?php echo get_user_icon('add_key', T_('Advanced Add')); ?></a>
+ <?php echo T_('Advanced Add'); ?>
</li>
</ul>
</div>
<?php show_box_bottom(); ?>
-<?php show_box_top(_('Access Control Entries'), 'box box_access_entries'); ?>
+<?php show_box_top(T_('Access Control Entries'), 'box box_access_entries'); ?>
<?php Ajax::start_container('browse_content'); ?>
<?php if (count($list)) { ?>
<table cellspacing="1" cellpadding="3" class="tabledata">
<tr class="table-data">
- <th><?php echo _('Name'); ?></th>
- <th><?php echo _('Start Address'); ?></th>
- <th><?php echo _('End Address'); ?></th>
- <th><?php echo _('Level'); ?></th>
- <th><?php echo _('User'); ?></th>
- <th><?php echo _('Type'); ?></th>
- <th><?php echo _('Action'); ?></th>
+ <th><?php echo T_('Name'); ?></th>
+ <th><?php echo T_('Start Address'); ?></th>
+ <th><?php echo T_('End Address'); ?></th>
+ <th><?php echo T_('Level'); ?></th>
+ <th><?php echo T_('User'); ?></th>
+ <th><?php echo T_('Type'); ?></th>
+ <th><?php echo T_('Action'); ?></th>
</tr>
<?php
/* Start foreach List Item */
@@ -81,8 +81,8 @@
<td><?php echo $access->f_user; ?></td>
<td><?php echo $access->f_type; ?></td>
<td>
- <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_edit_record&amp;access_id=<?php echo scrub_out($access->id); ?>"><?php echo get_user_icon('edit', _('Edit')); ?></a>
- <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_delete_record&amp;access_id=<?php echo scrub_out($access->id); ?>"><?php echo get_user_icon('delete', _('Delete')); ?></a>
+ <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_edit_record&amp;access_id=<?php echo scrub_out($access->id); ?>"><?php echo get_user_icon('edit', T_('Edit')); ?></a>
+ <a href="<?php echo Config::get('web_path'); ?>/admin/access.php?action=show_delete_record&amp;access_id=<?php echo scrub_out($access->id); ?>"><?php echo get_user_icon('delete', T_('Delete')); ?></a>
</td>
</tr>
<?php } // end foreach ?>