Location: PHPKode > projects > VideoDB > videodb/templates/modern/setup.tpl
{*
  The configuration template
  $Id: setup.tpl,v 2.17 2007/12/03 20:05:33 andig2 Exp $
*}

<table width="100%" cellspacing="0" cellpadding="0">
<tr><td>

<table width="100%" class="tablefilter" cellspacing="5">
<tr>
{if $total}
    <td align="right">
        <nobr><span class="filterlink">{$lang.cachesize}: </span>{$total}mb</nobr>
    </td><td width="100%">
        <span class="filterlink">{$lang.cacheexpired}: </span>{$expired}mb ({math equation="round(a*100/b)" a=$expired b=$total}%)
    </td><td align="right">
        <form action="setup.php">
            <input type="hidden" name="cachecleanup" value="1"/>
            <input type="submit" value="{$lang.cachecleanup}" class="button"/>
        </form>
    </td><td align="right">
        <form action="setup.php">
            <input type="hidden" name="cacheempty" value="1"/>
            <input type="submit" value="{$lang.cacheempty}" onclick="return(confirm('{$lang.really_del|escape:javascript|escape}?'))" class="button"/>
        </form>
    </td>
{else}
    <td width="100%">&nbsp;</td>
{/if}
    <td align="right">
        <form action="users.php">
            <input type="submit" value="{$lang.help_usermanagern}" class="button"/>
        </form>
    </td>
</tr>
</table>

<form method="post" action="setup.php">
<input type="hidden" name="save" value="1"/>
<table width="90%" class="tableborder">
  {include file="options.tpl"}
</table>

<br/>
<div align="center">
  <input type="submit" value="{$lang.save}" class="button" accesskey="s" />
</div>

</form>

</td></tr>
</table>
<br/>
Return current item: VideoDB