summaryrefslogtreecommitdiffstats
path: root/templates/show_rules.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_rules.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_rules.inc.php')
-rw-r--r--templates/show_rules.inc.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/show_rules.inc.php b/templates/show_rules.inc.php
index e588f23a..ed076f0e 100644
--- a/templates/show_rules.inc.php
+++ b/templates/show_rules.inc.php
@@ -32,15 +32,15 @@ $logic_operator = strtolower($logic_operator);
<script type="text/javascript" src="<?php echo Config::get('web_path'); ?>/lib/javascript/search.js"></script>
<script type="text/javascript" src="<?php echo Config::get('web_path'); ?>/lib/javascript/search-data.php?type=<?php echo $_REQUEST['type'] ? scrub_out($_REQUEST['type']) : 'song'; ?>"></script>
-<?php show_box_top(_('Rules') . "...", 'box box_rules'); ?>
+<?php show_box_top(T_('Rules') . "...", 'box box_rules'); ?>
<table class="tabledata" cellpadding="3" cellspacing="0">
<tbody id="searchtable">
<tr id="rules_operator">
- <td><?php echo _('Match'); ?></td>
+ <td><?php echo T_('Match'); ?></td>
<td>
<select name="operator">
- <option value="and" <?php if($logic_operator == 'and') echo 'selected="selected"'?>><?php echo _('all rules'); ?></option>
- <option value="or" <?php if($logic_operator == 'or') echo 'selected="selected"'?>><?php echo _('any rule'); ?></option>
+ <option value="and" <?php if($logic_operator == 'and') echo 'selected="selected"'?>><?php echo T_('all rules'); ?></option>
+ <option value="or" <?php if($logic_operator == 'or') echo 'selected="selected"'?>><?php echo T_('any rule'); ?></option>
</select>
</td>
</tr>
@@ -48,7 +48,7 @@ $logic_operator = strtolower($logic_operator);
<td>
<a id="addrowbutton" href="javascript:void(0)">
<?php echo get_user_icon('add'); ?>
- <?php echo _('Add Another Rule'); ?>
+ <?php echo T_('Add Another Rule'); ?>
</a>
<script type="text/javascript">Event.observe('addrowbutton', 'click', SearchRow.add);</script>
</td>