summaryrefslogtreecommitdiffstats
path: root/templates/show_preference_box.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_preference_box.inc.php')
-rw-r--r--templates/show_preference_box.inc.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/templates/show_preference_box.inc.php b/templates/show_preference_box.inc.php
index cd7b753c..6a8803a6 100644
--- a/templates/show_preference_box.inc.php
+++ b/templates/show_preference_box.inc.php
@@ -33,7 +33,7 @@ if ((Access::check('interface','100') OR !Config::get('use_auth')) AND $_REQUEST
$is_admin = true;
}
?>
-<h4><?php echo _($preferences['title']); ?></h4>
+<h4><?php echo T_($preferences['title']); ?></h4>
<table class="tabledata" cellpadding="0" cellspacing="0">
<colgroup>
<col id="col_preference" />
@@ -44,16 +44,16 @@ if ((Access::check('interface','100') OR !Config::get('use_auth')) AND $_REQUEST
<?php } ?>
</colgroup>
<tr class="th-top">
- <th class="cel_preference"><?php echo _('Preference'); ?></th>
- <th class="cel_value"><?php echo _('Value'); ?></th>
+ <th class="cel_preference"><?php echo T_('Preference'); ?></th>
+ <th class="cel_value"><?php echo T_('Value'); ?></th>
<?php if ($is_admin) { ?>
- <th class="cel_applytoall"><?php echo _('Apply to All'); ?></th>
- <th class="cel_level"><?php echo _('Access Level'); ?></th>
+ <th class="cel_applytoall"><?php echo T_('Apply to All'); ?></th>
+ <th class="cel_level"><?php echo T_('Access Level'); ?></th>
<?php } ?>
</tr>
<?php foreach ($preferences['prefs'] as $pref) { ?>
<tr class="<?php echo flip_class(); ?>">
- <td class="cel_preference"><?php echo _($pref['description']); ?></td>
+ <td class="cel_preference"><?php echo T_($pref['description']); ?></td>
<td class="cel_value">
<?php create_preference_input($pref['name'], $pref['value']); ?>
</td>
@@ -62,11 +62,11 @@ if ((Access::check('interface','100') OR !Config::get('use_auth')) AND $_REQUEST
<td class="cel_level">
<?php $name = 'on_' . $pref['level']; ${$name} = 'selected="selected"'; ?>
<select name="level_<?php echo $pref['name']; ?>">
- <option value="5" <?php echo $on_5; ?>><?php echo _('Guest'); ?></option>
- <option value="25" <?php echo $on_25; ?>><?php echo _('User'); ?></option>
- <option value="50" <?php echo $on_50; ?>><?php echo _('Content Manager'); ?></option>
- <option value="75" <?php echo $on_75; ?>><?php echo _('Catalog Manager'); ?></option>
- <option value="100" <?php echo $on_100; ?>><?php echo _('Admin'); ?></option>
+ <option value="5" <?php echo $on_5; ?>><?php echo T_('Guest'); ?></option>
+ <option value="25" <?php echo $on_25; ?>><?php echo T_('User'); ?></option>
+ <option value="50" <?php echo $on_50; ?>><?php echo T_('Content Manager'); ?></option>
+ <option value="75" <?php echo $on_75; ?>><?php echo T_('Catalog Manager'); ?></option>
+ <option value="100" <?php echo $on_100; ?>><?php echo T_('Admin'); ?></option>
</select>
<?php unset(${$name}); ?>
</td>
@@ -74,11 +74,11 @@ if ((Access::check('interface','100') OR !Config::get('use_auth')) AND $_REQUEST
</tr>
<?php } // End foreach ($preferences['prefs'] as $pref) ?>
<tr class="th-bottom">
- <th class="cel_preference"><?php echo _('Preference'); ?></th>
- <th class="cel_value"><?php echo _('Value'); ?></th>
+ <th class="cel_preference"><?php echo T_('Preference'); ?></th>
+ <th class="cel_value"><?php echo T_('Value'); ?></th>
<?php if ($is_admin) { ?>
- <th class="cel_applytoall"><?php echo _('Apply to All'); ?></th>
- <th class="cel_level"><?php echo _('Access Level'); ?></th>
+ <th class="cel_applytoall"><?php echo T_('Apply to All'); ?></th>
+ <th class="cel_level"><?php echo T_('Access Level'); ?></th>
<?php } ?>
</tr>
</table>