Changeset 530 in svn for trunk/admin/xcache.tpl.php


Ignore:
Timestamp:
2008-02-20T03:48:48Z (8 years ago)
Author:
Xuefer
Message:

passed w3c validation

File:
1 edited

Legend:

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

    r529 r530  
    11<?php include("header.tpl.php"); ?>
    2 <a href="help.php" target="_blank" id="help"><?php echo _T("Help") ?> &raquo;</a>
    3 <span class="switcher"><?php echo switcher("type", $types); ?></span>
     2<div id="help">
     3    <a href="help.php"><?php echo _T("Help") ?> &raquo;</a>
     4</div>
     5<div class="switcher"><?php echo switcher("type", $types); ?></div>
    46<?php
    57$a = new Cycle('class="col1"', 'class="col2"');
    68$b = new Cycle('class="col1"', 'class="col2"');
    79?>
    8 <?php echo _T('Caches'); ?>:
    910<table cellspacing="0" cellpadding="4" class="cycles">
     11    <caption><?php echo _T('Caches'); ?></caption>
    1012    <col />
    1113    <col align="right" />
     
    6466
    6567        $w = $graph_width;
    66         $tdwidth = $w + 2;
    6768        if (empty($ci['istotal'])) {
    6869            $graph = freeblock_to_graph($ci['free_blocks'], $ci['size']);
     
    9697        <td title="{$ci['size']}">{$ci_size}</td>
    9798        <td title="{$ci['avail']}">{$ci_avail}</td>
    98         <td title="{$pvalue} %" width="{$tdwidth}"
     99        <td title="{$pvalue} %"
    99100            ><div class="percent" style="width: {$w}px"
    100101                ><div style="width: {$pvalue}%" class="pvalue"></div
     
    103104        >{$blocksgraph}</td>
    104105        <td
    105             ><form method="post"
     106            ><form method="post" action=""
    106107                ><div
    107108                    ><input type="hidden" name="type" value="{$ci['type']}"
     
    149150    foreach (array('Cached' => $cachelist['cache_list'], 'Deleted' => $cachelist['deleted_list']) as $listname => $entries) {
    150151        $a->reset();
    151         echo "
    152         <caption>", _T("{$cachelist['type_name']} $listname"), "</caption>";
    153152        ?>
    154153
    155154    <form action="" method="post">
    156155    <table cellspacing="0" cellpadding="4" class="cycles entries" width="100%">
     156        <caption><?php echo _T("{$cachelist['type_name']} $listname"); ?></caption>
    157157        <col />
    158158        <col />
Note: See TracChangeset for help on using the changeset viewer.