source: trunk/htdocs/cacher/cacher.tpl.php @ 1072

Last change on this file since 1072 was 1072, checked in by moo, 2 years ago

htdocs/cacher: split template to sub files

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