diff --git a/lam/help/help.inc b/lam/help/help.inc index d6637684..15cb51bb 100644 --- a/lam/help/help.inc +++ b/lam/help/help.inc @@ -31,8 +31,46 @@ $helpArray = array ( // configuration login "200" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Login"), "Text" => _("Please enter the configuration password. This is NOT your LDAP password.". - " It is stored in lam.conf. If this is the first time you log in, enter \"lam\"."), - "SeeAlso" => "") + " It is stored in lam.conf. If this is the first time you log in, enter \"lam\".")), + "201" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Server Address"), + "Text" => _("This is the Server Address of your LDAP server. Use ldap:// for standard LDAP connections". + " and ldaps:// for encrypted (require server certificates) connections. The port value is optional.

". + "Examples:

ldap://localhost:389 connects to localhost using a standard LDAP connection on port 389
". + "ldaps://141.40.146.133 connects to 141.40.146.133 using an encrypted LDAP connection.

". + "
Note:

When using ldaps:// be sure to use exactly the same IP/domain name as in your certificate!")), + "202" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - User/Group/Host suffix"), + "Text" => _("This is the suffix of the LDAP tree from where to search for user/group/host entries.". + " Only entries in these subtrees will be displayed in the user/group/host list. When creating a". + " new accont this will be the DN where it is saved.

Examples:

ou=People,dc=yourcompany,dc=com". + " will read and store all accounts in this subtree.")), + "203" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - UID Number"), + "Text" => _("These are the minimum and maximum numbers to use for user IDs when creating new user accounts.". + "The range has to be different from that of machines. New user accounts will always get the highest number in use plus one.")), + "204" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - GID Number"), + "Text" => _("These are the minimum and maximum numbers to use for group IDs when creating new group accounts.". + "New group accounts will always get the highest number in use plus one.")), + "205" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Machine Number"), + "Text" => _("These are the minimum and maximum numbers to use for machine IDs when creating new accounts for Samba hosts.". + "The range has to be different from that of users. New host accounts will always get the highest number in use plus one.")), + "206" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - List Attributes"), + "Text" => _("This is the list of attributes to show in the user/group/host list.". + " The entries can either be predefined values, \"#value\", or individual ones, \"value:description\".". + "Several entries are seperated by semicolons.

". + "Example: #homeDirectory;#uid;#cn;#uidNumber;#gidNumber;description:UserDescription

". + "
Predefined values:
". + "
Users: #uid, #uidNumber, #gidNumber, #cn, #host, #givenName, #sn, #homeDirectory, #loginShell, #mail, #gecos". + "
Groups: #cn, #gidNumber, #memberUID, #member, #description". + "
Groups: #uid, #cn, #rid, #description")), + "207" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Valid Users"), + "Text" => _("This is a list of valid DN entries of all users that are allowed to login to LDAP Account Manager.". + "The user names have to be separated by semicolons.

". + "Example: cn=admin,dc=yourdomain,dc=org;cn=manager,dc=yourdomain,dc=org")), + "208" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Maximum List Entries"), + "Text" => _("This is the number of rows to show in the user/group/host list. If more entries are found the list". + " will be split to several pages.")), + "209" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Default Language"), + "Text" => _("Defines the language of the login window and is sets this language the default language.". + " Users can change the language at login.")) /* This is a sample help entry. Just copy this line an modify the vakues between the [] brackets. Help text is located in the array: "[Helpnumber]" => array ("ext" => "FALSE", "Headline" => _("[Headline]"), "Text" => _("[Text]"), "SeeAlso" => "[SeeAlso link]"), diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php index 7d70a455..bd4cdcbc 100644 --- a/lam/templates/config/confmain.php +++ b/lam/templates/config/confmain.php @@ -106,13 +106,11 @@ echo ("
\n"); echo ("
" . _("Server settings") . ""); echo (""); // serverURL -echo ("". - "". + "\n"); -echo ("\n"); +echo ("\n"); // new line echo (""); @@ -121,23 +119,17 @@ echo (""); echo ("". "\n"); -echo ("\n"); +echo ("\n"); // group suffix echo ("". "\n"); -echo ("\n"); +echo ("\n"); // host suffix echo ("". "\n"); -echo ("\n"); +echo ("\n"); echo ("

" . _("Server Address") . ":

". +echo ("

" . _("Server Address") . ":

". "get_ServerURL() . "\">". "

