fixed links in useredit.php to help

This commit is contained in:
katagia 2003-09-21 20:15:36 +00:00
parent e99f635bfe
commit ea46b5705d
1 changed files with 45 additions and 45 deletions

View File

@ -655,25 +655,25 @@ switch ($select_local) { // Select which part of page will be loaded
echo "</td>\n<td>".
'<input name="f_general_username" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_username . '">'.
'</td><td>'.
'<a href="help.php?HelpNumber=400" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=400" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('UID number');
echo '</td>'."\n".'<td>'.
'<input name="f_general_uidNumber" type="text" size="6" maxlength="6" value="' . $_SESSION['account']->general_uidNumber . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=401" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=401" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Surname').'*';
echo '</td>'."\n".'<td>'.
'<input name="f_general_surname" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_surname . '">'.
'</td><td>'.
'<a href="help.php?HelpNumber=424" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=424" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Given name').'*';
echo '</td>'."\n".'<td>'.
'<input name="f_general_givenname" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_givenname . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=425" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=425" target="lamhelp">'._('Help').'</a>'.
'</td>'."\n".'</tr>'."\n".'<tr><td>';
echo _('Primary group').'*';
echo '</td>'."\n".'<td><select name="f_general_group">';
@ -683,7 +683,7 @@ switch ($select_local) { // Select which part of page will be loaded
else echo '<option>' . $group. '</option>';
}
echo '</select></td><td>'.
'<a href="help.php?HelpNumber=406" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=406" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Additional groups');
echo '</td>'."\n".'<td><select name="f_general_groupadd[]" size="3" multiple>';
@ -696,17 +696,17 @@ switch ($select_local) { // Select which part of page will be loaded
else echo '<option>'.$group. '</option>';
}
echo '</select></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=402" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=402" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Home directory').'*';
echo '</td>'."\n".'<td><input name="f_general_homedir" type="text" size="30" value="' . $_SESSION['account']->general_homedir . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=403" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=403" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Gecos');
echo '</td>'."\n".'<td><input name="f_general_gecos" type="text" size="30" value="' . $_SESSION['account']->general_gecos . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=404" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=404" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Login shell').'*';
echo '</td>'."\n".'<td><select name="f_general_shell" >';
@ -715,7 +715,7 @@ switch ($select_local) { // Select which part of page will be loaded
if ($_SESSION['account']->general_shell==trim($shell)) echo '<option selected>'.$shell. '</option>';
else echo '<option>'.$shell. '</option>';
echo '</select></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=405" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=405" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Suffix'); echo '</td><td><select name="f_general_suffix">';
foreach ($_SESSION['ldap']->search_units($_SESSION['config']->get_UserSuffix()) as $suffix) {
@ -726,7 +726,7 @@ switch ($select_local) { // Select which part of page will be loaded
}
else echo '<option>' . $suffix. '</option>';
}
echo '</select></td><td><a href="help.php?HelpNumber=461" target="lamhelp">'._('Help').
echo '</select></td><td><a href="../help.php?HelpNumber=461" target="lamhelp">'._('Help').
"</a></td>\n</tr>\n</table>";
echo _('Values with * are required');
echo "</fieldset>\n</td></tr><tr><td>";
@ -788,27 +788,27 @@ switch ($select_local) { // Select which part of page will be loaded
echo '</td>'."\n".'<td><input name="f_unix_password_no" type="checkbox"';
if ($_SESSION['account']->unix_password_no) echo ' checked ';
echo '></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=426" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=426" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Password warn');
echo '</td>'."\n".'<td><input name="f_unix_pwdwarn" type="text" size="4" maxlength="4" value="' . $_SESSION['account']->unix_pwdwarn . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=414" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=414" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Password expire');
echo '</td>'."\n".'<td><input name="f_unix_pwdallowlogin" type="text" size="4" maxlength="4" value="' . $_SESSION['account']->unix_pwdallowlogin . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=415" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=415" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Maximum password age');
echo '</td>'."\n".'<td><input name="f_unix_pwdmaxage" type="text" size="5" maxlength="5" value="' . $_SESSION['account']->unix_pwdmaxage . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=416" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=416" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Minimum password age');
echo '</td>'."\n".'<td><input name="f_unix_pwdminage" type="text" size="4" maxlength="4" value="' . $_SESSION['account']->unix_pwdminage . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=417" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=417" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Expire date');
echo '</td>'."\n".'<td><select name="f_unix_pwdexpire_day">';
@ -827,18 +827,18 @@ switch ($select_local) { // Select which part of page will be loaded
else echo "<option> $i". '</option>';
}
echo '</select></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=418" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=418" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Account deactivated');
echo '</td>'."\n".'<td><input name="f_unix_deactivated" type="checkbox"';
if ($_SESSION['account']->unix_deactivated) echo ' checked ';
echo '></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=427" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=427" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Unix workstations');
echo '</td>'."\n".'<td><input name="f_unix_host" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->unix_host . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=466" target="lamhelp">'._('Help').
'<a href="../help.php?HelpNumber=466" target="lamhelp">'._('Help').
"</a></td>\n</tr>\n</table>";
echo _('Values with * are required');
echo "</fieldset>\n</td></tr></table></td></tr>\n</table>\n";
@ -900,19 +900,19 @@ switch ($select_local) { // Select which part of page will be loaded
echo '</td><td><input name="f_smb_useunixpwd" type="checkbox"';
if ($_SESSION['account']->smb_useunixpwd) echo ' checked ';
echo '></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=428" target="lamhelp">'._('Help').'</a>';
'<a href="../help.php?HelpNumber=428" target="lamhelp">'._('Help').'</a>';
echo '</td></tr>'."\n".'<tr><td>';
echo _('Use no password');
echo '</td>'."\n".'<td><input name="f_smb_password_no" type="checkbox"';
if ($_SESSION['account']->smb_password_no) echo ' checked ';
echo '></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=426" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=426" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Password does not expire');
echo '</td>'."\n".'<td><input name="f_smb_flagsX" type="checkbox"';
if ($_SESSION['account']->smb_flagsX) echo ' checked ';
echo '></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=429" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=429" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('User can change password');
echo '</td>'."\n".'<td><select name="f_smb_pwdcanchange_day">';
@ -931,7 +931,7 @@ switch ($select_local) { // Select which part of page will be loaded
else echo "<option> $i". '</option>';
}
echo '</select></td>'."\n".'<td>';
echo '<a href="help.php?HelpNumber=430" target="lamhelp">'._('Help').'</a>'.
echo '<a href="../help.php?HelpNumber=430" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('User must change password');
echo '</td>'."\n".'<td><select name="f_smb_pwdmustchange_day">';
@ -950,40 +950,40 @@ switch ($select_local) { // Select which part of page will be loaded
else echo "<option> $i". '</option>';
}
echo '</select></td>'."\n".'<td>';
echo '<a href="help.php?HelpNumber=431" target="lamhelp">'._('Help').'</a>'.
echo '<a href="../help.php?HelpNumber=431" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Account is deactivated');
echo '</td>'."\n".'<td><input name="f_smb_flagsD" type="checkbox"';
if ($_SESSION['account']->smb_flagsD) echo ' checked ';
echo '></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=432" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=432" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Home drive');
echo '</td>'."\n".'<td><select name="f_smb_homedrive" >';
for ($i=68; $i<91; $i++)
if ($_SESSION['account']->smb_homedrive== chr($i).':') echo '<option selected> '.chr($i).':</option>'; else echo '<option> '.chr($i).':</option>';
echo '</select></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=433" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=433" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Home path');
echo '</td>'."\n".'<td><input name="f_smb_smbhome" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_smbhome . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=437" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=437" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Profile path');
echo '</td>'."\n".'<td><input name="f_smb_profilePath" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_profilePath . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=435" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=435" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Script path');
echo '</td>'."\n".'<td><input name="f_smb_scriptpath" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_scriptPath . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=434" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=434" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Samba workstations');
echo '</td>'."\n".'<td><input name="next_workstations" type="submit" value="'. _('Edit workstations') . '">'.
'</td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=436" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=436" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Windows groupname');
echo '</td>'."\n".'<td><select name="f_smb_mapgroup" >';
@ -1065,7 +1065,7 @@ switch ($select_local) { // Select which part of page will be loaded
}
}
echo '</select></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=464" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=464" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Domain');
if ($_SESSION['config']->is_samba3()) {
@ -1083,7 +1083,7 @@ switch ($select_local) { // Select which part of page will be loaded
else {
echo '</td>'."\n".'<td><input name="f_smb_domain" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_domain . '">';
}
echo '</td>'."\n".'<td><a href="help.php?HelpNumber=438" target="lamhelp">'._('Help').'</a></td></tr>'."\n";
echo '</td>'."\n".'<td><a href="../help.php?HelpNumber=438" target="lamhelp">'._('Help').'</a></td></tr>'."\n";
echo "</table>\n</fieldset>\n</td></tr></table></td></tr>\n</table>\n";
break;
case 'quota':
@ -1126,11 +1126,11 @@ switch ($select_local) { // Select which part of page will be loaded
echo _('Soft block limit'); echo '</td>'."\n".'<td>'; echo _('Hard block limit'); echo '</td>'."\n".'<td>'; echo _('Grace block period');
echo '</td>'."\n".'<td>'; echo _('Used inodes'); echo '</td>'."\n".'<td>'; echo _('Soft inode limit'); echo '</td>'."\n".'<td>';
echo _('Hard inode limit'); echo '</td>'."\n".'<td>'; echo _('Grace inode period'); echo '</td></tr>'."\n";
echo '<tr><td><a href="help.php?HelpNumber=439" target="lamhelp">'._('Help').'</a></td>'."\n".'<td><a href="help.php?HelpNumber=440" target="lamhelp">'._('Help').'</a></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=441" target="lamhelp">'._('Help').'</a></td>'."\n".'<td><a href="help.php?HelpNumber=442" target="lamhelp">'._('Help').'</a></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=443" target="lamhelp">'._('Help').'</a></td>'."\n".'<td><a href="help.php?HelpNumber=444" target="lamhelp">'._('Help').'</a></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=445" target="lamhelp">'._('Help').'</a></td>'."\n".'<td><a href="help.php?HelpNumber=446" target="lamhelp">'._('Help').'</a></td>'."\n".'<td>'.
'<a href="help.php?HelpNumber=447" target="lamhelp">'._('Help').'</a></td></tr>'."\n";
echo '<tr><td><a href="../help.php?HelpNumber=439" target="lamhelp">'._('Help').'</a></td>'."\n".'<td><a href="../help.php?HelpNumber=440" target="lamhelp">'._('Help').'</a></td>'."\n".'<td>'.
'<a href="../help.php?HelpNumber=441" target="lamhelp">'._('Help').'</a></td>'."\n".'<td><a href="../help.php?HelpNumber=442" target="lamhelp">'._('Help').'</a></td>'."\n".'<td>'.
'<a href="../help.php?HelpNumber=443" target="lamhelp">'._('Help').'</a></td>'."\n".'<td><a href="../help.php?HelpNumber=444" target="lamhelp">'._('Help').'</a></td>'."\n".'<td>'.
'<a href="../help.php?HelpNumber=445" target="lamhelp">'._('Help').'</a></td>'."\n".'<td><a href="../help.php?HelpNumber=446" target="lamhelp">'._('Help').'</a></td>'."\n".'<td>'.
'<a href="../help.php?HelpNumber=447" target="lamhelp">'._('Help').'</a></td></tr>'."\n";
$i=0;
while ($_SESSION['account']->quota[$i][0]) {
echo '<tr><td>'.$_SESSION['account']->quota[$i][0].'</td><td>'.$_SESSION['account']->quota[$i][1].'</td>'; // used blocks
@ -1175,55 +1175,55 @@ switch ($select_local) { // Select which part of page will be loaded
echo '</td>'."\n".'<td>'.
'<input name="f_personal_title" type="text" size="10" maxlength="10" value="' . $_SESSION['account']->personal_title . '"> ';
echo $_SESSION['account']->general_surname . ' ' . $_SESSION['account']->general_givenname . '</td><td>'.
'<a href="help.php?HelpNumber=448" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=448" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Employee type');
echo '</td>'."\n".'<td>'.
'<input name="f_personal_employeeType" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_employeeType . '">'.
'</td><td>'.
'<a href="help.php?HelpNumber=449" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=449" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Street');
echo '</td>'."\n".'<td>'.
'<input name="f_personal_street" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_street . '">'.
'</td><td>'.
'<a href="help.php?HelpNumber=450" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=450" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Postal code');
echo '</td>'."\n".'<td>'.
'<input name="f_personal_postalCode" type="text" size="5" maxlength="5" value="' . $_SESSION['account']->personal_postalCode . '">'.
'</td><td>'.
'<a href="help.php?HelpNumber=451" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=451" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Postal address');
echo '</td>'."\n".'<td>'.
'<input name="f_personal_postalAddress" type="text" size="30" maxlength="80" value="' . $_SESSION['account']->personal_postalAddress . '">'.
'</td><td>'.
'<a href="help.php?HelpNumber=452" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=452" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Telephone number');
echo '</td>'."\n".'<td>'.
'<input name="f_personal_telephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_telephoneNumber . '">'.
'</td><td>'.
'<a href="help.php?HelpNumber=453" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=453" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Mobile number');
echo '</td>'."\n".'<td>'.
'<input name="f_personal_mobileTelephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_mobileTelephoneNumber . '">'.
'</td><td>'.
'<a href="help.php?HelpNumber=454" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=454" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('Fax number');
echo '</td>'."\n".'<td>'.
'<input name="f_personal_facsimileTelephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_facsimileTelephoneNumber . '">'.
'</td><td>'.
'<a href="help.php?HelpNumber=455" target="lamhelp">'._('Help').'</a>'.
'<a href="../help.php?HelpNumber=455" target="lamhelp">'._('Help').'</a>'.
'</td></tr>'."\n".'<tr><td>';
echo _('eMail address');
echo '</td>'."\n".'<td>'.
'<input name="f_personal_mail" type="text" size="30" maxlength="80" value="' . $_SESSION['account']->personal_mail . '">'.
'</td><td>'.
'<a href="help.php?HelpNumber=456" target="lamhelp">'._('Help').'</a></td></tr>'."\n";
'<a href="../help.php?HelpNumber=456" target="lamhelp">'._('Help').'</a></td></tr>'."\n";
echo "</table>\n</fieldset>\n</td></tr></table></td></tr>\n</table>\n";
break;
case 'final':