Last change
on this file since 1072 was
1072,
checked in by Xuefer, 6 years ago
|
htdocs/cacher: split template to sub files
|
-
Property svn:eol-style set to
native
|
File size:
994 bytes
|
Line | |
---|
1 | <?php include("../common/header.tpl.php"); ?> |
---|
2 | <div class="switcher"><?php echo switcher("type", $listTypes); ?></div> |
---|
3 | <div id="help"> |
---|
4 | <a href="help.php"><?php echo _("Help") ?> »</a> |
---|
5 | </div> |
---|
6 | <?php |
---|
7 | include "./cacher.summary.tpl.php"; |
---|
8 | if ($cachelist) { |
---|
9 | $isphp = $cachelist['type'] == $type_php; |
---|
10 | ob_start($config['path_nicer']); |
---|
11 | |
---|
12 | $listName = 'Cached'; |
---|
13 | $entries = $cachelist['cache_list']; |
---|
14 | include "./cacher.entrylist.tpl.php"; |
---|
15 | |
---|
16 | $listName = 'Deleted'; |
---|
17 | $entries = $cachelist['deleted_list']; |
---|
18 | include "./cacher.entrylist.tpl.php"; |
---|
19 | |
---|
20 | ob_end_flush(); |
---|
21 | unset($isphp); |
---|
22 | } |
---|
23 | |
---|
24 | if ($moduleinfo) { |
---|
25 | if (ini_get("xcache.test")) { |
---|
26 | ?> |
---|
27 | <form method="post" action=""> |
---|
28 | <div> |
---|
29 | <input type="submit" name="coredump" value="Test coredump" class="submit" onclick="return confirm('<?php echo _('Sure?'); ?>');" /> |
---|
30 | </div> |
---|
31 | </form> |
---|
32 | <?php |
---|
33 | } |
---|
34 | $t_moduleinfo = _("Module Info"); |
---|
35 | echo <<<HTML |
---|
36 | <h2>$t_moduleinfo</h2> |
---|
37 | <div class="phpinfo">$moduleinfo</div> |
---|
38 | HTML; |
---|
39 | } |
---|
40 | ?> |
---|
41 | <?php include("../common/footer.tpl.php"); ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.