changed strings

This commit is contained in:
katagia 2003-07-24 16:44:21 +00:00
parent cefb02f3b1
commit 2aef3ac29d
5 changed files with 393 additions and 393 deletions

View File

@ -1393,7 +1393,7 @@ function modifyhost($values,$values_old) { // Will modify the LDAP-Account
if ($values->general_gecos != $values_old->general_gecos) $attr['displayName'] = $values->general_gecos; // sambaAccount_may if ($values->general_gecos != $values_old->general_gecos) $attr['displayName'] = $values->general_gecos; // sambaAccount_may
if ($values->smb_pwdcanchange != $values_old->smb_pwdcanchange) $attr['sambaPwdCanChange'] = $values->smb_pwdcanchange; // sambaAccount_may if ($values->smb_pwdcanchange != $values_old->smb_pwdcanchange) $attr['sambaPwdCanChange'] = $values->smb_pwdcanchange; // sambaAccount_may
if ($values->smb_pwdmustchange != $values_old->smb_pwdmustchange) $attr['sambaPwdMustChange'] = $values->smb_pwdmustchange; // sambaAccount_may if ($values->smb_pwdmustchange != $values_old->smb_pwdmustchange) $attr['sambaPwdMustChange'] = $values->smb_pwdmustchange; // sambaAccount_may
$attr['acctFlags'] = smbflag($values); // sambaAccount_may $attr['sambaAcctFlags'] = smbflag($values); // sambaAccount_may
if (($values->smb_domain!='') && ($values->smb_domain!=$values_old->smb_domain)) $attr['sambaDomainName'] = $values->smb_domain; // sambaAccount_may if (($values->smb_domain!='') && ($values->smb_domain!=$values_old->smb_domain)) $attr['sambaDomainName'] = $values->smb_domain; // sambaAccount_may
if (($values->smb_domain=='') && ($values->smb_domain!=$values_old->smb_domain)) $attr_rem['sambaDomainName'] = $values_old->smb_domain; // sambaAccount_may if (($values->smb_domain=='') && ($values->smb_domain!=$values_old->smb_domain)) $attr_rem['sambaDomainName'] = $values_old->smb_domain; // sambaAccount_may
} }

View File

