From 933a5e95c8b48420a6dc9c31075fc3816a9e8064 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 24 Apr 2005 10:31:07 +0000 Subject: [PATCH] changed help links, use different colors for account types --- lam/templates/masscreate.php | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/lam/templates/masscreate.php b/lam/templates/masscreate.php index a49bb22f..12ac47b8 100644 --- a/lam/templates/masscreate.php +++ b/lam/templates/masscreate.php @@ -135,31 +135,33 @@ function showMainPage($scope) { echo "

" . _("Columns:") . "

\n"; // DN options - echo "
\n" . _("DN settings") . "\n"; + echo "
\n" . _("DN settings") . "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; @@ -173,7 +175,7 @@ function showMainPage($scope) { $modules = array_keys($columns); for ($m = 0; $m < sizeof($modules); $m++) { if (sizeof($columns[$modules[$m]]) < 1) continue; - echo "
\n" . getModuleAlias($modules[$m], $scope) . "\n"; + echo "
\n" . getModuleAlias($modules[$m], $scope) . "\n"; echo "
\n"; echo "" . _("DN suffix") . "\n"; + // help link + echo " "; + echo "\"""; + echo "\n"; echo "
\n"; echo "
    \n"; echo "
  • " . _("Identifier") . ": " . "dn_suffix
  • \n"; echo "
  • " . _("Example value") . ": " . "ou=accounts,dc=yourdomain,dc=org
  • \n"; echo "
  • " . _("Default value") . ": " . $_SESSION['config']->get_Suffix($scope) . "
  • \n"; - echo "
  • \n"; - echo "" . _("Help") . "\n"; - echo "
  • \n"; echo "
\n"; echo "
\n"; echo "" . _("RDN identifier") . "\n"; + // help link + echo " "; + echo "\"""; + echo "\n"; echo "
\n"; echo "
    \n"; echo "
  • " . _("Identifier") . ": " . "dn_rdn
  • \n"; echo "
  • " . _("Possible values") . ": " . implode(", ", getRDNAttributes($scope)) . "
  • \n"; echo "
  • " . _("Example value") . ": " . "uid
  • \n"; - echo "
  • \n"; - echo "" . _("Help") . "\n"; - echo "
  • \n"; echo "
\n"; echo "
\n"; for ($i = 0; $i < sizeof($columns[$modules[$m]]); $i++) { echo "\n"; @@ -206,7 +208,7 @@ function showMainPage($scope) { $sampleCSV = ""; $sampleCSV_head = array(); $sampleCSV_row = array(); - echo "" . _("This is an example how it would look in your spreadsheet program before you convert to CSV:") . "\n"; + echo "" . _("This is an example how it would look in your spreadsheet program before you convert to CSV:") . "

\n"; echo "
\n"; echo "\n"; @@ -284,6 +286,10 @@ function showColumnData($module, $data) { echo $data['description']; echo "\n"; } + // help link + echo " "; + echo "\"""; + echo "\n"; echo "
\n"; echo "
    \n"; echo "
  • \n"; @@ -302,9 +308,6 @@ function showColumnData($module, $data) { echo "" . _("Default value") . ": " . $data['default'] . "\n"; echo "
  • \n"; } - echo "
  • \n"; - echo "" . _("Help") . "\n"; - echo "
  • \n"; echo "
\n"; }