Fixed templates, refs #186

This commit is contained in:
Andreas Burchert (scarya)
2011-04-24 10:30:30 +02:00
parent 5a5653d594
commit 194e4cfd20
4 changed files with 114 additions and 50 deletions

View File

@@ -1,26 +1,32 @@
$header
<form method="post" action="$filename">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="id" value="$id" />
<table cellpadding="5" cellspacing="4" border="0" align="center" class="maintable_60">
<tr>
<td class="maintitle" colspan="2"><b><img src="images/title.gif" alt="" />&nbsp;{$lng['backup']}</b></td>
</tr>
<tr>
<td class="main_field_name">{$lng['extras']['backup_info']}
<if $settings['system']['backup_bigfile'] == 1 >{$lng['extras']['backup_info_big']}</if>
<if $settings['system']['backup_bigfile'] == 0 >{$lng['extras']['backup_info_sep']}</if>
<if $settings['system']['backup_count'] == 1 > {$lng['extras']['backup_count_info']} </if>:</td>
<td class="main_field_display" nowrap="nowrap">{$lng['extras']['backup_create']}&nbsp;$backup_enabled</td>
</tr>
<tr>
<td class="main_field_confirm" colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" class="bottom" value="{$lng['panel']['save']}" /></td>
</tr>
</table>
</form>
<br />
<br />
$footer
<article>
<header>
<h2>
<img src="images/Froxlor/{$image}" alt="{$title}" />&nbsp;
{$title}
</h2>
</header>
<section class="fullform bradiusodd">
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
<fieldset>
<legend>Froxlor&nbsp;-&nbsp;{$title}</legend>
<table class="formtable">
{$backup_form}
</table>
<p style="display: none;">
<input type="hidden" name="s" value="$s" />
<input type="hidden" name="page" value="$page" />
<input type="hidden" name="action" value="$action" />
<input type="hidden" name="send" value="send" />
</p>
</fieldset>
</form>
</section>
</article>
$footer