Changeset 530 for trunk/admin

Show
Ignore:
Timestamp:
02/20/2008 03:48:48 AM (11 months ago)
Author:
moo
Message:

passed w3c validation

Location:
trunk/admin
Files:
3 modified

Legend:

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

    r371 r530  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    22<html xmlns="http://www.w3.org/1999/xhtml"> 
    33<head> 
  • trunk/admin/xcache.css

    r528 r530  
    11input, table { font-family: sans-serif; } 
    22input { font-size: 12px; } 
    3 table { border-collapse: collapse; font-size: 11px; } 
     3table { border-collapse: collapse; font-size: 11px; margin: 0; margin-bottom: 10px; } 
     4table caption, h2 { font-size: 16px; font-weight: bold; text-align: left; padding-top: 20px; margin-bottom: 2px; } 
    45table { white-space: pre; } 
    56table.cycles { border: 1px solid black; margin-top: 5px; margin-bottom: 5px; } 
     
    3233.bitsgraph div div { float: none; width: 100%; } 
    3334 
    34 .switcher, h1, h2 { text-align: center; display: block; } 
     35.switcher, h1 { text-align: center; display: block; } 
    3536.switcher * { color: blue; } 
    3637.switcher a.active { font-weight: bold; font-size: 130%; color: black; } 
  • 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 />