Ignore:
Timestamp:
2012-07-27T19:00:08+02:00 (2 years ago)
Author:
moo
Message:

htdocs/cacher: adds coredump test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/cacher/cacher.tpl.php

    r1064 r1066  
    6060    $l_compiling = _('Compiling'); 
    6161    $l_normal = _('Normal'); 
    62     $l_clear_confirm = _('Sure to clear?'); 
     62    $l_confirm = _('Sure?'); 
    6363    foreach ($cacheinfos as $i => $ci) { 
    6464        echo " 
     
    129129                    ><input type="hidden" name="type" value="{$ci['type']}" 
    130130                    /><input type="hidden" name="cacheid" value="{$ci['cacheid']}" 
    131                     /><input type="submit" name="clearcache" value="{$l_clear}" class="submit" onclick="return confirm('{$l_clear_confirm}');" 
     131                    /><input type="submit" name="clearcache" value="{$l_clear}" class="submit" onclick="return confirm('{$l_confirm}');" 
    132132                    /><input type="submit" name="{$enabledisable}" value="{$l_enabledisable}" class="submit" 
    133133                /></div 
     
    312312    ob_end_flush(); 
    313313} 
     314if (ini_get("xcache.test")) { 
     315?> 
     316<form method="post" action="" 
     317    ><div 
     318        /><input type="submit" name="coredump" value="Test coredump" class="submit" onclick="return confirm('<?php echo $l_confirm ?>');" 
     319    /></div 
     320></form> 
     321<?php 
     322} 
    314323if ($moduleinfo) { 
    315324    $t_moduleinfo = _("Module Info"); 
Note: See TracChangeset for help on using the changeset viewer.