Ignore:
Timestamp:
2012-07-30T09:01:36+02:00 (2 years ago)
Author:
moo
Message:

htdocs: back to _T to avoid conflict with gettext

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/cacher/sub/summary.tpl.php

    r1084 r1086  
    11<?php $cycleClass = new Cycle('class="col1"', 'class="col2"'); ?> 
    22<table cellspacing="0" cellpadding="4" class="cycles caches"> 
    3     <caption><?php echo _('Caches'); ?></caption> 
     3    <caption><?php echo _T('Caches'); ?></caption> 
    44    <tr> 
    55    <?php echo 
     
    2828    <?php 
    2929    $numkeys = explode(',', 'slots,size,avail,hits,updates,skips,ooms,errors,cached,deleted'); 
    30     $l_clear = _('Clear'); 
    31     $l_disabled = _('Disabled'); 
    32     $l_disable = _('Disable'); 
    33     $l_enable = _('Enable'); 
    34     $l_compiling = _('Compiling'); 
    35     $l_normal = _('Normal'); 
    36     $l_confirm = _('Sure?'); 
     30    $l_clear = _T('Clear'); 
     31    $l_disabled = _T('Disabled'); 
     32    $l_disable = _T('Disable'); 
     33    $l_enable = _T('Enable'); 
     34    $l_compiling = _T('Compiling'); 
     35    $l_normal = _T('Normal'); 
     36    $l_confirm = _T('Sure?'); 
    3737    foreach (getCacheInfos() as $i => $ci) { 
    3838        $class = $cycleClass->next(); 
     
    130130</table> 
    131131<div class="blockarea legends"> 
    132     <div class="legendtitle"><?php echo _('Legends:'); ?></div> 
     132    <div class="legendtitle"><?php echo _T('Legends:'); ?></div> 
    133133    <div class="legend pvalue">&nbsp;&nbsp;</div> 
    134     <div class="legendtitle"><?php echo _($config['percent_graph_type'] == 'free' ? '% Free' : '% Used'); ?></div> 
     134    <div class="legendtitle"><?php echo _T($config['percent_graph_type'] == 'free' ? '% Free' : '% Used'); ?></div> 
    135135    <div class="legend" style="background: rgb(0,0,255)">&nbsp;&nbsp;</div> 
    136     <div class="legendtitle"><?php echo _($config['percent_graph_type'] == 'free' ? 'Free Blocks' : 'Used Blocks'); ?></div> 
     136    <div class="legendtitle"><?php echo _T($config['percent_graph_type'] == 'free' ? 'Free Blocks' : 'Used Blocks'); ?></div> 
    137137    <div class="legend" style="background: rgb(255,0,0)">&nbsp;&nbsp;</div> 
    138     <div class="legendtitle"><?php echo _('Hits'); ?></div> 
     138    <div class="legendtitle"><?php echo _T('Hits'); ?></div> 
    139139</div> 
    140140<?php unset($cycleClass); ?> 
Note: See TracChangeset for help on using the changeset viewer.