Changeset 123 for trunk/admin/xcache.tpl.php
- Timestamp:
- 2006-09-02T04:13:29+02:00 (7 years ago)
- File:
-
- 1 edited
-
trunk/admin/xcache.tpl.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/xcache.tpl.php
r118 r123 11 11 12 12 <link rel="stylesheet" type="text/css" href="xcache.css" /> 13 <title> XCache <?php echo $xcache_version; ?> Administration</title>13 <title><?php echo sprintf(_T("XCache %s Administration"), $xcache_version); ?></title> 14 14 </head> 15 15 16 16 <body> 17 <h1> XCache <?php echo $xcache_version; ?> Administration</h1>18 <a href="help.php" target="_blank" id="help"> Help»</a>17 <h1><?php echo sprintf(_T("XCache %s Administration"), $xcache_version); ?></h1> 18 <a href="help.php" target="_blank" id="help"><?php echo _T("Help") ?> »</a> 19 19 <span class="switcher"><?php echo switcher("type", $types); ?></span> 20 20 <?php … … 22 22 $b = new Cycle('class="col1"', 'class="col2"'); 23 23 ?> 24 Caches:24 <?php echo _T('Caches'); ?>: 25 25 <table cellspacing="0" cellpadding="4" class="cycles"> 26 26 <col /> … … 41 41 <tr <?php echo $a->next(); ?>> 42 42 <th>-</th> 43 <th> Slots</th>44 <th> Size</th>45 <th> Avail</th>46 <th> %</th>47 <th> Clear</th>48 <th> Compiling</th>49 <th> Hits</th>50 <th> Misses</th>51 <th> Clogs</th>52 <th> OOMs</th>53 <th> Protected</th>54 <th> Cached</th>55 <th> Deleted</th>56 <th> GC</th>43 <th><?php echo _T('Slots'); ?></th> 44 <th><?php echo _T('Size'); ?></th> 45 <th><?php echo _T('Avail'); ?></th> 46 <th><?php echo _T('%'); ?></th> 47 <th><?php echo _T('Clear'); ?></th> 48 <th><?php echo _T('Compiling'); ?></th> 49 <th><?php echo _T('Hits'); ?></th> 50 <th><?php echo _T('Misses'); ?></th> 51 <th><?php echo _T('Clogs'); ?></th> 52 <th><?php echo _T('OOMs'); ?></th> 53 <th><?php echo _T('Protected'); ?></th> 54 <th><?php echo _T('Cached'); ?></th> 55 <th><?php echo _T('Deleted'); ?></th> 56 <th><?php echo _T('GC'); ?></th> 57 57 </tr> 58 58 <?php 59 59 $numkeys = explode(',', 'hits,misses,clogs,ooms,cached,deleted'); 60 $l_clear = _T('Clear'); 61 $l_clear_confirm = _T('Sure to clear?'); 60 62 foreach ($cacheinfos as $i => $ci) { 61 63 echo " … … 81 83 <input type="hidden" name="type" value="{$ci['type']}"> 82 84 <input type="hidden" name="cacheid" value="{$ci['cacheid']}"> 83 <input type="submit" name="clearcache" value=" Clear" class="submit" onclick="return confirm('Sure to clear?');" />85 <input type="submit" name="clearcache" value="{$l_clear}" class="submit" onclick="return confirm('{$l_clear_confirm}');" /> 84 86 </div> 85 87 </form> … … 101 103 <?php } ?> 102 104 </table> 103 Free Blocks:105 <?php echo _T('Free Blocks'); ?>: 104 106 <?php 105 107 foreach ($cacheinfos as $i => $ci) { … … 108 110 <table cellspacing="0" cellpadding="4" class="cycles freeblocks"> 109 111 <tr> 110 <th><?php echo $ci['cache_name']; ?> size<br>offset</th>112 <th><?php echo $ci['cache_name']; ?> <?php echo _T("size"); ?><br><?php echo _T("offset"); ?></th> 111 113 <?php 112 114 foreach ($ci['free_blocks'] as $block) { … … 136 138 $a->reset(); 137 139 echo " 138 <caption> {$cachelist['type_name']} $listname</caption>";140 <caption>", _T("{$cachelist['type_name']} $listname"), "</caption>"; 139 141 ?> 140 142 … … 162 164 ?> 163 165 164 <th><a href="javascript:" onclick="resort(this); return false"> Cache</a></th>165 <th><a href="javascript:" onclick="resort(this); return false"> entry</a></th>166 <th><a href="javascript:" onclick="resort(this); return false"> Hits</a></th>167 <th><a href="javascript:" onclick="resort(this); return false"> Ref count</a></th>168 <th><a href="javascript:" onclick="resort(this); return false"> Size</a></th>166 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Cache'); ?></a></th> 167 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('entry'); ?></a></th> 168 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Hits'); ?></a></th> 169 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Refcount'); ?></a></th> 170 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Size'); ?></a></th> 169 171 <?php if ($isphp) { ?> 170 <th><a href="javascript:" onclick="resort(this); return false"> SrcSize</a></th>171 <th><a href="javascript:" onclick="resort(this); return false"> Modify</a></th>172 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('SrcSize'); ?></a></th> 173 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Modify'); ?></a></th> 172 174 <?php if ($haveinode) { ?> 173 <th><a href="javascript:" onclick="resort(this); return false"> device</a></th>174 <th><a href="javascript:" onclick="resort(this); return false"> inode</a></th>175 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('device'); ?></a></th> 176 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('inode'); ?></a></th> 175 177 <?php } ?> 176 178 <?php } ?> 177 <th><a href="javascript:" onclick="resort(this); return false"> Access</a></th>178 <th><a href="javascript:" onclick="resort(this); return false"> Create</a></th>179 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Access'); ?></a></th> 180 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Create'); ?></a></th> 179 181 <?php if ($listname == 'Deleted') { ?> 180 <th><a href="javascript:" onclick="resort(this); return false"> Delete</a></th>182 <th><a href="javascript:" onclick="resort(this); return false"><?php echo _T('Delete'); ?></a></th> 181 183 <?php } ?> 182 184 </tr> … … 245 247 <div class="footnote"> 246 248 <?php echo <<<EOS 247 Powered By: {$xcache_version}, {$xcache_modules}249 Powered By: XCache {$xcache_version}, {$xcache_modules} 248 250 EOS; 249 251 ?>
Note: See TracChangeset
for help on using the changeset viewer.

