help update

This commit is contained in:
Roland Gruber 2003-08-14 13:03:07 +00:00
parent 98286f64da
commit 712c250b75
3 changed files with 21 additions and 69 deletions

View File

@ -107,10 +107,6 @@ $helpArray = array (
// 300 - 399 // 300 - 399
// Roland Gruber // Roland Gruber
// profile editor // profile editor
"300" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Set Samba password"),
"Text" => _("If set to \"no\" the NT and LM passwords will be set to \"NO PASSWORD*****\" and the user will be unable to login.").
"<br><br>".
_("If unsure say \"yes\" here.")),
"301" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Set Unix password for Samba"), "301" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Set Unix password for Samba"),
"Text" => _("If set to \"yes\" the Windows password will be the same as the Unix one."). "Text" => _("If set to \"yes\" the Windows password will be the same as the Unix one.").
"<br><br>". "<br><br>".
@ -123,52 +119,8 @@ $helpArray = array (
"Text" => _("If set to \"yes\" the user will need to change his Windows password at next login."). "Text" => _("If set to \"yes\" the user will need to change his Windows password at next login.").
"<br><br>". "<br><br>".
_("If unsure say \"no\" here.")), _("If unsure say \"no\" here.")),
"304" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Home drive"),
"Text" => _("This is the drive letter for the user's home drive. The home directory will be connected with this drive letter at login."),
"SeeAlso" => "<a href=\"./help.php?HelpNumber=305\" target=\"_self\">Home path</a>"),
"305" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Home path"),
"Text" => _("This is the path to the user's home directory. The home directory will be connected at login."),
"SeeAlso" => "<a href=\"./help.php?HelpNumber=304\" target=\"_self\">Home drive</a>"),
"306" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Profile path"),
"Text" => _("This is the path to the user's profile directory. If you do not want profiles to be saved on the server leave this empty.")),
"307" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Script path"),
"Text" => _("This is the path to the logon script directory.")),
"308" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("User workstations"),
"Text" => _("These are the workstations on which the user is allowed to login. They have to be seperated by spaces (e.g. \"PC01 PC09 PC34\"). If the user is allowed to login on all workstations, leave this field empty.")),
"309" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Domain"),
"Text" => _("This is the Windows domain name.")),
"310" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Password does not expire"),
"Text" => _("If set to 'true' the user will never have to change his password.")),
"330" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Primary group"),
"Text" => _("This is the user's primary group.")),
"331" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Additional groups"),
"Text" => _("Other groups the user will be member of.")),
"332" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Home directory"),
"Text" => _("This is the path to the user's Unix home directory.")),
"333" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Login shell"),
"Text" => _("This is the user's login shell. Set to \"/bin/bash\" if unsure.")),
"334" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Set Unix password"),
"Text" => _("If set to \"no\" the Unix password will not be set and the user will be unable to login.").
"<br><br>".
_("If unsure say \"yes\" here.")),
"335" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Password warning"),
"Text" => _("Number of days a user will be warned before his password expires.")),
"336" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Password expiry"),
"Text" => _("Number of days a user will be able to login after his password expired.")),
"337" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Maximum password age"),
"Text" => _("Number of days after a user will be forced to change his password.")),
"338" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Minimum password age"),
"Text" => _("Number of days a user has to wait to change his password again.")),
"339" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Account expires on"),
"Text" => _("After this date the user will no longer be able to login.")),
"340" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Account is deactivated"),
"Text" => _("If set to \"yes\" the user will not be able to login. This does not affect the Windows account.")),
"360" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Profile name"), "360" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Profile name"),
"Text" => _("Name under which the profile will be saved. If a profile with the same name exists, it will be overwritten.")), "Text" => _("Name under which the profile will be saved. If a profile with the same name exists, it will be overwritten.")),
"370" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Primary group"),
"Text" => _("This is primary group for the Samba machine account.")),
"371" => array ("ext" => "FALSE", "Headline" => _("Profile Editor") . " - " . _("Domain"),
"Text" => _("This is the Windows domain name.")),
// 400 - 499 // 400 - 499
// Tilo Lutz // Tilo Lutz
// account.php // account.php

