Changeset 84 for branches/1.0
- Timestamp:
- 06/18/2006 01:29:08 AM (2 years ago)
- Location:
- branches/1.0/admin
- Files:
-
- 2 modified
-
xcache.php (modified) (1 diff)
-
xcache.tpl.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/admin/xcache.php
r60 r84 163 163 if ($type == XC_TYPE_PHP) { 164 164 $inodes = array(); 165 $haveinode = false; 165 166 foreach ($cachelist['cache_list'] as $e) { 167 if (!isset($e['inode'])) { 168 break; 169 } 170 $haveinode = true; 166 171 $i = &$inodes[$e['inode']]; 167 172 if (isset($i) && $i == 1) { 168 set_error("duplicate inode $e[inode]");173 trigger_error("duplicate inode $e[inode]"); 169 174 } 170 175 $i ++; -
branches/1.0/admin/xcache.tpl.php
r60 r84 164 164 <th><a href="javascript:" onclick="resort(this); return false">SrcSize</a></th> 165 165 <th><a href="javascript:" onclick="resort(this); return false">Modify</a></th> 166 <?php if ($haveinode) { ?> 166 167 <th><a href="javascript:" onclick="resort(this); return false">device</a></th> 167 168 <th><a href="javascript:" onclick="resort(this); return false">inode</a></th> 169 <?php } ?> 168 170 <?php } ?> 169 171 <th><a href="javascript:" onclick="resort(this); return false">Access</a></th> … … 203 205 <td int="{$entry['sourcesize']}">{$sourcesize}</td> 204 206 <td int="{$entry['mtime']}">{$mtime}</td> 205 <td int="{$entry['device']}">{$entry['device']}</td> 206 <td int="{$entry['inode']}">{$entry['inode']}</td> 207 ENTRY; 207 ENTRY; 208 if (isset($entry['inode'])) { 209 echo <<<ENTRY 210 <td int="{$entry['device']}">{$entry['device']}</td> 211 <td int="{$entry['inode']}">{$entry['inode']}</td> 212 ENTRY; 213 } 208 214 } 209 215 echo <<<ENTRY

