Migrate to new HTMLform2-class
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org>
This commit is contained in:
@@ -2,8 +2,8 @@ $header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/user_add_big.png" alt="{$title}" />
|
||||
{$title}
|
||||
<img src="templates/{$theme}/assets/img/icons/user_add_big.png" />
|
||||
{$lng['admin']['admin_add']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ $header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/user_edit_big.png" alt="{$title}" /> {$title}
|
||||
<img src="templates/{$theme}/assets/img/icons/user_edit_big.png" /> {$lng['admin']['admin_edit']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ $header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/clock_edit_big.png" alt="{$title}" />
|
||||
{$title}
|
||||
<img src="templates/{$theme}/assets/img/icons/clock_edit_big.png" />
|
||||
{$lng['admin']['cronjob_edit']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ $header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/user_add_big.png" alt="{$title}" />
|
||||
{$title}
|
||||
<img src="templates/{$theme}/assets/img/icons/user_add_big.png" alt="{$lng['admin']['customer_add']}" />
|
||||
{$lng['admin']['customer_add']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ $header
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/user_edit_big.png" alt="{$title}" />
|
||||
{$title}
|
||||
{$lng['admin']['customer_edit']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ $header
|
||||
<header>
|
||||
<h2>
|
||||
<img src="templates/{$theme}/assets/img/icons/domain_add_big.png" alt="{$title}" />
|
||||
{$title}
|
||||
{$lng['domains']['domain_import']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
|
||||
1
templates/Sparkle/htmlform/checkbox.tpl
vendored
Normal file
1
templates/Sparkle/htmlform/checkbox.tpl
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<input {$attributes} />{$sublabel}
|
||||
8
templates/Sparkle/htmlform/form_end.tpl
vendored
Normal file
8
templates/Sparkle/htmlform/form_end.tpl
vendored
Normal 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>
|
||||
9
templates/Sparkle/htmlform/group_heading.tpl
vendored
Normal file
9
templates/Sparkle/htmlform/group_heading.tpl
vendored
Normal 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
1
templates/Sparkle/htmlform/input.tpl
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<input {$attributes} />
|
||||
3
templates/Sparkle/htmlform/select.tpl
vendored
Normal file
3
templates/Sparkle/htmlform/select.tpl
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<select name="{$fieldname}" {$attributes}>
|
||||
{$values}
|
||||
</select>
|
||||
4
templates/Sparkle/htmlform/skeleton.tpl
vendored
Normal file
4
templates/Sparkle/htmlform/skeleton.tpl
vendored
Normal 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
1
templates/Sparkle/htmlform/static.tpl
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{$value}
|
||||
1
templates/Sparkle/htmlform/textarea.tpl
vendored
Normal file
1
templates/Sparkle/htmlform/textarea.tpl
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<textarea {$attributes}>{$value}</textarea>
|
||||
1
templates/Sparkle/htmlform/textul.tpl
vendored
Normal file
1
templates/Sparkle/htmlform/textul.tpl
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{$input} {$checkbox}
|
||||
Reference in New Issue
Block a user