<td class="ubox" width="40%">Options</td> </tr> <?php foreach ($result as $name => $row) { ?> <tr> <td class="mbox" width="40%"><?php echo $name; ?> </td> <td class="mbox" width="10%" nowrap="nowrap" align="right"><?php echo formatFilesize($row['size']); ?> </td> <td class="mbox" width="10%" nowrap="nowrap">ca. <?php echo fileAge($row['age']); ?> </td> <td class="mbox" width="40%" align="right">[<a href="admin.php?action=misc&job=cache_view&file=<?php echo $name; ?> ">View Contents</a>] [<a href="admin.php?action=misc&job=cache_refresh&file=<?php echo $name; ?> ">Refresh Cache</a>]</td> </tr> <?php } ?> </table> <?php
</span> <b><?php echo $lang->phrase('admin_misc_cache_manager'); ?></b></td> </tr> <tr> <td class="ubox" width="35%"><?php echo $lang->phrase('admin_misc_cache_name'); ?></td> <td class="ubox" width="10%"><?php echo $lang->phrase('admin_misc_file_size'); ?></td> <td class="ubox" width="15%"><?php echo $lang->phrase('admin_misc_approx_age'); ?></td> <td class="ubox" width="40%"><?php echo $lang->phrase('admin_misc_options'); ?></td> </tr> <tr> <td class="mbox"><b><?php echo $lang->phrase('admin_misc_plugin'); ?></b> (<?php echo $files.' '.$lang->phrase('admin_misc_files'); ?>)</td> <td class="mbox" nowrap="nowrap" align="right"><?php echo iif ($pluginsize > 0, formatFilesize($pluginsize), '-'); ?></td> <td class="mbox" nowrap="nowrap">-</td> <td class="mbox"><a class="button" href="admin.php?action=misc&job=cache_delete_plugins"><?php echo $lang->phrase('admin_misc_delete_cache'); ?></a></td> </tr> <?php foreach ($result as $name => $row) { $age = fileAge($row['age']); ?> <tr> <td class="mbox"><?php echo $name; ?></td> <td class="mbox" nowrap="nowrap" align="right"><?php echo iif ($row['cached'], formatFilesize($row['size']), '-'); ?></td> <td class="mbox" nowrap="nowrap"><?php echo iif($row['cached'], $lang->phrase('admin_misc_approx_x'), '-'); ?></td> <td class="mbox"> <?php if ($row['cached']) { ?> <a class="button" href="admin.php?action=misc&job=cache_view&file=<?php echo $name; ?>"><?php echo $lang->phrase('admin_misc_view_contents'); ?></a> <a class="button" href="admin.php?action=misc&job=cache_delete&file=<?php echo $name; ?>"><?php echo $lang->phrase('admin_misc_delete_cache'); ?></a> <?php } if ($row['rebuild']) { ?> <a class="button" href="admin.php?action=misc&job=cache_refresh&file=<?php echo $name; ?>"><?php echo $lang->phrase('admin_misc_rebuild_cache'); ?></a> <?php } ?> </td> </tr> <?php } ?> </table>
echo $files . ' ' . $lang->phrase('admin_misc_files'); ?> )</td> <td class="mbox" nowrap="nowrap" align="right"><?php echo iif($pluginsize > 0, formatFilesize($pluginsize), '-'); ?> </td> <td class="mbox" nowrap="nowrap">-</td> <td class="mbox"><a class="button" href="admin.php?action=misc&job=cache_delete_plugins"><?php echo $lang->phrase('admin_misc_delete_cache'); ?> </a></td> </tr> <?php foreach ($result as $name => $row) { $age = fileAge($row['age']); ?> <tr> <td class="mbox"><?php echo $name; ?> </td> <td class="mbox" nowrap="nowrap" align="right"><?php echo iif($row['cached'], formatFilesize($row['size']), '-'); ?> </td> <td class="mbox" nowrap="nowrap"><?php echo iif($row['cached'], $lang->phrase('admin_misc_approx_x'), '-'); ?> </td> <td class="mbox">
<td class="mbox"><a class="button" href="admin.php?action=misc&job=cache_delete_plugins">Delete Cache</a></td> </tr> <?php foreach ($result as $name => $row) { ?> <tr> <td class="mbox"><?php echo $name; ?> </td> <td class="mbox" nowrap="nowrap" align="right"><?php echo iif($row['cached'], formatFilesize($row['size']), '-'); ?> </td> <td class="mbox" nowrap="nowrap"><?php echo iif($row['cached'], 'approx. ' . fileAge($row['age']), '-'); ?> </td> <td class="mbox"> <?php if ($row['cached']) { ?> <a class="button" href="admin.php?action=misc&job=cache_view&file=<?php echo $name; ?> ">View Contents</a> <a class="button" href="admin.php?action=misc&job=cache_delete&file=<?php echo $name; ?> ">Delete Cache</a> <?php