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



<table width="100%" >
  <tr>
    {if $total}
    <td align="right" nowrap="nowrap">
      <b>{$lang.cachesize}: </b>{$total}mb
    </td>
    <td width="100%" nowrap="nowrap">
      <b>{$lang.cacheexpired}: </b>{$expired}mb ({math equation="round(a*100/b)" a=$expired b=$total}%)
    </td>
    <td align="right" nowrap="nowrap">
      <form action="setup.php" style="margin:0px; padding:0px;">
        <input type="hidden" name="cachecleanup" value="1" />
        <input type="submit" value="{$lang.cachecleanup}" class="editcaption" />
      </form>
    </td>
    <td align="right" nowrap="nowrap">
      <form action="setup.php" style="margin:0px; padding:0px;">
        <input type="hidden" name="cacheempty" value="1" />
        <input type="submit" value="{$lang.cacheempty}" class="editcaption" onclick="return(confirm('{$lang.really_del|escape:javascript|escape}?'))" />
      </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>
{if $total}
<br />
{/if}

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

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

</form>
Return current item: VideoDB