Ignore:
Timestamp:
2012-06-26T19:26:48+02:00 (3 years ago)
Author:
moo
Message:

refcount is no longer available for var cache

File:
1 edited

Legend:

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

    r902 r931  
    164164            <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('entry'); ?></a></th>
    165165            <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Hits'); ?></a></th>
    166             <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Refcount'); ?></a></th>
    167166            <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Size'); ?></a></th>
    168167            <?php if ($isphp) { ?>
     168            <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Refcount'); ?></a></th>
    169169            <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('PhpShared'); ?></a></th>
    170170            <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('SrcSize'); ?></a></th>
     
    188188            $name     = htmlspecialchars($entry['name']);
    189189            $hits     = number_format($entry['hits']);
    190             $refcount = number_format($entry['refcount']);
    191190            $size     = size($entry['size']);
    192191            if ($isphp) {
     
    219218            <td>{$namelink}</td>
    220219            <td align="right" int="{$entry['hits']}">{$entry['hits']}</td>
    221             <td align="right" int="{$entry['refcount']}">{$entry['refcount']}</td>
    222220            <td align="right" int="{$entry['size']}">{$size}</td>
    223221ENTRY;
    224222            if ($isphp) {
     223                $refcount = number_format($entry['refcount']);
    225224                echo <<<ENTRY
     225                <td align="right" int="{$entry['refcount']}">{$entry['refcount']}</td>
    226226                <td align="right" int="{$entry['phprefcount']}">{$phprefcount}</td>
    227227                <td align="right" int="{$entry['file_size']}">{$file_size}</td>
Note: See TracChangeset for help on using the changeset viewer.