Changeset 2022
- Timestamp:
- 10/26/07 06:44:53 (1 year ago)
- Files:
-
- alternc/trunk/bureau/admin/ftp_edit.php (modified) (1 diff)
- alternc/trunk/bureau/class/m_ftp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
alternc/trunk/bureau/admin/ftp_edit.php
r1004 r2022 56 56 <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 echo $r["login"]; ?>" size="20" maxlength="64" /> 57 57 </td></tr> 58 <tr><th><label for="pass"><?php __("Password"); ?></label></th><td><input type="password" class="int" name="pass" id="pass" size="20" maxlength="64" value=" ********"/></td></tr>59 <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>58 <tr><th><label for="pass"><?php __("Password"); ?></label></th><td><input type="password" class="int" name="pass" id="pass" size="20" maxlength="64" value=""/></td></tr> 59 <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> 60 60 <tr><th><label for="rep"><?php __("Folder"); ?></label></th><td><input type="text" class="int" name="rep" id="rep" value="<?php echo $r["dir"]; ?>" size="20" maxlength="64" /> 61 61 alternc/trunk/bureau/class/m_ftp.php
r1004 r2022 187 187 return false; 188 188 } 189 if (trim($pass) !="********") {189 if (trim($pass)) { 190 190 $db->query("UPDATE ftpusers SET name='".$prefixe.$login."', password='', encrypted_password=ENCRYPT('$pass'), homedir='/var/alternc/html/$l/$lo/$dir', uid='$cuid' WHERE id='$id';"); 191 191 } else {
