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

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

<table width="100%" class="tablefilter" cellspacing="5">
<tr>
{if $total}
	<td align="right" width="100%" >
		<span class="filterlink">{$lang.cachesize}:&nbsp;{$total}mb&nbsp;&nbsp;&nbsp;
                           {$lang.cacheexpired}: &nbsp;{$expired}mb&nbsp;({math equation="round(a*100/b)" a=$expired b=$total}%)</span>
	</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"/>
<br/>
<div align="center">
  <input type="submit" value="{$lang.save}" class="button" accesskey="s" />
</div>

<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