From e32e401d47f74d144080bfcc7d70b8c871dc7db4 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 31 Jul 2003 13:14:26 +0000 Subject: [PATCH] added help for domain page --- lam/help/help.inc | 22 ++++++++++++++++++---- lam/templates/domain.php | 11 +++++++++-- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/lam/help/help.inc b/lam/help/help.inc index 1a6f424d..df619d4a 100644 --- a/lam/help/help.inc +++ b/lam/help/help.inc @@ -317,11 +317,25 @@ $helpArray = array ( "Text" => _("Windows Groupname")), // 600 - 699 // Roland Gruber - // OU-editor - "601" => array ("ext" => "FALSE", "Headline" => _("OU-Editor - New organizational unit"), + // OU-editor, domain page + "601" => array ("ext" => "FALSE", "Headline" => _("OU-Editor") . " - " . _("New organizational unit"), "Text" => _("This will create a new organizational unit under the selected one.")), - "602" => array ("ext" => "FALSE", "Headline" => _("OU-Editor - Delete organizational unit"), - "Text" => _("This will the selected organizational unit. The OU has to be empty.")) + "602" => array ("ext" => "FALSE", "Headline" => _("OU-Editor") . " - " . _("Delete organizational unit"), + "Text" => _("This will the selected organizational unit. The OU has to be empty.")), + "651" => array ("ext" => "FALSE", "Headline" => _("Domain name"), + "Text" => _("The name of your Windows domain or workgroup.")), + "652" => array ("ext" => "FALSE", "Headline" => _("Suffix"), + "Text" => _("The domain entry will be saved under this suffix.")), + "653" => array ("ext" => "FALSE", "Headline" => _("Domain SID"), + "Text" => _("The SID of your Samba server. Get it with \"net getlocalsid\".")), + "654" => array ("ext" => "FALSE", "Headline" => _("Next RID"), + "Text" => _("Next RID to use when creating accounts.")), + "655" => array ("ext" => "FALSE", "Headline" => _("Next User RID"), + "Text" => _("Next RID to use when creating user accounts.")), + "656" => array ("ext" => "FALSE", "Headline" => _("Next Group RID"), + "Text" => _("Next RID to use when creating groups.")), + "657" => array ("ext" => "FALSE", "Headline" => _("Algorithmic RID Base"), + "Text" => _("Used for calculating RIDs from UID/GID. Do not change if unsure.")) /* This is a sample help entry. Just copy this line an modify the vakues between the [] brackets. Help text is located in the array: diff --git a/lam/templates/domain.php b/lam/templates/domain.php index 4f744c7f..2e87d975 100644 --- a/lam/templates/domain.php +++ b/lam/templates/domain.php @@ -82,6 +82,7 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) { } else echo "\n"; echo "\n"; + echo ("" . _("Help") . "\n"); echo "\n"; echo "\n"; echo "  \n"; @@ -99,6 +100,7 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) { } echo ""; echo "\n"; + echo ("" . _("Help") . "\n"); echo "\n"; echo "\n"; echo "  \n"; @@ -114,6 +116,7 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) { } else echo "\n"; echo "\n"; + echo ("" . _("Help") . "\n"); echo "\n"; echo "\n"; echo "  \n"; @@ -124,6 +127,7 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) { echo "\n"; echo "nextRID . "\">\n"; echo "\n"; + echo ("" . _("Help") . "\n"); echo "\n"; echo "\n"; // next user RID @@ -131,24 +135,27 @@ if (($_GET['action'] == "edit") || ($_GET['action'] == "new")) { echo "\n"; echo "nextUserRID . "\">\n"; echo "\n"; + echo ("" . _("Help") . "\n"); echo "\n"; echo "\n"; - // next RID + // next group RID echo "" . _("Next Group RID") . ": \n"; echo "\n"; echo "nextGroupRID . "\">\n"; echo "\n"; + echo ("" . _("Help") . "\n"); echo "\n"; echo "\n"; echo "  \n"; echo "\n"; echo "\n"; - // next RID + // algorithmic RID base echo "" . _("Algorithmic RID Base") . ": \n"; echo "\n"; if ($_GET['action'] == "edit") echo $domain->RIDbase . "\n"; else echo "RIDbase . "\">\n"; echo "\n"; + echo ("" . _("Help") . "\n"); echo "\n"; echo "\n"; echo "\n";