Converted customer -> ftp to new formbuilder
Signed-off-by: Florian Aders (EleRas) <eleras@froxlor.org>
This commit is contained in:
@@ -1,44 +1,20 @@
|
||||
$header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="images/Froxlor/icons/add_user.png" alt="{$lng['ftp']['account_add']}" />
|
||||
{$lng['ftp']['account_add']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<section class="fullform bradiusodd">
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="images/Froxlor/{$image}" alt="{$title}" />
|
||||
{$title}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<section class="fullform bradiusodd">
|
||||
|
||||
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {$lng['ftp']['account_add']}</legend>
|
||||
<legend>Froxlor - {$title}</legend>
|
||||
|
||||
<table class="formtable">
|
||||
<if $settings['customer']['ftpatdomain'] == '1'>
|
||||
<tr>
|
||||
<td>{$lng['login']['username']}:</td>
|
||||
<td><input type="text" name="ftp_username" size="30" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lng['domains']['domainname']}:</td>
|
||||
<td><select name="ftp_domain">$domains</select></td>
|
||||
</tr>
|
||||
</if>
|
||||
<tr>
|
||||
<td>{$lng['panel']['path']}:<if $settings['panel']['pathedit'] != 'Dropdown'><br /><font size="1">{$lng['panel']['pathDescription']}</font></if></td>
|
||||
<td>{$pathSelect}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lng['login']['password']}:</td>
|
||||
<td><input type="password" name="ftp_password" size="30" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lng['customer']['sendinfomail']}:</td>
|
||||
<td>{$sendinfomail}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" value="{$lng['ftp']['account_add']}" /></td>
|
||||
</tr>
|
||||
{$ftp_add_form}
|
||||
</table>
|
||||
|
||||
<p style="display: none;">
|
||||
@@ -49,6 +25,7 @@ $header
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
</section>
|
||||
</article>
|
||||
$footer
|
||||
|
||||
@@ -1,44 +1,20 @@
|
||||
$header
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="images/Froxlor/icons/user_edit.png" alt="{$lng['ftp']['account_edit']}" />
|
||||
{$lng['ftp']['account_edit']}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<section class="fullform bradiusodd">
|
||||
<article>
|
||||
<header>
|
||||
<h2>
|
||||
<img src="images/Froxlor/{$image}" alt="{$title}" />
|
||||
{$title}
|
||||
</h2>
|
||||
</header>
|
||||
|
||||
<section class="fullform bradiusodd">
|
||||
|
||||
<form action="$filename" method="post" enctype="application/x-www-form-urlencoded">
|
||||
<fieldset>
|
||||
<legend>Froxlor - {$lng['ftp']['account_edit']}</legend>
|
||||
<legend>Froxlor - {$title}</legend>
|
||||
|
||||
<table class="formtable">
|
||||
<tr>
|
||||
<td>{$lng['login']['username']}:</td>
|
||||
<td>{$result['username']}</td>
|
||||
</tr>
|
||||
<if $settings['customer']['ftpatdomain'] == '1'>
|
||||
<tr>
|
||||
<td>{$lng['login']['username']}:</td>
|
||||
<td><input type="text" name="ftp_username" size="30" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lng['domains']['domainname']}:</td>
|
||||
<td><select name="ftp_domain">$domains</select></td>
|
||||
</tr>
|
||||
</if>
|
||||
<tr>
|
||||
<td>{$lng['panel']['path']}:<if $settings['panel']['pathedit'] != 'Dropdown'><br /><small>{$lng['panel']['pathDescription']}</small></if></td>
|
||||
<td>{$pathSelect}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lng['login']['password']}:<br /><small>{$lng['ftp']['editpassdescription']}</small></td>
|
||||
<td><input type="password" name="ftp_password" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="hidden" name="send" value="send" /><input type="submit" value="{$lng['panel']['save']}" /></td>
|
||||
</tr>
|
||||
{$ftp_edit_form}
|
||||
</table>
|
||||
|
||||
<p style="display: none;">
|
||||
@@ -49,6 +25,7 @@ $header
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
</section>
|
||||
</article>
|
||||
$footer
|
||||
|
||||
Reference in New Issue
Block a user