". - _("Server Address of LDAP server (e.g. ldap://localhost:389 or ldaps://localhost:636)"). - "

" . _("Help") . "
 
 

". _("UserSuffix") . ":

get_UserSuffix() . "\">

". - _("This is the suffix from where to search for users.
(e.g. ou=People,dc=yourcompany,dc=com)"). - "

" . _("Help") . "

". _("GroupSuffix") . ":

get_GroupSuffix() . "\">

". - _("This is the suffix from where to search for groups.
(e.g. ou=group,dc=yourcompany,dc=com)"). - "

" . _("Help") . "

". _("HostSuffix") . ":

get_HostSuffix() . "\">

". - _("This is the suffix from where to search for Samba hosts.
(e.g. ou=machines,dc=yourcompany,dc=com)"). - "

" . _("Help") . "
"); echo ("
"); @@ -148,36 +140,31 @@ echo (""); // minUID echo ("". - "\n"); // maxUID -echo ("  " . _("Maximum UID number") . ": ". +echo ("\n"); // UID text -echo ("\n"); +echo ("\n"); // minGID echo ("". - "\n"); // maxGID -echo ("  " . _("Maximum GID number").": ". +echo ("\n"); // GID text -echo ("\n"); +echo ("\n"); // minMach echo ("". - "\n"); // maxMach -echo ("  " . _("Maximum Machine number") . ": ". +echo ("\n"); // Machine text -echo ("\n"); +echo ("\n"); echo ("
". - _("Minimum UID number") . ": get_minUID() . "\">\n"); + _("Minimum UID number") . ": ". + "get_minUID() . "\">" . _("Maximum UID number") . ": ". "get_maxUID() . "\">

". - _("These are the minimum and maximum numbers to use for user IDs"). - "

" . _("Help") . "
". - _("Minimum GID number") . ": get_minGID() . "\">\n"); + _("Minimum GID number") . ": ". + "get_minGID() . "\">" . _("Maximum GID number").": ". "get_maxGID() . "\">

". - _("These are the minimum and maximum numbers to use for group IDs"). - "

" . _("Help") . "
". - _("Minimum Machine number") . ": get_minMachine() . "\">\n"); + _("Minimum Machine number") . ": ". + "get_minMachine() . "\">" . _("Maximum Machine number") . ": ". "get_maxMachine() . "\">

". - _("These are the minimum and maximum numbers to use for Samba hosts.
Do not use the same range as for user IDs.") . "

" . _("Help") . "
"); echo (""); @@ -190,19 +177,17 @@ echo (""); echo ("". ""); -// list attributes description -echo (""); +echo (""); // user list attributes echo ("". - ""); + ""); +echo (""); // user list attributes echo ("". - ""); + ""); +echo (""); // two new lines echo (""); echo (""); @@ -210,14 +195,10 @@ echo (""); echo ("". "\n"); -// admin list description -echo ("\n"); +echo ("\n"); // maximum list entries echo ("". + _("Maximum list entries") . ":

". "\n"); -// maximum list entries description -echo ("\n"); +echo ("\n"); echo ("

". _("Attributes in User List:") . "

get_userlistAttributes() . "\">

". - _("This is the list of attributes to show in the lists. The entries can either be predefined values". - " (e.g. '#cn' or '#gidNumber') or individual ones (e.g. 'cn:Group Name'). The entries are seperated by semicolons."). - "

" . _("Help") . "

". _("Attributes in Group List:") . "

get_grouplistAttributes() . "\">
get_grouplistAttributes() . "\">" . _("Help") . "

". _("Attributes in Host List:") . "

get_hostlistAttributes() . "\">
get_hostlistAttributes() . "\">" . _("Help") . "
 
 
 

". _("List of valid users") . ":

get_Adminstring() . "\">

". - _("Usernames must be seperated by semicolons")."
". - _("(e.g. cn=admin,dc=yourcompany,dc=com;uid=root,ou=people,dc=yourcompany,dc=com)"). - "

" . _("Help") . "

". - _("Maximum displayed entries") . ":

". - _("This is the maximum count of entries which are displayed on one page of the user/host/group lists."). - "

" . _("Help") . "
\n"); echo ("\n"); @@ -268,7 +246,8 @@ else { echo _("Unable to load available languages. For further instructions please contact the Admin of this site.\n"); } -echo ("\n"); +echo ("\n"); +echo ("" . _("Help") . "\n"); echo ("\n"); echo ("\n");