Migrate to new HTMLform2-class

Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
Roman Schmerold (BNoiZe)
2015-02-02 17:43:53 +01:00
parent 48eaab89ba
commit 87fe3669a1
27 changed files with 1174 additions and 1283 deletions

View File

@@ -2,8 +2,8 @@ $header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/user_add_big.png" alt="{$title}" />&nbsp;
{$title}
<img src="templates/{$theme}/assets/img/icons/user_add_big.png" />&nbsp;
{$lng['admin']['admin_add']}
</h2>
</header>

View File

@@ -2,7 +2,7 @@ $header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/user_edit_big.png" alt="{$title}" />&nbsp;{$title}
<img src="templates/{$theme}/assets/img/icons/user_edit_big.png" />&nbsp;{$lng['admin']['admin_edit']}
</h2>
</header>

View File

@@ -2,8 +2,8 @@ $header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/clock_edit_big.png" alt="{$title}" />&nbsp;
{$title}
<img src="templates/{$theme}/assets/img/icons/clock_edit_big.png" />&nbsp;
{$lng['admin']['cronjob_edit']}
</h2>
</header>

View File

@@ -2,8 +2,8 @@ $header
<article>
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/user_add_big.png" alt="{$title}" />&nbsp;
{$title}
<img src="templates/{$theme}/assets/img/icons/user_add_big.png" alt="{$lng['admin']['customer_add']}" />&nbsp;
{$lng['admin']['customer_add']}
</h2>
</header>

View File

@@ -3,7 +3,7 @@ $header
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/user_edit_big.png" alt="{$title}" />&nbsp;
{$title}
{$lng['admin']['customer_edit']}
</h2>
</header>

View File

@@ -3,7 +3,7 @@ $header
<header>
<h2>
<img src="templates/{$theme}/assets/img/icons/domain_add_big.png" alt="{$title}" />&nbsp;
{$title}
{$lng['domains']['domain_import']}
</h2>
</header>

View File

@@ -0,0 +1 @@
<input {$attributes} />{$sublabel}

View File

@@ -0,0 +1,8 @@
<tfoot>
<tr>
<td colspan="2" class="right">
<input type="reset" value="{$lng['panel']['cancel']}" class="historyback" />
<input type="submit" value="{$lng['panel']['save']}" />
</td>
</tr>
</tfoot>

View File

@@ -0,0 +1,9 @@
<tr class="section">
<th>
{$grouptitle}
</th>
<th class="right">
<input type="reset" value="{$lng['panel']['cancel']}" class="historyback" />
<input type="submit" value="{$lng['panel']['save']}" />
</th>
</tr>

1
templates/Sparkle/htmlform/input.tpl vendored Normal file
View File

@@ -0,0 +1 @@
<input {$attributes} />

3
templates/Sparkle/htmlform/select.tpl vendored Normal file
View File

@@ -0,0 +1,3 @@
<select name="{$fieldname}" {$attributes}>
{$values}
</select>

View File

@@ -0,0 +1,4 @@
<tr>
<td><label for="{$fieldname}">{$label}</label><if $desc != ''><br /><small>{$desc}</small></if></td>
<td>{$field}</td>
</tr>

1
templates/Sparkle/htmlform/static.tpl vendored Normal file
View File

@@ -0,0 +1 @@
{$value}

View File

@@ -0,0 +1 @@
<textarea {$attributes}>{$value}</textarea>

1
templates/Sparkle/htmlform/textul.tpl vendored Normal file
View File

@@ -0,0 +1 @@
{$input}&nbsp;{$checkbox}