View File

@ -71,7 +71,7 @@ for ($i = 0; $i < sizeof($groups); $i++) {
else echo ("<option>" . $groups[$i] . "</option>\n"); else echo ("<option>" . $groups[$i] . "</option>\n");
} }
echo ("</select></td>\n"); echo ("</select></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=370\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=412\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// empty row // empty row
@ -96,7 +96,7 @@ if ($_SESSION['config']->get_samba3() == "yes") {
else { else {
echo ("<td><input type=\"text\" value=\"" . $acct->smb_domain . "\" name=\"smb_domain\"></td>\n"); echo ("<td><input type=\"text\" value=\"" . $acct->smb_domain . "\" name=\"smb_domain\"></td>\n");
} }
echo ("<td><a href=\"../help.php?HelpNumber=371\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=460\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
echo ("</table>\n"); echo ("</table>\n");

View File

@ -89,7 +89,7 @@ for ($i = 0; $i < sizeof($groups); $i++) {
else echo ("<option>" . $groups[$i] . "</option>\n"); else echo ("<option>" . $groups[$i] . "</option>\n");
} }
echo ("</select></td>\n"); echo ("</select></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=330\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=406\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// additional groups // additional groups
@ -101,7 +101,7 @@ for ($i = 0; $i < sizeof($groups); $i++) {
else echo ("<option>" . $groups[$i] . "</option>\n"); else echo ("<option>" . $groups[$i] . "</option>\n");
} }
echo ("</select></td>\n"); echo ("</select></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=331\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=402\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// empty row // empty row
@ -111,7 +111,7 @@ echo ("<tr><td>&nbsp</td><td>&nbsp</td><td>&nbsp</td></tr>\n");
echo ("<tr>\n"); echo ("<tr>\n");
echo ("<td align=\"right\"><b>" . _("Home Directory") . ": </b></td>\n"); echo ("<td align=\"right\"><b>" . _("Home Directory") . ": </b></td>\n");
echo ("<td><input type=\"text\" value=\"" . $acct->general_homedir . "\" name=\"general_homedir\"></td>\n"); echo ("<td><input type=\"text\" value=\"" . $acct->general_homedir . "\" name=\"general_homedir\"></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=332\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=403\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// login shell // login shell
@ -123,7 +123,7 @@ for ($i = 0; $i < sizeof($shells); $i++) {
else echo ("<option>" . $shells[$i] . "</option>\n"); else echo ("<option>" . $shells[$i] . "</option>\n");
} }
echo ("</select></td>\n"); echo ("</select></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=333\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=405\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// empty row // empty row
@ -136,35 +136,35 @@ echo ("<td><select name=\"unix_password_no\">\n");
if ($acct->unix_password_no == "1") echo ("<option selected value=1>"._("no")."</option><option value=0>"._("yes")."</option>\n"); if ($acct->unix_password_no == "1") echo ("<option selected value=1>"._("no")."</option><option value=0>"._("yes")."</option>\n");
else echo ("<option selected value=0>"._("yes")."</option><option value=1>"._("no")."</option>\n"); else echo ("<option selected value=0>"._("yes")."</option><option value=1>"._("no")."</option>\n");
echo ("</select></td>\n"); echo ("</select></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=334\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=426\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// Unix: password expiry warn // Unix: password expiry warn
echo ("<tr>\n"); echo ("<tr>\n");
echo ("<td align=\"right\"><b>" . _("Password warning") . ": </b></td>\n"); echo ("<td align=\"right\"><b>" . _("Password warning") . ": </b></td>\n");
echo ("<td><input type=\"text\" name=\"unix_pwdwarn\" value=\"" . $acct->unix_pwdwarn . "\"></td>\n"); echo ("<td><input type=\"text\" name=\"unix_pwdwarn\" value=\"" . $acct->unix_pwdwarn . "\"></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=335\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=414\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// Unix: password expiry // Unix: password expiry
echo ("<tr>\n"); echo ("<tr>\n");
echo ("<td align=\"right\"><b>" . _("Password expiry") . ": </b></td>\n"); echo ("<td align=\"right\"><b>" . _("Password expiry") . ": </b></td>\n");
echo ("<td><input type=\"text\" name=\"unix_pwdallowlogin\" value=\"" . $acct->unix_pwdallowlogin . "\"></td>\n"); echo ("<td><input type=\"text\" name=\"unix_pwdallowlogin\" value=\"" . $acct->unix_pwdallowlogin . "\"></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=336\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=415\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// maximum password age // maximum password age
echo ("<tr>\n"); echo ("<tr>\n");
echo ("<td align=\"right\"><b>" . _("Maximum password age") . ": </b></td>\n"); echo ("<td align=\"right\"><b>" . _("Maximum password age") . ": </b></td>\n");
echo ("<td><input type=\"text\" name=\"unix_pwdmaxage\" value=\"" . $acct->unix_pwdmaxage . "\"></td>\n"); echo ("<td><input type=\"text\" name=\"unix_pwdmaxage\" value=\"" . $acct->unix_pwdmaxage . "\"></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=337\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=416\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// minimum password age // minimum password age
echo ("<tr>\n"); echo ("<tr>\n");
echo ("<td align=\"right\"><b>" . _("Minimum password age") . ": </b></td>\n"); echo ("<td align=\"right\"><b>" . _("Minimum password age") . ": </b></td>\n");
echo ("<td><input type=\"text\" name=\"unix_pwdminage\" value=\"" . $acct->unix_pwdminage . "\"></td>\n"); echo ("<td><input type=\"text\" name=\"unix_pwdminage\" value=\"" . $acct->unix_pwdminage . "\"></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=338\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=417\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// password expire date // password expire date
@ -189,7 +189,7 @@ for ( $i=2003; $i<=2030; $i++ ) {
else echo "<option>$i</option>\n"; else echo "<option>$i</option>\n";
} }
echo ("</select></td>"); echo ("</select></td>");
echo ("<td><a href=\"../help.php?HelpNumber=339\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=418\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// empty row // empty row
@ -212,7 +212,7 @@ echo ("<td><select name=\"unix_deactivated\">\n");
if ($acct->unix_deactivated == "1") echo ("<option selected value=1>"._("yes")."</option><option value=0>"._("no")."</option>\n"); if ($acct->unix_deactivated == "1") echo ("<option selected value=1>"._("yes")."</option><option value=0>"._("no")."</option>\n");
else echo ("<option selected value=0>"._("no")."</option><option value=1>"._("yes")."</option>\n"); else echo ("<option selected value=0>"._("no")."</option><option value=1>"._("yes")."</option>\n");
echo ("</select></td>\n"); echo ("</select></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=340\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=427\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
@ -233,7 +233,7 @@ echo ("<td><select name=\"smb_password_no\">\n");
if ($acct->smb_password_no == "1") echo ("<option selected value=1>"._("no")."</option><option value=0>"._("yes")."</option>\n"); if ($acct->smb_password_no == "1") echo ("<option selected value=1>"._("no")."</option><option value=0>"._("yes")."</option>\n");
else echo ("<option selected value=0>"._("yes")."</option><option value=1>"._("no")."</option>\n"); else echo ("<option selected value=0>"._("yes")."</option><option value=1>"._("no")."</option>\n");
echo ("</select></td>\n"); echo ("</select></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=300\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=426\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// use Unix password as Samba password // use Unix password as Samba password
@ -253,7 +253,7 @@ echo ("<td><select name=\"smb_flagsD\">\n");
if ($acct->smb_flagsD == "0") echo ("<option selected value=0>"._("no")."</option><option value=1>"._("yes")."</option>\n"); if ($acct->smb_flagsD == "0") echo ("<option selected value=0>"._("no")."</option><option value=1>"._("yes")."</option>\n");
else echo ("<option selected value=1>"._("yes")."</option><option value=0>"._("no")."</option>\n"); else echo ("<option selected value=1>"._("yes")."</option><option value=0>"._("no")."</option>\n");
echo ("</select></td>\n"); echo ("</select></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=310\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=429\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// empty row // empty row
@ -287,28 +287,28 @@ if ($acct->smb_homedrive == "X:") echo "<option selected>X:</option>"; else echo
if ($acct->smb_homedrive == "Y:") echo "<option selected>Y:</option>"; else echo "<option>Y:</option>\n"; if ($acct->smb_homedrive == "Y:") echo "<option selected>Y:</option>"; else echo "<option>Y:</option>\n";
if ($acct->smb_homedrive == "Z:") echo "<option selected>Z:</option>"; else echo "<option>Z:</option>\n"; if ($acct->smb_homedrive == "Z:") echo "<option selected>Z:</option>"; else echo "<option>Z:</option>\n";
echo ("</select></td>\n"); echo ("</select></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=304\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=433\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// path to home directory // path to home directory
echo ("<tr>\n"); echo ("<tr>\n");
echo ("<td align=\"right\"><b>" . _("Home path") . ": </b></td>\n"); echo ("<td align=\"right\"><b>" . _("Home path") . ": </b></td>\n");
echo ("<td><input type=\"text\" value=\"" . $acct->smb_smbhome . "\" name=\"smb_smbhome\"></td>\n"); echo ("<td><input type=\"text\" value=\"" . $acct->smb_smbhome . "\" name=\"smb_smbhome\"></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=305\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=437\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// path to profile // path to profile
echo ("<tr>\n"); echo ("<tr>\n");
echo ("<td align=\"right\"><b>" . _("Profile path") . ": </b></td>\n"); echo ("<td align=\"right\"><b>" . _("Profile path") . ": </b></td>\n");
echo ("<td><input type=\"text\" value=\"" . $acct->smb_profilePath . "\" name=\"smb_profilepath\"></td>\n"); echo ("<td><input type=\"text\" value=\"" . $acct->smb_profilePath . "\" name=\"smb_profilepath\"></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=306\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=435\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// path to logon scripts // path to logon scripts
echo ("<tr>\n"); echo ("<tr>\n");
echo ("<td align=\"right\"><b>" . _("Script path") . ": </b></td>\n"); echo ("<td align=\"right\"><b>" . _("Script path") . ": </b></td>\n");
echo ("<td><input type=\"text\" value=\"" . $acct->smb_scriptPath . "\" name=\"smb_scriptPath\"></td>\n"); echo ("<td><input type=\"text\" value=\"" . $acct->smb_scriptPath . "\" name=\"smb_scriptPath\"></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=307\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=434\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// empty row // empty row
@ -318,7 +318,7 @@ echo ("<tr><td>&nbsp</td><td>&nbsp</td><td>&nbsp</td></tr>\n");
echo ("<tr>\n"); echo ("<tr>\n");
echo ("<td align=\"right\"><b>" . _("Workstations") . ": </b></td>\n"); echo ("<td align=\"right\"><b>" . _("Workstations") . ": </b></td>\n");
echo ("<td><input type=\"text\" value=\"" . $acct->smb_smbuserworkstations . "\" name=\"smb_smbuserworkstations\"></td>\n"); echo ("<td><input type=\"text\" value=\"" . $acct->smb_smbuserworkstations . "\" name=\"smb_smbuserworkstations\"></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=308\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=436\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// empty row // empty row
@ -343,7 +343,7 @@ if ($_SESSION['config']->get_samba3() == "yes") {
else { else {
echo ("<td><input type=\"text\" value=\"" . $acct->smb_domain . "\" name=\"smb_domain\"></td>\n"); echo ("<td><input type=\"text\" value=\"" . $acct->smb_domain . "\" name=\"smb_domain\"></td>\n");
} }
echo ("<td><a href=\"../help.php?HelpNumber=309\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=438\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
echo ("</table>\n"); echo ("</table>\n");