Corrige un peu le HTML du formulaire FTP
This commit is contained in:
parent
cfd495d1f2
commit
b570a4a049
|
@ -62,29 +62,41 @@ if (isset($error) && $error) {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<form method="post" action="ftp_doedit.php" name="main" id="main">
|
<form method="post" action="ftp_doedit.php" name="main" id="main">
|
||||||
<table border="1" cellspacing="0" cellpadding="4" class="tedit">
|
<input type="hidden" name="id" value="<?php echo $id ?>" />
|
||||||
<tr><th><input type="hidden" name="id" value="<?php echo $id ?>" />
|
<input type="hidden" name="create" value="<?php echo $create ?>" />
|
||||||
<tr><th><input type="hidden" name="create" value="<?php echo $create ?>" />
|
<table border="1" cellspacing="0" cellpadding="4" class="tedit">
|
||||||
<label for="login"><?php __("Username"); ?></label></th><td>
|
<tr>
|
||||||
<select class="inl" name="prefixe"><?php @$ftp->select_prefix_list($r["prefixe"]); ?></select> <b>_</b> <input type="text" class="int" name="login" id="login" value="<?php @ehe($r[0]["login"]); ?>" size="20" maxlength="64" />
|
<th><label for="login"><?php __("Username"); ?></label></th>
|
||||||
</td></tr>
|
<td><select class="inl" name="prefixe"><?php @$ftp->select_prefix_list($r["prefixe"]); ?></select> <b>_</b> <input type="text" class="int" name="login" id="login" value="<?php @ehe($r[0]["login"]); ?>" size="20" maxlength="64" /></td>
|
||||||
<tr><th><label for="dir"><?php __("Folder"); ?></label></th><td><input type="text" class="int" name="dir" id="dir" value="<?php empty($dir)?@ehe("/".$r[0]["dir"]):@ehe($dir); ?>" size="20" maxlength="64" />
|
</tr>
|
||||||
|
<tr>
|
||||||
<script type="text/javascript">
|
<th><label for="dir"><?php __("Folder"); ?></label></th>
|
||||||
<!--
|
<td>
|
||||||
document.write(" <input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.dir');\" value=\" <?php __("Choose a folder..."); ?> \" class=\"bff\">");
|
<input type="text" class="int" name="dir" id="dir" value="<?php empty($dir)?@ehe("/".$r[0]["dir"]):@ehe($dir); ?>" size="20" maxlength="64" />
|
||||||
// -->
|
<script type="text/javascript">
|
||||||
</script>
|
<!--
|
||||||
</td></tr>
|
document.write(" <input type=\"button\" name=\"bff\" onclick=\"browseforfolder('main.dir');\" value=\" <?php __("Choose a folder..."); ?> \" class=\"bff\">");
|
||||||
<tr><th><label for="pass"><?php __("Password"); ?></label></th><td><input type="password" class="int" name="pass" id="pass" size="20" maxlength="64" value=""/><?php display_div_generate_password(); ?></td></tr>
|
// -->
|
||||||
<tr><th><label for="passconf"><?php __("Confirm password"); ?></label></th><td><input type="password" class="int" name="passconf" id="passconf" size="20" maxlength="64" value=""/></td></tr>
|
</script>
|
||||||
|
</td>
|
||||||
<tr class="trbtn"><td colspan="2">
|
</tr>
|
||||||
<input type="submit" class="inb" name="submit" value="<?php __("Save"); ?>" />
|
<tr>
|
||||||
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='ftp_list.php'"/>
|
<th><label for="pass"><?php __("Password"); ?></label></th>
|
||||||
</td></tr>
|
<td><input type="password" class="int" name="pass" id="pass" size="20" maxlength="64" value=""/><?php display_div_generate_password(); ?></td>
|
||||||
</table>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th><label for="passconf"><?php __("Confirm password"); ?></label></th>
|
||||||
|
<td><input type="password" class="int" name="passconf" id="passconf" size="20" maxlength="64" value=""/></td>
|
||||||
|
</tr>
|
||||||
|
<tr class="trbtn">
|
||||||
|
<td colspan="2">
|
||||||
|
<input type="submit" class="inb" name="submit" value="<?php __("Save"); ?>" />
|
||||||
|
<input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='ftp_list.php'"/>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.forms['main'].login.focus();
|
document.forms['main'].login.focus();
|
||||||
document.forms['main'].setAttribute('autocomplete', 'off');
|
document.forms['main'].setAttribute('autocomplete', 'off');
|
||||||
|
|
Loading…
Reference in New Issue