@ -309,15 +309,15 @@ if ($_POST['save']) $select_local='save';
if ($select_local != 'pdf') { if ($select_local != 'pdf') {
// Write HTML-Header and part of Table // Write HTML-Header and part of Table
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"".
\"http://www.w3.org/TR/html4/loose.dtd\">\n"; "\"http://www.w3.org/TR/html4/loose.dtd\">\n";
echo "<html><head><title>"; echo "<html><head><title>";
echo _("Create new Account"); echo _("Create new Account");
echo "</title>\n echo "</title>\n".
<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n".
<meta http-equiv=\"pragma\" content=\"no-cache\">\n "<meta http-equiv=\"pragma\" content=\"no-cache\">\n".
<meta http-equiv=\"cache-control\" content=\"no-cache\">\n "<meta http-equiv=\"cache-control\" content=\"no-cache\">\n".
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-15\">"; "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-15\">";
} }
switch ($select_local) { switch ($select_local) {
@ -335,6 +335,7 @@ switch ($select_local) {
echo "<meta http-equiv=\"refresh\" content=\"0; URL=lists/listusers.php\">\n"; echo "<meta http-equiv=\"refresh\" content=\"0; URL=lists/listusers.php\">\n";
break; break;
case 'group' : case 'group' :
if (session_is_registered("type2")) session_unregister("type2"); if (session_is_registered("type2")) session_unregister("type2");
echo "<meta http-equiv=\"refresh\" content=\"0; URL=lists/listgroups.php\">\n"; echo "<meta http-equiv=\"refresh\" content=\"0; URL=lists/listgroups.php\">\n";
break; break;
@ -414,28 +415,28 @@ switch ($select_local) { // Select which part of page will be loaded
echo '<tr><td>'; echo '<tr><td>';
echo _('Username*'); echo _('Username*');
echo "</td>\n<td>". echo "</td>\n<td>".
'<input name="f_general_username" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_username . '"> '<input name="f_general_username" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_username . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('UID Number'); echo _('UID Number');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_general_uidNumber" type="text" size="6" maxlength="6" value="' . $_SESSION['account']->general_uidNumber . '"> '<input name="f_general_uidNumber" type="text" size="6" maxlength="6" value="' . $_SESSION['account']->general_uidNumber . '">'.
</td>'."\n".'<td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Surname*'); echo _('Surname*');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_general_surname" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_surname . '"> '<input name="f_general_surname" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_surname . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Given name*'); echo _('Given name*');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_general_givenname" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_givenname . '"> '<input name="f_general_givenname" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_givenname . '">'.
</td>'."\n".'<td> '</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>'; '</td>'."\n".'</tr>'."\n".'<tr><td>';
echo _('Primary Group*'); echo _('Primary Group*');
echo '</td>'."\n".'<td><select name="f_general_group">'; echo '</td>'."\n".'<td><select name="f_general_group">';
// loop trough existing groups // loop trough existing groups
@ -443,9 +444,9 @@ switch ($select_local) { // Select which part of page will be loaded
if ($_SESSION['account']->general_group == $group) echo '<option selected>' . $group. '</option>'; if ($_SESSION['account']->general_group == $group) echo '<option selected>' . $group. '</option>';
else echo '<option>' . $group. '</option>'; else echo '<option>' . $group. '</option>';
} }
echo '</select></td><td> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Additional Groupmembership'); echo _('Additional Groupmembership');
echo '</td>'."\n".'<td><select name="f_general_groupadd[]" size="3" multiple>'; echo '</td>'."\n".'<td><select name="f_general_groupadd[]" size="3" multiple>';
// loop though existing groups for additional groups // loop though existing groups for additional groups
@ -456,28 +457,28 @@ switch ($select_local) { // Select which part of page will be loaded
} }
else echo '<option>'.$group. '</option>'; else echo '<option>'.$group. '</option>';
} }
echo '</select></td>'."\n".'<td> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Home Directory*'); echo _('Home Directory*');
echo '</td>'."\n".'<td><input name="f_general_homedir" type="text" size="30" value="' . $_SESSION['account']->general_homedir . '"> echo '</td>'."\n".'<td><input name="f_general_homedir" type="text" size="30" value="' . $_SESSION['account']->general_homedir . '">'.
</td>'."\n".'<td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Gecos'); echo _('Gecos');
echo '</td>'."\n".'<td><input name="f_general_gecos" type="text" size="30" value="' . $_SESSION['account']->general_gecos . '"> echo '</td>'."\n".'<td><input name="f_general_gecos" type="text" size="30" value="' . $_SESSION['account']->general_gecos . '">'.
</td>'."\n".'<td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Login Shell*'); echo _('Login Shell*');
echo '</td>'."\n".'<td><select name="f_general_shell" >'; echo '</td>'."\n".'<td><select name="f_general_shell" >';
// loop through shells // loop through shells
foreach ($_SESSION['shelllist'] as $shell) foreach ($_SESSION['shelllist'] as $shell)
if ($_SESSION['account']->general_shell==trim($shell)) echo '<option selected>'.$shell. '</option>'; if ($_SESSION['account']->general_shell==trim($shell)) echo '<option selected>'.$shell. '</option>';
else echo '<option>'.$shell. '</option>'; else echo '<option>'.$shell. '</option>';
echo '</select></td>'."\n".'<td> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Suffix'); echo '</td><td><select name="f_general_suffix">'; echo _('Suffix'); echo '</td><td><select name="f_general_suffix">';
foreach ($_SESSION['ldap']->search_units($_SESSION['config']->get_UserSuffix()) as $suffix) { foreach ($_SESSION['ldap']->search_units($_SESSION['config']->get_UserSuffix()) as $suffix) {
if ($_SESSION['account']->general_dn) { if ($_SESSION['account']->general_dn) {
@ -487,15 +488,15 @@ switch ($select_local) { // Select which part of page will be loaded
} }
else echo '<option>' . $suffix. '</option>'; else echo '<option>' . $suffix. '</option>';
} }
echo '</select></td><td><a href="help.php?HelpNumber=461" target="lamhelp">'._('Help').'</a> echo '</select></td><td><a href="help.php?HelpNumber=461" target="lamhelp">'._('Help').'</a>'.
</td></tr><tr><td>'; '</td></tr><tr><td>';
echo _('Values with * are required'); echo _('Values with * are required');
echo '</td></tr><tr><td><select name="f_general_selectprofile">'; echo '</td></tr><tr><td><select name="f_general_selectprofile">';
// loop through profiles // loop through profiles
foreach ($profilelist as $profile) echo '<option>' . $profile. '</option>'; foreach ($profilelist as $profile) echo '<option>' . $profile. '</option>';
echo '</select> echo '</select>'.
<input name="load" type="submit" value="'; echo _('Load Profile'); echo '"> '<input name="load" type="submit" value="'; echo _('Load Profile'); echo '">'.
</td>'."\n".'<td>'; '</td>'."\n".'<td>';
break; break;
case 'group': case 'group':
// load list of profiles // load list of profiles
@ -503,22 +504,22 @@ switch ($select_local) { // Select which part of page will be loaded
// Create HTML-page // Create HTML-page
echo '<tr><td>'; echo '<tr><td>';
echo _('Groupname*'); echo _('Groupname*');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_general_username" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_username . '"> '<input name="f_general_username" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_username . '">'.
</td><td> '</td><td>'.
<a href="help.php?HelpNumber=407" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=407" target="lamhelp">'._('Help').'</a>'.
</td></tr>'."\n".'<tr><td>'; '</td></tr>'."\n".'<tr><td>';
echo _('GID Number'); echo _('GID Number');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_general_uidNumber" type="text" size="6" maxlength="6" value="' . $_SESSION['account']->general_uidNumber . '"> '<input name="f_general_uidNumber" type="text" size="6" maxlength="6" value="' . $_SESSION['account']->general_uidNumber . '">'.
</td>'."\n".'<td> '</td>'."\n".'<td>'.
<a href="help.php?HelpNumber=408" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=408" target="lamhelp">'._('Help').'</a>'.
</td></tr>'."\n".'<tr><td>'; '</td></tr>'."\n".'<tr><td>';
echo _('Gecos'); echo _('Gecos');
echo '</td>'."\n".'<td><input name="f_general_gecos" type="text" size="30" value="' . $_SESSION['account']->general_gecos . '"> echo '</td>'."\n".'<td><input name="f_general_gecos" type="text" size="30" value="' . $_SESSION['account']->general_gecos . '">'.
</td>'."\n".'<td> '</td>'."\n".'<td>'.
<a href="help.php?HelpNumber=409" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=409" target="lamhelp">'._('Help').'</a>'.
</td></tr><tr><td>'; '</td></tr><tr><td>';
echo _('Suffix'); echo '</td><td><select name="f_general_suffix">'; echo _('Suffix'); echo '</td><td><select name="f_general_suffix">';
foreach ($_SESSION['ldap']->search_units($_SESSION['config']->get_GroupSuffix()) as $suffix) { foreach ($_SESSION['ldap']->search_units($_SESSION['config']->get_GroupSuffix()) as $suffix) {
if ($_SESSION['account']->general_dn) { if ($_SESSION['account']->general_dn) {
@ -528,14 +529,14 @@ switch ($select_local) { // Select which part of page will be loaded
} }
else echo '<option>' . $suffix. '</option>'; else echo '<option>' . $suffix. '</option>';
} }
echo '</select></td><td><a href="help.php?HelpNumber=462" target="lamhelp">'._('Help').'</a> echo '</select></td><td><a href="help.php?HelpNumber=462" target="lamhelp">'._('Help').'</a>'.
</td></tr><tr><td>'; '</td></tr><tr><td>';
echo _('Values with * are required'); echo _('Values with * are required');
echo '</td></tr>'."\n".'<tr><td><select name="f_general_selectprofile" >'; echo '</td></tr>'."\n".'<tr><td><select name="f_general_selectprofile" >';
foreach ($profilelist as $profile) echo '<option>' . $profile. '</option>'; foreach ($profilelist as $profile) echo '<option>' . $profile. '</option>';
echo '</select> echo '</select>'.
<input name="load" type="submit" value="'; echo _('Load Profile'); echo '"> '<input name="load" type="submit" value="'; echo _('Load Profile'); echo '">'.
</td>'."\n".'<td>'; '</td>'."\n".'<td>';
break; break;
case 'host': case 'host':
// load list of profiles // load list of profiles
@ -543,26 +544,26 @@ switch ($select_local) { // Select which part of page will be loaded
// Create HTML-page // Create HTML-page
echo '<tr><td>'; echo '<tr><td>';
echo _('Hostname*'); echo _('Hostname*');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_general_username" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_username . '"> '<input name="f_general_username" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->general_username . '">'.
</td><td> '</td><td>'.
<a href="help.php?HelpNumber=410" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=410" target="lamhelp">'._('Help').'</a>'.
</td></tr>'."\n".'<tr><td>'; '</td></tr>'."\n".'<tr><td>';
echo _('UID Number'); echo _('UID Number');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_general_uidNumber" type="text" size="6" maxlength="6" value="' . $_SESSION['account']->general_uidNumber . '"> '<input name="f_general_uidNumber" type="text" size="6" maxlength="6" value="' . $_SESSION['account']->general_uidNumber . '">'.
</td>'."\n".'<td> '</td>'."\n".'<td>'.
<a href="help.php?HelpNumber=411" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=411" target="lamhelp">'._('Help').'</a>'.
</td></tr>'."\n".'<tr><td>'; '</td></tr>'."\n".'<tr><td>';
echo _('Primary Group*'); echo _('Primary Group*');
echo '</td>'."\n".'<td><select name="f_general_group">'; echo '</td>'."\n".'<td><select name="f_general_group">';
foreach ($groups as $group) { foreach ($groups as $group) {
if ($_SESSION['account']->general_group == $group) echo '<option selected>' . $group. '</option>'; if ($_SESSION['account']->general_group == $group) echo '<option selected>' . $group. '</option>';
else echo '<option>' . $group. '</option>'; else echo '<option>' . $group. '</option>';
} }
echo '</select></td><td> echo '</select></td><td>'.
<a href="help.php?HelpNumber=412" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=412" target="lamhelp">'._('Help').'</a>'.
</td></tr>'."\n".'<tr><td>'; '</td></tr>'."\n".'<tr><td>';
echo _('Additional Groupmembership'); echo _('Additional Groupmembership');
echo '</td>'."\n".'<td><select name="f_general_groupadd[]" size="3" multiple>'; echo '</td>'."\n".'<td><select name="f_general_groupadd[]" size="3" multiple>';
foreach ($groups as $group) { foreach ($groups as $group) {
@ -572,14 +573,14 @@ switch ($select_local) { // Select which part of page will be loaded
} }
else echo '<option>'.$group. '</option>'; else echo '<option>'.$group. '</option>';
} }
echo '</select></td>'."\n".'<td> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Gecos'); echo _('Gecos');
echo '</td><td><input name="f_general_gecos" type="text" size="30" value="' . $_SESSION['account']->general_gecos . '"> echo '</td><td><input name="f_general_gecos" type="text" size="30" value="' . $_SESSION['account']->general_gecos . '">'.
</td>'."\n".'<td> '</td>'."\n".'<td>'.
<a href="help.php?HelpNumber=413" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=413" target="lamhelp">'._('Help').'</a>'.
</td></tr><tr><td>'; '</td></tr><tr><td>';
echo _('Suffix'); echo '</td><td><select name="f_general_suffix">'; echo _('Suffix'); echo '</td><td><select name="f_general_suffix">';
foreach ($_SESSION['ldap']->search_units($_SESSION['config']->get_HostSuffix()) as $suffix) { foreach ($_SESSION['ldap']->search_units($_SESSION['config']->get_HostSuffix()) as $suffix) {
if ($_SESSION['account']->general_dn) { if ($_SESSION['account']->general_dn) {
@ -589,19 +590,19 @@ switch ($select_local) { // Select which part of page will be loaded
} }
else echo '<option>' . $suffix. '</option>'; else echo '<option>' . $suffix. '</option>';
} }
echo '</select></td><td><a href="help.php?HelpNumber=463" target="lamhelp">'._('Help').'</a> echo '</select></td><td><a href="help.php?HelpNumber=463" target="lamhelp">'._('Help').'</a>'.
</td></tr><tr><td>'; '</td></tr><tr><td>';
echo _('Values with * are required'); echo _('Values with * are required');
echo '</td></tr>'."\n".'<tr><td><select name="f_general_selectprofile">'; echo '</td></tr>'."\n".'<tr><td><select name="f_general_selectprofile">';
foreach ($profilelist as $profile) echo '<option>' . $profile. '</option>'; foreach ($profilelist as $profile) echo '<option>' . $profile. '</option>';
echo '</select> echo '</select>'.
<input name="load" type="submit" value="'; echo _('Load Profile'); echo '"> '<input name="load" type="submit" value="'; echo _('Load Profile'); echo '">'.
</td>'."\n".'<td>'; '</td>'."\n".'<td>';
break; break;
} }
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="next" type="submit" value="'; echo _('next'); echo '"> '<input name="next" type="submit" value="'; echo _('next'); echo '">'.
</td></tr>'."\n"; '</td></tr>'."\n";
break; break;
case 'unix': case 'unix':
// Unix Password Settings // Unix Password Settings
@ -620,38 +621,37 @@ switch ($select_local) { // Select which part of page will be loaded
case 'user' : case 'user' :
echo '<tr><td>'; echo '<tr><td>';
echo _('Password'); echo _('Password');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_unix_password" type="text" size="20" maxlength="20" value="' . $password . '"> '<input name="f_unix_password" type="text" size="20" maxlength="20" value="' . $password . '">'.
</td>'."\n".'<td> '</td>'."\n".'<td>'.
<input name="genpass" type="submit" value="'; '<input name="genpass" type="submit" value="';
echo _('Generate Password'); echo '"> echo _('Generate Password'); echo '"></td></tr><tr><td>';
</td></tr><tr><td>';
echo _('Use no Password.'); echo _('Use no Password.');
echo '</td>'."\n".'<td><input name="f_unix_password_no" type="checkbox"'; echo '</td>'."\n".'<td><input name="f_unix_password_no" type="checkbox"';
if ($_SESSION['account']->unix_password_no) echo ' checked '; if ($_SESSION['account']->unix_password_no) echo ' checked ';
echo '></td>'."\n".'<td> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Password Warn'); echo _('Password Warn');
echo '</td>'."\n".'<td><input name="f_unix_pwdwarn" type="text" size="4" maxlength="4" value="' . $_SESSION['account']->unix_pwdwarn . '"> echo '</td>'."\n".'<td><input name="f_unix_pwdwarn" type="text" size="4" maxlength="4" value="' . $_SESSION['account']->unix_pwdwarn . '">'.
</td>'."\n".'<td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Password Expire'); echo _('Password Expire');
echo '</td>'."\n".'<td><input name="f_unix_pwdallowlogin" type="text" size="4" maxlength="4" value="' . $_SESSION['account']->unix_pwdallowlogin . '"> echo '</td>'."\n".'<td><input name="f_unix_pwdallowlogin" type="text" size="4" maxlength="4" value="' . $_SESSION['account']->unix_pwdallowlogin . '">'.
</td>'."\n".'<td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Maximum Passwordage'); echo _('Maximum Passwordage');
echo '</td>'."\n".'<td><input name="f_unix_pwdmaxage" type="text" size="5" maxlength="5" value="' . $_SESSION['account']->unix_pwdmaxage . '"> echo '</td>'."\n".'<td><input name="f_unix_pwdmaxage" type="text" size="5" maxlength="5" value="' . $_SESSION['account']->unix_pwdmaxage . '">'.
</td>'."\n".'<td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Minimum Passwordage'); echo _('Minimum Passwordage');
echo '</td>'."\n".'<td><input name="f_unix_pwdminage" type="text" size="4" maxlength="4" value="' . $_SESSION['account']->unix_pwdminage . '"> echo '</td>'."\n".'<td><input name="f_unix_pwdminage" type="text" size="4" maxlength="4" value="' . $_SESSION['account']->unix_pwdminage . '">'.
</td>'."\n".'<td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Expire Date'); echo _('Expire Date');
echo '</td>'."\n".'<td><select name="f_unix_pwdexpire_day">'; echo '</td>'."\n".'<td><select name="f_unix_pwdexpire_day">';
for ( $i=1; $i<=31; $i++ ) { for ( $i=1; $i<=31; $i++ ) {
@ -668,15 +668,15 @@ switch ($select_local) { // Select which part of page will be loaded
if ($date['year']==$i) echo "<option selected> $i". '</option>'; if ($date['year']==$i) echo "<option selected> $i". '</option>';
else echo "<option> $i". '</option>'; else echo "<option> $i". '</option>';
} }
echo '</select></td>'."\n".'<td> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Account deactivated'); echo _('Account deactivated');
echo '</td>'."\n".'<td><input name="f_unix_deactivated" type="checkbox"'; echo '</td>'."\n".'<td><input name="f_unix_deactivated" type="checkbox"';
if ($_SESSION['account']->unix_deactivated) echo ' checked '; if ($_SESSION['account']->unix_deactivated) echo ' checked ';
echo '></td>'."\n".'<td> 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><tr><td>'; '</td></tr><tr><td>';
echo _('Values with * are required'); echo _('Values with * are required');
echo '</td></tr>'."\n".'<tr><td>'; echo '</td></tr>'."\n".'<tr><td>';
break; break;
@ -694,11 +694,11 @@ switch ($select_local) { // Select which part of page will be loaded
echo '</td></tr>'; echo '</td></tr>';
break; break;
} }
echo '<tr><td> echo '<tr><td>'.
<input name="back" type="submit" value="'; echo _('back'); echo '"> '<input name="back" type="submit" value="'; echo _('back'); echo '">'.
</td>'."\n".'<td></td>'."\n".'<td> '</td>'."\n".'<td></td>'."\n".'<td>'.
<input name="next" type="submit" value="'; echo _('next'); echo '"> '<input name="next" type="submit" value="'; echo _('next'); echo '">'.
</td></tr>'."\n"; '</td></tr>'."\n";
break; break;
case 'samba': case 'samba':
// Samba Settings // Samba Settings
@ -718,15 +718,15 @@ switch ($select_local) { // Select which part of page will be loaded
$mustchangedate = getdate($_SESSION['account']->smb_pwdmustchange); $mustchangedate = getdate($_SESSION['account']->smb_pwdmustchange);
$_SESSION['account']->smb_flagsW = 0; $_SESSION['account']->smb_flagsW = 0;
echo '<tr><td>'; echo '<tr><td>';
echo '<input name="f_smb_pwdcanchange_h" type="hidden" value="'.$canchangedate['hours'].'"> echo '<input name="f_smb_pwdcanchange_h" type="hidden" value="'.$canchangedate['hours'].'">'.
<input name="f_smb_pwdcanchange_m" type="hidden" value="'.$canchangedate['minutes'].'"> '<input name="f_smb_pwdcanchange_m" type="hidden" value="'.$canchangedate['minutes'].'">'.
<input name="f_smb_pwdcanchange_s" type="hidden" value="'.$canchangedate['seconds'].'"> '<input name="f_smb_pwdcanchange_s" type="hidden" value="'.$canchangedate['seconds'].'">'.
<input name="f_smb_pwdmustchange_h" type="hidden" value="'.$mustchangedate['hours'].'"> '<input name="f_smb_pwdmustchange_h" type="hidden" value="'.$mustchangedate['hours'].'">'.
<input name="f_smb_pwdmustchange_m" type="hidden" value="'.$mustchangedate['minutes'].'"> '<input name="f_smb_pwdmustchange_m" type="hidden" value="'.$mustchangedate['minutes'].'">'.
<input name="f_smb_pwdmustchange_s" type="hidden" value="'.$mustchangedate['seconds'].'">'; '<input name="f_smb_pwdmustchange_s" type="hidden" value="'.$mustchangedate['seconds'].'">';
echo _('Samba Password'); echo _('Samba Password');
echo '</td>'."\n".'<td><input name="f_smb_password" type="text" size="20" maxlength="20" value="' . $password . '"> echo '</td>'."\n".'<td><input name="f_smb_password" type="text" size="20" maxlength="20" value="' . $password . '">'.
</td>'."\n".'<td><input name="f_smb_useunixpwd" type="checkbox"'; '</td>'."\n".'<td><input name="f_smb_useunixpwd" type="checkbox"';
if ($_SESSION['account']->smb_useunixpwd) echo ' checked '; if ($_SESSION['account']->smb_useunixpwd) echo ' checked ';
echo '>'; echo '>';
echo _('Use Unix-Password'); echo _('Use Unix-Password');
@ -734,15 +734,15 @@ switch ($select_local) { // Select which part of page will be loaded
echo _('Use no Password.'); echo _('Use no Password.');
echo '</td>'."\n".'<td><input name="f_smb_password_no" type="checkbox"'; echo '</td>'."\n".'<td><input name="f_smb_password_no" type="checkbox"';
if ($_SESSION['account']->smb_password_no) echo ' checked '; if ($_SESSION['account']->smb_password_no) echo ' checked ';
echo '></td>'."\n".'<td> echo '></td>'."\n".'<td>'.
<a href="help.php?HelpNumber=428" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=428" target="lamhelp">'._('Help').'</a>'.
</td></tr>'."\n".'<tr><td>'; '</td></tr>'."\n".'<tr><td>';
echo _('Password doesn\'t expire.'); echo _('Password doesn\'t expire.');
echo '</td>'."\n".'<td><input name="f_smb_flagsX" type="checkbox"'; echo '</td>'."\n".'<td><input name="f_smb_flagsX" type="checkbox"';
if ($_SESSION['account']->smb_flagsX) echo ' checked '; if ($_SESSION['account']->smb_flagsX) echo ' checked ';
echo '></td>'."\n".'<td> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('User can change Password'); echo _('User can change Password');
echo '</td>'."\n".'<td><select name="f_smb_pwdcanchange_day">'; echo '</td>'."\n".'<td><select name="f_smb_pwdcanchange_day">';
for ( $i=1; $i<=31; $i++ ) { for ( $i=1; $i<=31; $i++ ) {
@ -760,8 +760,8 @@ switch ($select_local) { // Select which part of page will be loaded
else echo "<option> $i". '</option>'; else echo "<option> $i". '</option>';
} }
echo '</select></td>'."\n".'<td>'; 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('User must change Password'); echo _('User must change Password');
echo '</td>'."\n".'<td><select name="f_smb_pwdmustchange_day">'; echo '</td>'."\n".'<td><select name="f_smb_pwdmustchange_day">';
for ( $i=1; $i<=31; $i++ ) { for ( $i=1; $i<=31; $i++ ) {
@ -779,46 +779,46 @@ switch ($select_local) { // Select which part of page will be loaded
else echo "<option> $i". '</option>'; else echo "<option> $i". '</option>';
} }
echo '</select></td>'."\n".'<td>'; 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Accout is deactivated'); echo _('Accout is deactivated');
echo '</td>'."\n".'<td><input name="f_smb_flagsD" type="checkbox"'; echo '</td>'."\n".'<td><input name="f_smb_flagsD" type="checkbox"';
if ($_SESSION['account']->smb_flagsD) echo ' checked '; if ($_SESSION['account']->smb_flagsD) echo ' checked ';
echo '></td>'."\n".'<td> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Home Drive'); echo _('Home Drive');
echo '</td>'."\n".'<td><select name="f_smb_homedrive" >'; echo '</td>'."\n".'<td><select name="f_smb_homedrive" >';
for ($i=68; $i<91; $i++) 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>'; if ($_SESSION['account']->smb_homedrive== chr($i).':') echo '<option selected> '.chr($i).':</option>'; else echo '<option> '.chr($i).':</option>';
echo '</select></td>'."\n".'<td> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Script Path'); echo _('Script Path');
echo '</td>'."\n".'<td><input name="f_smb_scriptpath" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_scriptPath . '"> echo '</td>'."\n".'<td><input name="f_smb_scriptpath" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_scriptPath . '">'.
</td>'."\n".'<td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Profile Path'); echo _('Profile Path');
echo '</td>'."\n".'<td><input name="f_smb_profilePath" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_profilePath . '"> echo '</td>'."\n".'<td><input name="f_smb_profilePath" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_profilePath . '">'.
</td>'."\n".'<td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('User Workstations'); echo _('User Workstations');
echo '</td>'."\n".'<td><input name="f_smb_smbuserworkstations" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_smbuserworkstations . '"> echo '</td>'."\n".'<td><input name="f_smb_smbuserworkstations" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_smbuserworkstations . '">'.
</td>'."\n".'<td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('smb Home'); echo _('smb Home');
echo '</td>'."\n".'<td><input name="f_smb_smbhome" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_smbhome . '"> echo '</td>'."\n".'<td><input name="f_smb_smbhome" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_smbhome . '">'.
</td>'."\n".'<td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Domain'); echo _('Domain');
echo '</td>'."\n".'<td><input name="f_smb_domain" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_domain . '"> echo '</td>'."\n".'<td><input name="f_smb_domain" type="text" size="20" maxlength="80" value="' . $_SESSION['account']->smb_domain . '">'.
</td>'."\n".'<td> '</td>'."\n".'<td>'.
<a href="help.php?HelpNumber=438" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=438" target="lamhelp">'._('Help').'</a>'.
</td></tr>'."\n"; '</td></tr>'."\n";
break; break;
case 'group': case 'group':
echo '<tr><td>'; echo '<tr><td>';
@ -851,15 +851,15 @@ switch ($select_local) { // Select which part of page will be loaded
echo _('Domain Admins'); echo _('Domain Admins');
echo "</option>\n"; echo "</option>\n";
} }
echo '</select></td>'."\n".'<td> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Windows Groupname'); echo _('Windows Groupname');
echo '</td><td> echo '</td><td>'.
<input name="f_smb_domain" type="text" size="30" maxlength="80" value="' . $_SESSION['account']->smb_displayName . '"> '<input name="f_smb_domain" type="text" size="30" maxlength="80" value="' . $_SESSION['account']->smb_displayName . '">'.
</td><td> '</td><td>'.
<a href="help.php?HelpNumber=465" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=465" target="lamhelp">'._('Help').'</a>'.
</td></tr>'."\n"; '</td></tr>'."\n";
break; break;
case 'host': case 'host':
// set smb_flgasW true because account is host // set smb_flgasW true because account is host
@ -868,9 +868,9 @@ switch ($select_local) { // Select which part of page will be loaded
echo _('Password doesn\'t expire.'); echo _('Password doesn\'t expire.');
echo '</td>'."\n".'<td><input name="f_smb_flagsX" type="checkbox"'; echo '</td>'."\n".'<td><input name="f_smb_flagsX" type="checkbox"';
if ($_SESSION['account']->smb_flagsX) echo ' checked '; if ($_SESSION['account']->smb_flagsX) echo ' checked ';
echo '></td><td> echo '></td><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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Host can change Password'); echo _('Host can change Password');
echo '</td>'."\n".'<td><select name="f_smb_pwdcanchange_day">'; echo '</td>'."\n".'<td><select name="f_smb_pwdcanchange_day">';
for ( $i=1; $i<=31; $i++ ) { for ( $i=1; $i<=31; $i++ ) {
@ -888,8 +888,8 @@ switch ($select_local) { // Select which part of page will be loaded
else echo "<option> $i". '</option>'; else echo "<option> $i". '</option>';
} }
echo '</select></td>'."\n".'<td>'; 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Host must change Password'); echo _('Host must change Password');
echo '</td>'."\n".'<td><select name="f_smb_pwdmustchange_day">'; echo '</td>'."\n".'<td><select name="f_smb_pwdmustchange_day">';
for ( $i=1; $i<=31; $i++ ) { for ( $i=1; $i<=31; $i++ ) {
@ -907,20 +907,20 @@ switch ($select_local) { // Select which part of page will be loaded
else echo "<option> $i". '</option>'; else echo "<option> $i". '</option>';
} }
echo '</select></td>'."\n".'<td>'; 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Accout is deactivated'); echo _('Accout is deactivated');
echo '</td>'."\n".'<td><input name="f_smb_flagsD" type="checkbox"'; echo '</td>'."\n".'<td><input name="f_smb_flagsD" type="checkbox"';
if ($_SESSION['account']->smb_flagsD) echo ' checked '; if ($_SESSION['account']->smb_flagsD) echo ' checked ';
echo '></td><td> echo '></td><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>'; '</td></tr>'."\n".'<tr><td>';
echo '</td></tr>'."\n".'<tr><td>'; echo '</td></tr>'."\n".'<tr><td>';
echo _('Domain'); echo _('Domain');
echo '</td>'."\n".'<td><input name="f_smb_domain" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_domain . '"> echo '</td>'."\n".'<td><input name="f_smb_domain" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_domain . '">'.
</td><td> '</td><td>'.
<a href="help.php?HelpNumber=460" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=460" target="lamhelp">'._('Help').'</a>'.
</td></tr>'."\n"; '</td></tr>'."\n";
break; break;
} }
echo '<tr><td><input name="back" type="submit" value="'; echo _('back'); echo '<tr><td><input name="back" type="submit" value="'; echo _('back');
@ -935,11 +935,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 _('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 '</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 _('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> 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=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=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=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"; '<a href="help.php?HelpNumber=447" target="lamhelp">'._('Help').'</a></td></tr>'."\n";
$i=0; $i=0;
while ($_SESSION['account']->quota[$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 echo '<tr><td>'.$_SESSION['account']->quota[$i][0].'</td><td>'.$_SESSION['account']->quota[$i][1].'</td>'; // used blocks
@ -952,11 +952,11 @@ switch ($select_local) { // Select which part of page will be loaded
echo '<td>'.$_SESSION['account']->quota[$i][8].'</td></tr>'; // inodes grace period echo '<td>'.$_SESSION['account']->quota[$i][8].'</td></tr>'; // inodes grace period
$i++; $i++;
} }
echo '<tr><td> echo '<tr><td>'.
<input name="back" type="submit" value="'; echo _('back'); echo '"> '<input name="back" type="submit" value="'; echo _('back'); echo '">'.
</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td> '</td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td>'.
<input name="next" type="submit" value="'; echo _('next'); echo '"> '<input name="next" type="submit" value="'; echo _('next'); echo '">'.
</td></tr>'."\n"; '</td></tr>'."\n";
break; break;
case 'personal': case 'personal':
// Personal Settings // Personal Settings
@ -964,63 +964,63 @@ switch ($select_local) { // Select which part of page will be loaded
echo _('Personal Properties'); echo _('Personal Properties');
echo '</td></tr>'."\n".'<tr><td>'; echo '</td></tr>'."\n".'<tr><td>';
echo _('Title'); echo _('Title');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_title" type="text" size="10" maxlength="10" value="' . $_SESSION['account']->personal_title . '"> '; '<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> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Employee Type'); echo _('Employee Type');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_employeeType" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_employeeType . '"> '<input name="f_personal_employeeType" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_employeeType . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Street'); echo _('Street');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_street" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_street . '"> '<input name="f_personal_street" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_street . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Postal code'); echo _('Postal code');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_postalCode" type="text" size="5" maxlength="5" value="' . $_SESSION['account']->personal_postalCode . '"> '<input name="f_personal_postalCode" type="text" size="5" maxlength="5" value="' . $_SESSION['account']->personal_postalCode . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Postal address'); echo _('Postal address');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_postalAddress" type="text" size="30" maxlength="80" value="' . $_SESSION['account']->personal_postalAddress . '"> '<input name="f_personal_postalAddress" type="text" size="30" maxlength="80" value="' . $_SESSION['account']->personal_postalAddress . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Telephone Number'); echo _('Telephone Number');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_telephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_telephoneNumber . '"> '<input name="f_personal_telephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_telephoneNumber . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Mobile Phonenumber'); echo _('Mobile Phonenumber');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_mobileTelephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_mobileTelephoneNumber . '"> '<input name="f_personal_mobileTelephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_mobileTelephoneNumber . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Facsimile Number'); echo _('Facsimile Number');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_facsimileTelephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_facsimileTelephoneNumber . '"> '<input name="f_personal_facsimileTelephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_facsimileTelephoneNumber . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('eMail Address'); echo _('eMail Address');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_mail" type="text" size="30" maxlength="80" value="' . $_SESSION['account']->personal_mail . '"> '<input name="f_personal_mail" type="text" size="30" maxlength="80" value="' . $_SESSION['account']->personal_mail . '">'.
</td><td> '</td><td>'.
<a href="help.php?HelpNumber=456" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=456" target="lamhelp">'._('Help').'</a>'.
</td></tr>'."\n".'<tr><td> '</td></tr>'."\n".'<tr><td>'.
<input name="back" type="submit" value="'; echo _('back'); echo '"> '<input name="back" type="submit" value="'; echo _('back'); echo '">'.
</td><td></td>'."\n".'<td> '</td><td></td>'."\n".'<td>'.
<input name="next" type="submit" value="'; echo _('next'); echo '"> '<input name="next" type="submit" value="'; echo _('next'); echo '">'.
</td></tr>'."\n"; '</td></tr>'."\n";
break; break;
case 'final': case 'final':
// Final Settings // Final Settings
@ -1066,19 +1066,19 @@ switch ($select_local) { // Select which part of page will be loaded
} }
break; break;
} }
echo '<tr><td> echo '<tr><td>'.
<input name="back" type="submit" value="'; echo _('back'); echo '"> '<input name="back" type="submit" value="'; echo _('back'); echo '">'.
</td>'."\n".'<td> '</td>'."\n".'<td>'.
</td>'."\n".'<td><input name="f_finish_safeProfile" type="text" size="30" maxlength="50"> '</td>'."\n".'<td><input name="f_finish_safeProfile" type="text" size="30" maxlength="50">'.
<input name="save" type="submit" value="'; '<input name="save" type="submit" value="';
echo _('Save Profile'); echo _('Save Profile');
echo '"><a href="help.php?HelpNumber=457" target="lamhelp">'._('Help').'</a> echo '"><a href="help.php?HelpNumber=457" target="lamhelp">'._('Help').'</a>'.
</td>'."\n".'<td> '</td>'."\n".'<td>'.
<input name="create" type="submit" value="'; '<input name="create" type="submit" value="';
if ($_SESSION['account_old']) echo _('Modify Account'); if ($_SESSION['account_old']) echo _('Modify Account');
else echo _('Create Account'); else echo _('Create Account');
echo '"> echo '">'.
</td></tr>'."\n"; '</td></tr>'."\n";
break; break;
case 'finish': case 'finish':
// Final Settings // Final Settings
@ -1094,11 +1094,11 @@ switch ($select_local) { // Select which part of page will be loaded
else echo _(' has been created. '); else echo _(' has been created. ');
if (!$_SESSION['account_old']) if (!$_SESSION['account_old'])
{ echo '<input name="createagain" type="submit" value="'; echo _('Create another user'); echo '">'; } { echo '<input name="createagain" type="submit" value="'; echo _('Create another user'); echo '">'; }
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="outputpdf" type="submit" value="'; echo _('Create PDF-file'); echo '"> '<input name="outputpdf" type="submit" value="'; echo _('Create PDF-file'); echo '">'.
</td>'."\n".'<td> '</td>'."\n".'<td>'.
<input name="backmain" type="submit" value="'; echo _('Back to userlist'); echo '"> '<input name="backmain" type="submit" value="'; echo _('Back to userlist'); echo '">'.
</td></tr>'."\n"; '</td></tr>'."\n";
break; break;
case 'group' : case 'group' :
echo '<tr><td>'; echo '<tr><td>';
@ -1109,9 +1109,9 @@ switch ($select_local) { // Select which part of page will be loaded
echo '</td></tr>'."\n".'<tr><td>'; echo '</td></tr>'."\n".'<tr><td>';
if (!$_SESSION['account_old']) if (!$_SESSION['account_old'])
{ echo' <input name="createagain" type="submit" value="'; echo _('Create another group'); echo '">'; } { echo' <input name="createagain" type="submit" value="'; echo _('Create another group'); echo '">'; }
echo '</td><td></td><td> echo '</td><td></td><td>'.
<input name="backmain" type="submit" value="'; echo _('Back to grouplist'); echo '"> '<input name="backmain" type="submit" value="'; echo _('Back to grouplist'); echo '">'.
</td></tr>'."\n"; '</td></tr>'."\n";
break; break;
case 'host' : case 'host' :
echo '<tr><td>'; echo '<tr><td>';
@ -1122,9 +1122,9 @@ switch ($select_local) { // Select which part of page will be loaded
echo '</td></tr>'."\n".'<tr><td>'; echo '</td></tr>'."\n".'<tr><td>';
if (!$_SESSION['account_old']) if (!$_SESSION['account_old'])
{ echo '<input name="createagain" type="submit" value="'; echo _('Create another host'); echo '">'; } { echo '<input name="createagain" type="submit" value="'; echo _('Create another host'); echo '">'; }
echo '</td><td>'."\n".'</td><td> echo '</td><td>'."\n".'</td><td>'.
<input name="backmain" type="submit" value="'; echo _('Back to hostlist'); echo '"> '<input name="backmain" type="submit" value="'; echo _('Back to hostlist'); echo '">'.
</td></tr>'."\n"; '</td></tr>'."\n";
break; break;
} }
break; break;

View File

@ -28,20 +28,20 @@ include_once('../lib/config.inc');
session_save_path('../sess'); session_save_path('../sess');
@session_start(); @session_start();
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"'.
"http://www.w3.org/TR/html4/loose.dtd">'."\n"; '"http://www.w3.org/TR/html4/loose.dtd">'."\n";
echo '<html><head><title>'; echo '<html><head><title>';
echo _('Delete Account'); echo _('Delete Account');
echo '</title>'."\n".' echo '</title>'."\n".
<link rel="stylesheet" type="text/css" href="../style/layout.css">'."\n".' '<link rel="stylesheet" type="text/css" href="../style/layout.css">'."\n".
<meta http-equiv="pragma" content="no-cache">'."\n".' '<meta http-equiv="pragma" content="no-cache">'."\n".
<meta http-equiv="cache-control" content="no-cache">'."\n".' '<meta http-equiv="cache-control" content="no-cache">'."\n".
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">'."\n".' '<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">'."\n".
</head>'."\n".' '</head>'."\n".
<body>'."\n".' '<body>'."\n".
<form action="delete.php" method="post">'."\n".' '<form action="delete.php" method="post">'."\n".
<table class="delete" width="100%">'."\n".' '<table class="delete" width="100%">'."\n".
<tr><td>'; '<tr><td>';
if ($_GET['type']) { if ($_GET['type']) {
$DN2 = explode(";", str_replace("\'", '',$_GET['DN'])); $DN2 = explode(";", str_replace("\'", '',$_GET['DN']));
@ -63,13 +63,13 @@ if ($_GET['type']) {
echo '<tr><td>'; echo '<tr><td>';
if (($_GET['type']== user) && $_SESSION['config']->scriptServer) { if (($_GET['type']== user) && $_SESSION['config']->scriptServer) {
echo _('Delete also Homedirectories'); echo _('Delete also Homedirectories');
echo '</td>'."\n".'<td><input name="f_rem_home" type="checkbox"> echo '</td>'."\n".'<td><input name="f_rem_home" type="checkbox">'.
</td></tr>'."\n".'<tr><td>'; '</td></tr>'."\n".'<tr><td>';
} }
echo '<br></td></tr>'."\n".'<tr><td> echo '<br></td></tr>'."\n".'<tr><td>'.
<input name="delete_no" type="submit" value="'; '<input name="delete_no" type="submit" value="';
echo _('Cancel'); echo '"></td><td></td><td> echo _('Cancel'); echo '"></td><td></td><td>'.
<input name="delete_yes" type="submit" value="'; '<input name="delete_yes" type="submit" value="';
echo _('Commit'); echo '">'; echo _('Commit'); echo '">';
} }

View File

@ -49,15 +49,15 @@ if (!$select && $_SESSION['pointer']) $select='create';
if ($select!='pdf') { if ($select!='pdf') {
// Write HTML-Header and part of Table // Write HTML-Header and part of Table
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"'.
"http://www.w3.org/TR/html4/loose.dtd">'; '."http://www.w3.org/TR/html4/loose.dtd">';
echo '<html><head><title>'; echo '<html><head><title>';
echo _('Create new Accounts'); echo _('Create new Accounts');
echo '</title> echo '</title>'.
<link rel="stylesheet" type="text/css" href="../style/layout.css"> '<link rel="stylesheet" type="text/css" href="../style/layout.css">'.
<meta http-equiv="pragma" content="no-cache"> '<meta http-equiv="pragma" content="no-cache">'.
<meta http-equiv="cache-control" content="no-cache"> '<meta http-equiv="cache-control" content="no-cache">'.
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">'; '<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">';
} }
switch ($select) { switch ($select) {
@ -76,10 +76,10 @@ switch ($select) {
} }
if ($select!='pdf') { if ($select!='pdf') {
echo '</head><body> echo '</head><body>'.
<form enctype="multipart/form-data" action="masscreate.php" method="post">'; '<form enctype="multipart/form-data" action="masscreate.php" method="post">';
echo '<table class="masscreate" width="100%"> echo '<table class="masscreate" width="100%">'.
<tr><td></td></tr>'; '<tr><td></td></tr>';
} }
switch ($select) { switch ($select) {
@ -119,12 +119,12 @@ switch ($select) {
} }
else echo '<option>' . $suffix. '</option>'; else echo '<option>' . $suffix. '</option>';
} }
echo '</select></td><td><a href="help.php?HelpNumber=461" target="lamhelp">'._('Help').'</a> echo '</select></td><td><a href="help.php?HelpNumber=461" target="lamhelp">'._('Help').'</a>'.
</td></tr><tr><td> '</td></tr><tr><td>'.
<input type="hidden" name="MAX_FILE_SIZE" value="100000">'; '<input type="hidden" name="MAX_FILE_SIZE" value="100000">';
echo _('Select file:'); echo _('Select file:');
echo '</td><td><input name="userfile" type="file"></td></tr> echo '</td><td><input name="userfile" type="file"></td></tr>'.
<tr><td><input name="tolist" type="submit" value="'; echo _('Commit'); echo '">'; '<tr><td><input name="tolist" type="submit" value="'; echo _('Commit'); echo '">';
echo '</td></tr>'; echo '</td></tr>';
break; break;
case 'list': case 'list':
@ -201,8 +201,8 @@ switch ($select) {
$_SESSION['accounts'][$row]->general_surname.'</td><td>'. $_SESSION['accounts'][$row]->general_surname.'</td><td>'.
$_SESSION['accounts'][$row]->general_givenname.'</td><td>'. $_SESSION['accounts'][$row]->general_givenname.'</td><td>'.
$_SESSION['accounts'][$row]->general_username.'</td><td>'. $_SESSION['accounts'][$row]->general_username.'</td><td>'.
$_SESSION['accounts'][$row]->general_group.'</td><td> $_SESSION['accounts'][$row]->general_group.'</td><td>'.
<a target=_blank href="massdetail.php?row='.$row.'&type=detail">'._('Show Details.').'</a></td><td>'; '<a target=_blank href="massdetail.php?row='.$row.'&type=detail">'._('Show Details.').'</a></td><td>';
for ($i=$row+1; $i<sizeof($_SESSION['accounts']); $i++ ) { for ($i=$row+1; $i<sizeof($_SESSION['accounts']); $i++ ) {
if ($_SESSION['accounts'][$row]->general_username == $_SESSION['accounts'][$i]->general_username) { // Found user with same name if ($_SESSION['accounts'][$row]->general_username == $_SESSION['accounts'][$i]->general_username) { // Found user with same name
// Set Info // Set Info
@ -269,8 +269,8 @@ switch ($select) {
echo '<br>'; echo '<br>';
if (!$noerrors) { echo '<tr><td>'. _('There are some errors!!') . '</td></tr>'; } if (!$noerrors) { echo '<tr><td>'. _('There are some errors!!') . '</td></tr>'; }
if (!$nowarn) { echo '<tr><td>'. _('There are some warnings.') . '</td></tr>'; } if (!$nowarn) { echo '<tr><td>'. _('There are some warnings.') . '</td></tr>'; }
echo '</table><br><table class="masscreate" width="100%"> echo '</table><br><table class="masscreate" width="100%">'.
<tr><td><input name="back" type="submit" value="'; echo _('Back'); echo '">'; '<tr><td><input name="back" type="submit" value="'; echo _('Back'); echo '">';
echo '</td><td><input name="cancel" type="submit" value="'; echo _('Cancel'); echo '">'; echo '</td><td><input name="cancel" type="submit" value="'; echo _('Cancel'); echo '">';
echo '</td><td><input name="list" type="submit" value="'; echo _('Refresh'); echo '">'; echo '</td><td><input name="list" type="submit" value="'; echo _('Refresh'); echo '">';
if ($noerrors) { echo '</td><td><input name="create" type="submit" value="'; echo _('Create'); echo '">'; } if ($noerrors) { echo '</td><td><input name="create" type="submit" value="'; echo _('Create'); echo '">'; }
@ -302,8 +302,8 @@ switch ($select) {
} }
else $stay=false; else $stay=false;
} }
if (!$stay) { echo '<tr><td><input name="cancel" type="submit" value="'; echo _('Cancel'); echo '"> if (!$stay) { echo '<tr><td><input name="cancel" type="submit" value="'; echo _('Cancel'); echo '">'.
<td>'._('Please wait until all users are created if no error is shown.').'</td></tr>'; } '<td>'._('Please wait until all users are created if no error is shown.').'</td></tr>'; }
else { else {
echo '<tr><td>'; echo '<tr><td>';
echo _('All Users have been created'); echo _('All Users have been created');

View File

@ -29,19 +29,19 @@ include_once('../lib/config.inc'); // File with configure-functions
session_save_path('../sess'); session_save_path('../sess');
@session_start(); @session_start();
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"'.
"http://www.w3.org/TR/html4/loose.dtd"> '"http://www.w3.org/TR/html4/loose.dtd">'.
<html><head><title>'; '<html><head><title>';
echo _('Create new Accounts'); echo _('Create new Accounts');
echo '</title> echo '</title>'.
<link rel="stylesheet" type="text/css" href="../style/layout.css"> '<link rel="stylesheet" type="text/css" href="../style/layout.css">'.
<meta http-equiv="pragma" content="no-cache"> '<meta http-equiv="pragma" content="no-cache">'.
<meta http-equiv="cache-control" content="no-cache"> '<meta http-equiv="cache-control" content="no-cache">'.
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15"> '<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">'.
</head><body> '</head><body>'.
<form enctype="multipart/form-data" action="massdetail.php" method="post"> '<form enctype="multipart/form-data" action="massdetail.php" method="post">'.
<table class="massdetail" width="100%"> '<table class="massdetail" width="100%">'.
<tr><td></td></tr>'; '<tr><td></td></tr>';
if ($_GET) { if ($_GET) {
$row = $_GET['row']; $row = $_GET['row'];
@ -97,83 +97,83 @@ switch ($select) {
case 'detail': case 'detail':
echo '<tr><td>'; echo '<tr><td>';
echo _('Surname*'); echo _('Surname*');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_general_surname" type="text" size="20" maxlength="20" value="' . $_SESSION['accounts'][$row]->general_surname . '"> '<input name="f_general_surname" type="text" size="20" maxlength="20" value="' . $_SESSION['accounts'][$row]->general_surname . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Given name*'); echo _('Given name*');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_general_givenname" type="text" size="20" maxlength="20" value="' . $_SESSION['accounts'][$row]->general_givenname . '"> '<input name="f_general_givenname" type="text" size="20" maxlength="20" value="' . $_SESSION['accounts'][$row]->general_givenname . '">'.
</td>'."\n".'<td> '</td>'."\n".'<td>'.
<a href="help.php?HelpNumber=425" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=425" target="lamhelp">'._('Help').'</a>'.
</td></tr>'."\n".'<tr><td>'; '</td></tr>'."\n".'<tr><td>';
echo _('Username*'); echo _('Username*');
echo "</td>\n<td>". echo "</td>\n<td>".
'<input name="f_general_username" type="text" size="20" maxlength="20" value="' . $_SESSION['accounts'][$row]->general_username . '"> '<input name="f_general_username" type="text" size="20" maxlength="20" value="' . $_SESSION['accounts'][$row]->general_username . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Primary Group*'); echo _('Primary Group*');
echo "</td>\n<td>". echo "</td>\n<td>".
'<input name="f_general_group" type="text" size="20" maxlength="20" value="' . $_SESSION['accounts'][$row]->general_group . '"> '<input name="f_general_group" type="text" size="20" maxlength="20" value="' . $_SESSION['accounts'][$row]->general_group . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Title'); echo _('Title');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_title" type="text" size="10" maxlength="10" value="' . $_SESSION['accounts'][$row]->personal_title . '"> '; '<input name="f_personal_title" type="text" size="10" maxlength="10" value="' . $_SESSION['accounts'][$row]->personal_title . '"> ';
echo $_SESSION['account']->general_surname . ' ' . $_SESSION['account']->general_givenname . '</td><td> 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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Employee Type'); echo _('Employee Type');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_employeeType" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_employeeType . '"> '<input name="f_personal_employeeType" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_employeeType . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Street'); echo _('Street');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_street" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_street . '"> '<input name="f_personal_street" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_street . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Postal code'); echo _('Postal code');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_postalCode" type="text" size="5" maxlength="5" value="' . $_SESSION['accounts'][$row]->personal_postalCode . '"> '<input name="f_personal_postalCode" type="text" size="5" maxlength="5" value="' . $_SESSION['accounts'][$row]->personal_postalCode . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Postal address'); echo _('Postal address');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_postalAddress" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_postalAddress . '"> '<input name="f_personal_postalAddress" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_postalAddress . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Telephone Number'); echo _('Telephone Number');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_telephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_telephoneNumber . '"> '<input name="f_personal_telephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_telephoneNumber . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Mobile Phonenumber'); echo _('Mobile Phonenumber');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_mobileTelephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_mobileTelephoneNumber . '"> '<input name="f_personal_mobileTelephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_mobileTelephoneNumber . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('Facsimile Number'); echo _('Facsimile Number');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_facsimileTelephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_facsimileTelephoneNumber . '"> '<input name="f_personal_facsimileTelephoneNumber" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_facsimileTelephoneNumber . '">'.
</td><td> '</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>'; '</td></tr>'."\n".'<tr><td>';
echo _('eMail Address'); echo _('eMail Address');
echo '</td>'."\n".'<td> echo '</td>'."\n".'<td>'.
<input name="f_personal_mail" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_mail . '"> '<input name="f_personal_mail" type="text" size="30" maxlength="30" value="' . $_SESSION['accounts'][$row]->personal_mail . '">'.
</td><td> '</td><td>'.
<a href="help.php?HelpNumber=456" target="lamhelp">'._('Help').'</a> '<a href="help.php?HelpNumber=456" target="lamhelp">'._('Help').'</a>'.
</td></tr><br>'; '</td></tr><br>';
echo '<tr><td><input name="apply" type="submit" value="'; echo _('Apply Changes'); echo '"></td><td></td><td>'; echo '<tr><td><input name="apply" type="submit" value="'; echo _('Apply Changes'); echo '"></td><td></td><td>';
echo '<input name="undo" type="submit" value="'; echo _('Undo last Changes'); echo '"></td></tr>'; echo '<input name="undo" type="submit" value="'; echo _('Undo last Changes'); echo '"></td></tr>';