*** empty log message ***

This commit is contained in:
katagia 2003-06-07 16:44:07 +00:00
parent 7353beff60
commit c4b6437954
2 changed files with 278 additions and 156 deletions

View File

@ -155,7 +155,7 @@ $helpArray = array (
character because it's impossible to create a homedirectory starting with a number. Lam doesn't allow capital letters A-Z because it character because it's impossible to create a homedirectory starting with a number. Lam doesn't allow capital letters A-Z because it
can cause several problems.")), can cause several problems.")),
"401" => array ("ext" => "FALSE", "Headline" => _("UID Number"), "401" => array ("ext" => "FALSE", "Headline" => _("UID Number"),
"Text" => _("If empty UID Number will be generated automaticly. Valid values are between ")."$_SESSION['config']->get_minUID()"._(" and ")."$_SESSION['config']->get_maxUID()"."."), "Text" => _("If empty UID Number will be generated automaticly. Valid values are between ").$_SESSION['config']->get_minUID()._(" and ").$_SESSION['config']->get_maxUID()."."),
"402" => array ("ext" => "FALSE", "Headline" => _("Additional Groupmembership"), "402" => array ("ext" => "FALSE", "Headline" => _("Additional Groupmembership"),
"Text" => _("Can be left empty. Hold the CTRL-key to (de)select multiple groups.")), "Text" => _("Can be left empty. Hold the CTRL-key to (de)select multiple groups.")),
"403" => array ("ext" => "FALSE", "Headline" => _("Home Directory"), "403" => array ("ext" => "FALSE", "Headline" => _("Home Directory"),
@ -171,7 +171,7 @@ $helpArray = array (
character because it's impossible to create a homedirectory starting with a number. Lam doesn't allow capital letters A-Z because it character because it's impossible to create a homedirectory starting with a number. Lam doesn't allow capital letters A-Z because it
can cause several problems.")), can cause several problems.")),
"408" => array ("ext" => "FALSE", "Headline" => _("GID Number"), "408" => array ("ext" => "FALSE", "Headline" => _("GID Number"),
"Text" => _("If empty GID Number will be generated automaticly. Valid values are between ")."$_SESSION['config']->get_minGID()"._(" and ")."$_SESSION['config']->get_maxGID()"."."), "Text" => _("If empty GID Number will be generated automaticly. Valid values are between ").$_SESSION['config']->get_minGID()._(" and ").$_SESSION['config']->get_maxGID()."."),
"409" => array ("ext" => "FALSE", "Headline" => _("Gecos"), "409" => array ("ext" => "FALSE", "Headline" => _("Gecos"),
"Text" => _("Group descriptopn. If left empty groupname will be used.")), "Text" => _("Group descriptopn. If left empty groupname will be used.")),
"410" => array ("ext" => "FALSE", "Headline" => _("Hostname"), "410" => array ("ext" => "FALSE", "Headline" => _("Hostname"),
@ -179,7 +179,7 @@ $helpArray = array (
character because it's impossible to create a homedirectory starting with a number. Lam doesn't allow capital letters A-Z because it character because it's impossible to create a homedirectory starting with a number. Lam doesn't allow capital letters A-Z because it
can cause several problems. Hostnames are always ending with $. If last character isn't $ it will be added.")), can cause several problems. Hostnames are always ending with $. If last character isn't $ it will be added.")),
"411" => array ("ext" => "FALSE", "Headline" => _("UID Number"), "411" => array ("ext" => "FALSE", "Headline" => _("UID Number"),
"Text" => _("If empty UID Number will be generated automaticly. Valid values are between ")."$_SESSION['config']->get_minMachine()"._(" and ")."$_SESSION['config']->get_maxMachine()"."."), "Text" => _("If empty UID Number will be generated automaticly. Valid values are between ").$_SESSION['config']->get_minMachine()._(" and ").$_SESSION['config']->get_maxMachine()."."),
"412" => array ("ext" => "FALSE", "Headline" => _("Primary Group"), "412" => array ("ext" => "FALSE", "Headline" => _("Primary Group"),
"Text" => _("The Prmary Group the host should be member of.")), "Text" => _("The Prmary Group the host should be member of.")),
"413" => array ("ext" => "FALSE", "Headline" => _("Gecos"), "413" => array ("ext" => "FALSE", "Headline" => _("Gecos"),
@ -204,75 +204,157 @@ $helpArray = array (
"Text" => _("Number of days a host has to wait until he\'s allowed to change his password again. Value must be 0<.")), "Text" => _("Number of days a host has to wait until he\'s allowed to change his password again. Value must be 0<.")),
"423" => array ("ext" => "FALSE", "Headline" => _("Expire Date"), "423" => array ("ext" => "FALSE", "Headline" => _("Expire Date"),
"Text" => _("Account expire date.")), "Text" => _("Account expire date.")),
"424" => array ("ext" => "FALSE", "Headline" => _(""), "424" => array ("ext" => "FALSE", "Headline" => _("Surname"),
"Text" => _("")), "Text" => _("Surname")),
"425" => array ("ext" => "FALSE", "Headline" => _(""), "425" => array ("ext" => "FALSE", "Headline" => _("Givenname"),
"Text" => _("")), "Text" => _("Givenname")),
"426" => array ("ext" => "FALSE", "Headline" => _(""), "426" => array ("ext" => "FALSE", "Headline" => _("Use no password"),
"Text" => _("")), "Text" => _("Use no password")),
"427" => array ("ext" => "FALSE", "Headline" => _(""), "427" => array ("ext" => "FALSE", "Headline" => _("Account deactivated"),
"Text" => _("")), "Text" => _("Account deactivated")),
"428" => array ("ext" => "FALSE", "Headline" => _(""), "428" => array ("ext" => "FALSE", "Headline" => _("Use no Password"),
"Text" => _("")), "Text" => _("Use no Password.")),
"429" => array ("ext" => "FALSE", "Headline" => _(""), "429" => array ("ext" => "FALSE", "Headline" => _("Password doesn't expire"),
"Text" => _("")), "Text" => _("Password doesn't expire.")),
"430" => array ("ext" => "FALSE", "Headline" => _(""), "430" => array ("ext" => "FALSE", "Headline" => _("User can change password"),
"Text" => _("")), "Text" => _("User can change password.")),
"431" => array ("ext" => "FALSE", "Headline" => _(""), "431" => array ("ext" => "FALSE", "Headline" => _("User must change password"),
"Text" => _("")), "Text" => _("User must change password.")),
"432" => array ("ext" => "FALSE", "Headline" => _(""), "432" => array ("ext" => "FALSE", "Headline" => _("Account is deactivated"),
"Text" => _("")), "Text" => _("Account is deactivated.")),
"433" => array ("ext" => "FALSE", "Headline" => _(""), "433" => array ("ext" => "FALSE", "Headline" => _("Home Drive"),
"Text" => _("")), "Text" => _("Driveletter assigned on Windows-Workstations as Homedirectory.")),
"434" => array ("ext" => "FALSE", "Headline" => _(""), "434" => array ("ext" => "FALSE", "Headline" => _("Script Path"),
"Text" => _("")), "Text" => _("Filename and -path relative to netlogon-share which should be executed on logon. $user and $group are replaced with user- and groupname. Can be left empty.")),
"435" => array ("ext" => "FALSE", "Headline" => _(""), "435" => array ("ext" => "FALSE", "Headline" => _("Profile Path"),
"Text" => _("")), "Text" => _("Path of the userprofile. Can be a local absolute path or a UNC-path (\\\\server\\share). $user and $group are replaced with user- and groupname. Can be left empty.")),
"436" => array ("ext" => "FALSE", "Headline" => _(""), "436" => array ("ext" => "FALSE", "Headline" => _("User Workstations"),
"Text" => _("")), "Text" => _("Komma-separated list of workstations the user is allowed to login. Empty means every workstation. Can be left empty.")),
"437" => array ("ext" => "FALSE", "Headline" => _(""), "437" => array ("ext" => "FALSE", "Headline" => _("smb Home"),
"Text" => _("")), "Text" => _("UNC-path (\\\\server\\share) of homedirectory. $user and $group are replaced with user- and groupname. Can be left empty.")),
"438" => array ("ext" => "FALSE", "Headline" => _(""), "438" => array ("ext" => "FALSE", "Headline" => _("Domain"),
"Text" => _("")), "Text" => _("Windows-Domain of user. Can be left empty.")),
"439" => array ("ext" => "FALSE", "Headline" => _(""), "439" => array ("ext" => "FALSE", "Headline" => _("Mountpoint"),
"Text" => _("")), "Text" => _("Mountpoint")),
"440" => array ("ext" => "FALSE", "Headline" => _(""), "440" => array ("ext" => "FALSE", "Headline" => _("Used blocks"),
"Text" => _("")), "Text" => _("Used blocks.")),
"441" => array ("ext" => "FALSE", "Headline" => _(""), "441" => array ("ext" => "FALSE", "Headline" => _("soft block limit"),
"Text" => _("")), "Text" => _("soft block limit")),
"442" => array ("ext" => "FALSE", "Headline" => _(""), "442" => array ("ext" => "FALSE", "Headline" => _("hard block limit"),
"Text" => _("")), "Text" => _("hard block limit")),
"443" => array ("ext" => "FALSE", "Headline" => _(""), "443" => array ("ext" => "FALSE", "Headline" => _("grace block period"),
"Text" => _("")), "Text" => _("grace block period")),
"444" => array ("ext" => "FALSE", "Headline" => _(""), "444" => array ("ext" => "FALSE", "Headline" => _("used inodes"),
"Text" => _("")), "Text" => _("used inodes")),
"445" => array ("ext" => "FALSE", "Headline" => _(""), "445" => array ("ext" => "FALSE", "Headline" => _("soft inode limit"),
"Text" => _("")), "Text" => _("sofr inode limit")),
"446" => array ("ext" => "FALSE", "Headline" => _(""), "446" => array ("ext" => "FALSE", "Headline" => _("hard inode limit"),
"Text" => _("")), "Text" => _("hard inode limit")),
"447" => array ("ext" => "FALSE", "Headline" => _(""), "447" => array ("ext" => "FALSE", "Headline" => _("grace inode period"),
"Text" => _("")), "Text" => _("grace inode period")),
"448" => array ("ext" => "FALSE", "Headline" => _(""), "448" => array ("ext" => "FALSE", "Headline" => _("Title"),
"Text" => _("")), "Text" => _("Title")),
"449" => array ("ext" => "FALSE", "Headline" => _(""), "449" => array ("ext" => "FALSE", "Headline" => _("Employee Type"),
"Text" => _("")), "Text" => _("Employee Type")),
"450" => array ("ext" => "FALSE", "Headline" => _(""), "450" => array ("ext" => "FALSE", "Headline" => _("Street"),
"Text" => _("")), "Text" => _("Street")),
"451" => array ("ext" => "FALSE", "Headline" => _(""), "451" => array ("ext" => "FALSE", "Headline" => _("Postal Code"),
"Text" => _("")), "Text" => _("Postal Code")),
"452" => array ("ext" => "FALSE", "Headline" => _(""), "452" => array ("ext" => "FALSE", "Headline" => _("Postal Address"),
"Text" => _("")), "Text" => _("Postal Address")),
"453" => array ("ext" => "FALSE", "Headline" => _(""), "453" => array ("ext" => "FALSE", "Headline" => _("Telephone Number"),
"Text" => _("")), "Text" => _("Telephone Number")),
"454" => array ("ext" => "FALSE", "Headline" => _(""), "454" => array ("ext" => "FALSE", "Headline" => _("Mobile Phonenumber"),
"Text" => _("")), "Text" => _("Mobile Phonenumber")),
"455" => array ("ext" => "FALSE", "Headline" => _(""), "455" => array ("ext" => "FALSE", "Headline" => _("Facsimile Number"),
"Text" => _("")), "Text" => _("Facsimile Number")),
"456" => array ("ext" => "FALSE", "Headline" => _(""), "456" => array ("ext" => "FALSE", "Headline" => _("eMail Address"),
"Text" => _("")), "Text" => _("eMail Address")),
"457" => array ("ext" => "FALSE", "Headline" => _(""), "457" => array ("ext" => "FALSE", "Headline" => _("Save Profile"),
"Text" => _("")), "Text" => _("Save Profile")),
"458" => array ("ext" => "FALSE", "Headline" => _(""), "458" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"459" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"460" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"461" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"462" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"463" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"464" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"465" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"466" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"467" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"468" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"469" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"470" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"471" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"472" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"473" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"474" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"475" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"476" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"477" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"478" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"479" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"480" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"481" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"482" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"483" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"484" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"485" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"486" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"487" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"488" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"489" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"490" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"491" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"492" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"493" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"494" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"495" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"496" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"497" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"498" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")),
"499" => array ("ext" => "FALSE", "Headline" => _(""),
"Text" => _("")) "Text" => _(""))
/* This is a sample help entry. Just copy this line an modify the vakues between the [] brackets. /* This is a sample help entry. Just copy this line an modify the vakues between the [] brackets.
Help text is located in the array: Help text is located in the array:

View File

@ -397,11 +397,15 @@ switch ($select_local) { // Select which part of page will be loaded
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>
<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></tr>'."\n".'<tr><td>'; </td>'."\n".'<td>
<a href="help.php?HelpNumber=425" target="lamhelp">'._('Help').'</a>
</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
@ -548,7 +552,9 @@ 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_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></tr>'."\n".'<tr><td>'; echo '></td>'."\n".'<td>
<a href="help.php?HelpNumber=426" target="lamhelp">'._('Help').'</a>
</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>
@ -591,7 +597,9 @@ switch ($select_local) { // Select which part of page will be loaded
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></tr>'."\n"; echo '></td>'."\n".'<td>
<a href="help.php?HelpNumber=427" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
break; break;
case 'host' : case 'host' :
echo '<input name="f_unix_password_no" type="hidden" value="'; echo '<input name="f_unix_password_no" type="hidden" value="';
@ -661,37 +669,48 @@ switch ($select_local) { // Select which part of page will be loaded
echo '<tr><td><input name="select" type="hidden" value="samba">'; echo _('Samba Properties'); echo '</td></tr>'."\n"; echo '<tr><td><input name="select" type="hidden" value="samba">'; echo _('Samba Properties'); echo '</td></tr>'."\n";
switch ( $_SESSION['type2'] ) { switch ( $_SESSION['type2'] ) {
case 'user': case 'user':
// Set Account is samba-workstation to false
$_SESSION['account']->smb_flagsW = 0;
echo '<tr><td>'; echo '<tr><td>';
echo _('Samba Password'); echo _('Samba Password');
echo '</td><td><input name="f_smb_password" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_password . '"> echo '</td>'."\n".'<td><input name="f_smb_password" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_password . '">
</td><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');
echo '</td></tr><tr><td>'; echo '</td></tr>'."\n".'<tr><td>';
echo _('Use no Password.'); echo _('Use no Password.');
echo '</td><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></tr><tr><td>'; echo '></td>'."\n".'<td>
<a href="help.php?HelpNumber=428" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('Password doesn\'t expire.'); echo _('Password doesn\'t expire.');
echo '</td><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></tr><tr><td>'; echo '></td>'."\n".'<td>
<a href="help.php?HelpNumber=429" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('User can change Password'); echo _('User can change Password');
echo '</td><td><input name="f_smb_pwdcanchange" type="checkbox"'; echo '</td>'."\n".'<td><input name="f_smb_pwdcanchange" type="checkbox"';
if ($_SESSION['account']->smb_pwdcanchange) echo ' checked '; if ($_SESSION['account']->smb_pwdcanchange) echo ' checked ';
echo '></td></tr><tr><td>'; echo '></td>'."\n".'<td>
<a href="help.php?HelpNumber=430" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('User must change Password'); echo _('User must change Password');
echo '</td><td><input name="f_smb_pwdmustchange" type="checkbox"'; echo '</td>'."\n".'<td><input name="f_smb_pwdmustchange" type="checkbox"';
if ($_SESSION['account']->smb_pwdmustchange) echo ' checked '; if ($_SESSION['account']->smb_pwdmustchange) echo ' checked ';
echo '></td></tr><tr><td>'; echo '></td>'."\n".'<td>
<a href="help.php?HelpNumber=431" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('Accout is deactivated'); echo _('Accout is deactivated');
echo '</td><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></tr><tr><td>'; echo '></td>'."\n".'<td>
$_SESSION['account']->smb_flagsW = 0; <a href="help.php?HelpNumber=432" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('Home Drive'); echo _('Home Drive');
echo '</td><td><select name="f_smb_homedrive" >'; echo '</td>'."\n".'<td><select name="f_smb_homedrive" >';
if ( $_SESSION['account']->smb_homedrive == 'D:' ) echo '<option selected> D:'; else echo '<option> D:'; if ( $_SESSION['account']->smb_homedrive == 'D:' ) echo '<option selected> D:'; else echo '<option> D:';
if ( $_SESSION['account']->smb_homedrive == 'E:' ) echo '<option selected> E:'; else echo '<option> E:'; if ( $_SESSION['account']->smb_homedrive == 'E:' ) echo '<option selected> E:'; else echo '<option> E:';
if ( $_SESSION['account']->smb_homedrive == 'F:' ) echo '<option selected> F:'; else echo '<option> F:'; if ( $_SESSION['account']->smb_homedrive == 'F:' ) echo '<option selected> F:'; else echo '<option> F:';
@ -715,34 +734,34 @@ switch ($select_local) { // Select which part of page will be loaded
if ( $_SESSION['account']->smb_homedrive == 'X:' ) echo '<option selected> X:'; else echo '<option> X:'; if ( $_SESSION['account']->smb_homedrive == 'X:' ) echo '<option selected> X:'; else echo '<option> X:';
if ( $_SESSION['account']->smb_homedrive == 'Y:' ) echo '<option selected> Y:'; else echo '<option> Y:'; if ( $_SESSION['account']->smb_homedrive == 'Y:' ) echo '<option selected> Y:'; else echo '<option> Y:';
if ( $_SESSION['account']->smb_homedrive == 'Z:' ) echo '<option selected> Z:'; else echo '<option> Z:'; if ( $_SESSION['account']->smb_homedrive == 'Z:' ) echo '<option selected> Z:'; else echo '<option> Z:';
echo '</select></td><td>'; echo '</select></td>'."\n".'<td>
echo _('Driveletter assigned on Windows-Workstations as Homedirectory.'); <a href="help.php?HelpNumber=433" target="lamhelp">'._('Help').'</a>
echo '</td></tr><tr><td>'; </td></tr>'."\n".'<tr><td>';
echo _('Script Path'); echo _('Script Path');
echo '</td><td><input name="f_smb_scriptpath" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_scriptPath . '"> echo '</td>'."\n".'<td><input name="f_smb_scriptpath" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_scriptPath . '">
</td><td>'; </td>'."\n".'<td>
echo _('Filename and -path relative to netlogon-share which should be executed on logon. $user and $group are replaced with user- and groupname. Can be left empty.'); <a href="help.php?HelpNumber=434" target="lamhelp">'._('Help').'</a>
echo '</td></tr><tr><td>'; </td></tr>'."\n".'<tr><td>';
echo _('Profile Path'); echo _('Profile Path');
echo '</td><td><input name="f_smb_profilePath" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_profilePath . '"> echo '</td>'."\n".'<td><input name="f_smb_profilePath" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_profilePath . '">
</td><td>'; </td>'."\n".'<td>
echo _('Path of the userprofile. Can be a local absolute path or a UNC-path (\\\\server\\share). $user and $group are replaced with user- and groupname. Can be left empty.'); <a href="help.php?HelpNumber=435" target="lamhelp">'._('Help').'</a>
echo '</td></tr><tr><td>'; </td></tr>'."\n".'<tr><td>';
echo _('User Workstations'); echo _('User Workstations');
echo '</td><td><input name="f_smb_smbuserworkstations" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_smbuserworkstations . '"> echo '</td>'."\n".'<td><input name="f_smb_smbuserworkstations" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_smbuserworkstations . '">
</td><td>'; </td>'."\n".'<td>
echo _('Komma-separated list of workstations the user is allowed to login. Empty means every workstation. Can be left empty.'); <a href="help.php?HelpNumber=436" target="lamhelp">'._('Help').'</a>
echo '</td></tr><tr><td>'; </td></tr>'."\n".'<tr><td>';
echo _('smb Home'); echo _('smb Home');
echo '</td><td><input name="f_smb_smbhome" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_smbhome . '"> echo '</td>'."\n".'<td><input name="f_smb_smbhome" type="text" size="20" maxlength="20" value="' . $_SESSION['account']->smb_smbhome . '">
</td><td>'; </td>'."\n".'<td>
echo _('UNC-path (\\\\server\\share) of homedirectory. $user and $group are replaced with user- and groupname. Can be left empty.'); <a href="help.php?HelpNumber=437" target="lamhelp">'._('Help').'</a>
echo '</td></tr><tr><td>'; </td></tr>'."\n".'<tr><td>';
echo _('Domain'); echo _('Domain');
echo '</td><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>'."\n".'<td>
echo _('Windows-Domain of user. Can be left empty.'); <a href="help.php?HelpNumber=438" target="lamhelp">'._('Help').'</a>
echo '</td></tr>'; </td></tr>'."\n";
break; break;
case 'host': case 'host':
echo '<input name="f_smb_password_no" type="hidden" value="'.$_SESSION['account']->unix_password_no.'">'; echo '<input name="f_smb_password_no" type="hidden" value="'.$_SESSION['account']->unix_password_no.'">';
@ -782,10 +801,15 @@ switch ($select_local) { // Select which part of page will be loaded
// Quota Settings // Quota Settings
echo '<tr><td><input name="select" type="hidden" value="quota">'; echo '<tr><td><input name="select" type="hidden" value="quota">';
echo _('Quota Properties'); echo _('Quota Properties');
echo '</td></tr><tr><td>'; echo _('Mointpoint'); echo '</td><td>'; echo _('used blocks'); echo '</td><td>'; echo '</td></tr>'."\n".'<tr><td>'; echo _('Mointpoint'); echo '</td>'."\n".'<td>'; echo _('used blocks'); echo '</td>'."\n".'<td>';
echo _('soft block limit'); echo '</td><td>'; echo _('hard block limit'); echo '</td><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><td>'; echo _('used inodes'); echo '</td><td>'; echo _('soft inode limit'); echo '</td><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><td>'; echo _('grace inode period'); echo '</td></tr>'; 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";
$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
@ -802,55 +826,71 @@ switch ($select_local) { // Select which part of page will be loaded
<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>'; </td></tr>'."\n";
break; break;
case 'personal': case 'personal':
// Personal Settings // Personal Settings
echo '<tr><td><input name="select" type="hidden" value="personal">'; echo '<tr><td><input name="select" type="hidden" value="personal">';
echo _('Personal Properties'); echo _('Personal Properties');
echo '</td></tr><tr><td>'; echo '</td></tr>'."\n".'<tr><td>';
echo _('Title'); echo _('Title');
echo '</td><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>
echo _('Every value on this page can be left empty.'); <a href="help.php?HelpNumber=448" target="lamhelp">'._('Help').'</a>
echo '</td></tr><tr><td>'; </td></tr>'."\n".'<tr><td>';
echo _('Employee Type'); echo _('Employee Type');
echo '</td><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></tr><tr><td>'; </td><td>
<a href="help.php?HelpNumber=449" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('Street'); echo _('Street');
echo '</td><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></tr><tr><td>'; </td><td>
<a href="help.php?HelpNumber=450" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('Postal code'); echo _('Postal code');
echo '</td><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></tr><tr><td>'; </td><td>
<a href="help.php?HelpNumber=451" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('Postal address'); echo _('Postal address');
echo '</td><td> echo '</td>'."\n".'<td>
<input name="f_personal_postalAddress" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_postalAddress . '"> <input name="f_personal_postalAddress" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_postalAddress . '">
</td></tr><tr><td>'; </td><td>
<a href="help.php?HelpNumber=452" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('Telephone Number'); echo _('Telephone Number');
echo '</td><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></tr><tr><td>'; </td><td>
<a href="help.php?HelpNumber=453" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('Mobile Phonenumber'); echo _('Mobile Phonenumber');
echo '</td><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></tr><tr><td>'; </td><td>
<a href="help.php?HelpNumber=454" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('Facsimile Number'); echo _('Facsimile Number');
echo '</td><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></tr><tr><td>'; </td><td>
<a href="help.php?HelpNumber=455" target="lamhelp">'._('Help').'</a>
</td></tr>'."\n".'<tr><td>';
echo _('eMail Address'); echo _('eMail Address');
echo '</td><td> echo '</td>'."\n".'<td>
<input name="f_personal_mail" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_mail . '"> <input name="f_personal_mail" type="text" size="30" maxlength="30" value="' . $_SESSION['account']->personal_mail . '">
</td></tr><tr><td> </td><td>
<a href="help.php?HelpNumber=456" target="lamhelp">'._('Help').'</a>
</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><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>'; </td></tr>'."\n";
break; break;
case 'final': case 'final':
// Final Settings // Final Settings
@ -896,14 +936,14 @@ switch ($select_local) { // Select which part of page will be loaded
} }
break; break;
} }
echo '<tr><td>'; echo '<tr><td>
echo '<input name="back" type="submit" value="'; echo _('back'); echo '"> <input name="back" type="submit" value="'; echo _('back'); echo '">
</td><td>'; </td><td>
echo '</td><td><input name="f_finish_safeProfile" type="text" size="30" maxlength="30"> </td><td><input name="f_finish_safeProfile" type="text" size="30" maxlength="30">
<input name="save" type="submit" value="'; <input name="save" type="submit" value="';
echo _('Save Profile'); echo _('Save Profile');
echo '">'; echo '"><a href="help.php?HelpNumber=457" target="lamhelp">'._('Help').'</a>
echo '</td><td> </td><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');