Changeset 1053 for trunk/htdocs/cacher/cacher.tpl.php
- Timestamp:
- 2012-07-27T09:17:42+02:00 (11 months ago)
- File:
-
- 1 moved
-
trunk/htdocs/cacher/cacher.tpl.php (moved) (moved from trunk/htdocs/cacher/xcache.tpl.php) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/cacher/cacher.tpl.php
r1052 r1053 1 <?php include("header.tpl.php"); ?> 1 <?php include("../common/header.tpl.php"); ?> 2 <div class="switcher"><?php echo switcher("type", $listTypes); ?></div> 2 3 <div id="help"> 3 4 <a href="help.php"><?php echo _("Help") ?> »</a> 4 5 </div> 5 <div class="switcher"><?php echo switcher("type", $types); ?></div>6 6 <?php 7 7 $a = new Cycle('class="col1"', 'class="col2"'); … … 215 215 $hits = number_format($entry['hits']); 216 216 $size = size($entry['size']); 217 $class_cnt = number_format($entry['class_cnt']);218 $function_cnt = number_format($entry['function_cnt']);219 if ($isphp) {220 $phprefcount = number_format($entry['phprefcount']);221 $file_size = size($entry['file_size']);217 if ($isphp) { 218 $class_cnt = number_format($entry['class_cnt']); 219 $function_cnt = number_format($entry['function_cnt']); 220 $phprefcount = number_format($entry['phprefcount']); 221 $file_size = size($entry['file_size']); 222 222 } 223 223 … … 231 231 } 232 232 233 if (!$isphp) { 233 if ($isphp) { 234 $namelink = $name; 234 235 echo <<<ENTRY 235 <td><input type="checkbox" name="remove[]" value="{$name}"/></td> 236 <td>{$entry['cache_name']} {$i}</td> 237 ENTRY; 238 } 239 else { 240 echo <<<ENTRY 241 <td><label><input type="checkbox" name="remove[]" value="{$name}"/>{$entry['cache_name']} {$i}</label></td> 236 242 ENTRY; 237 243 $uname = urlencode($entry['name']); 238 244 $namelink = "<a href=\"edit.php?name=$uname\">$name</a>"; 239 245 } 240 else {241 $namelink = $name;242 }243 246 244 247 echo <<<ENTRY 245 <td>{$entry['cache_name']} {$i}</td>246 248 <td>{$namelink}</td> 247 249 <td align="right" int="{$entry['hits']}">{$entry['hits']}</td> … … 299 301 } 300 302 ?> 301 <?php include(" footer.tpl.php"); ?>303 <?php include("../common/footer.tpl.php"); ?>
Note: See TracChangeset
for help on using the changeset viewer.

