Ignore:
Timestamp:
2006-09-20T02:19:42+02:00 (8 years ago)
Author:
moo
Message:

admin: title="detail number"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/xcache.tpl.php

    r147 r188  
    5757    </tr> 
    5858    <?php 
    59     $numkeys = explode(',', 'hits,misses,clogs,ooms,cached,deleted'); 
     59    $numkeys = explode(',', 'slots,size,avail,hits,misses,clogs,ooms,cached,deleted'); 
    6060    $l_clear = _T('Clear'); 
    6161    $l_clear_confirm = _T('Sure to clear?'); 
     
    6666        $pused = 100 - $pavail; 
    6767 
     68        $ci_slots = size($ci['slots']); 
     69        $ci_size  = size($ci['size']); 
     70        $ci_avail = size($ci['avail']); 
    6871        $ci = number_formats($ci, $numkeys); 
    69         $ci['slots'] = size($ci['slots']); 
    70         $ci['size']  = size($ci['size']); 
    71         $ci['avail'] = size($ci['avail']); 
    7272        $ci['compiling']    = $ci['type'] == $type_php ? ($ci['compiling'] ? 'yes' : 'no') : '-'; 
    7373        $ci['can_readonly'] = $ci['can_readonly'] ? 'yes' : 'no'; 
    7474        echo <<<EOS 
    7575        <th>{$ci['cache_name']}</th> 
    76         <td>{$ci['slots']}</td> 
    77         <td>{$ci['size']}</td> 
    78         <td>{$ci['avail']}</td> 
     76        <td title="{$ci['slots']}">{$ci_slots}</td> 
     77        <td title="{$ci['size']}">{$ci_size}</td> 
     78        <td title="{$ci['avail']}">{$ci_avail}</td> 
    7979        <td title="{$pavail} %"><div class="percent"><div style="height: {$pused}%" class="pused">&nbsp;</div><div style="height: {$pavail}%" class="pavail">&nbsp;</div></div></td> 
    8080        <td> 
Note: See TracChangeset for help on using the changeset viewer.