From f467d640a51d9ee21a277468e4ee552bb1f0ae3f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 24 Apr 2005 12:42:20 +0000 Subject: [PATCH] changed help links, use different colors for different account types --- lam/templates/profedit/profilepage.php | 34 ++++++++++++-------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/lam/templates/profedit/profilepage.php b/lam/templates/profedit/profilepage.php index 747f9264..641df46c 100644 --- a/lam/templates/profedit/profilepage.php +++ b/lam/templates/profedit/profilepage.php @@ -82,12 +82,15 @@ foreach ($_SESSION['ldap']->search_units($rootsuffix) as $suffix) { $suffixes[] = $suffix; } if (sizeof($suffixes) > 0) { -echo "
\n" . _("LDAP suffix") . "\n"; +echo "
\n" . _("LDAP suffix") . "\n"; echo _("LDAP suffix") . ":  "; echo "\n"; - echo "  " . _('Help') . "\n"; + // help link + echo " "; + echo "\"""; + echo "\n"; echo "
\n
\n"; } @@ -100,7 +103,7 @@ $modules = array_keys($options); for ($m = 0; $m < sizeof($modules); $m++) { // ignore modules without options if (sizeof($options[$modules[$m]]) < 1) continue; - echo "
\n"; + echo "
\n"; echo "" . getModuleAlias($modules[$m], $type) . "\n"; $profileTypes = parseHtml($modules[$m], $options[$modules[$m]], $old_options, true, $tabindex, $tabindexLink, $type); $_SESSION['profile_types'] = array_merge($profileTypes, $_SESSION['profile_types']); @@ -109,26 +112,19 @@ for ($m = 0; $m < sizeof($modules); $m++) { } // profile name and submit/abort buttons -echo ("\n"); -echo ("\n"); -echo ("\n"); +echo ("" . _("Profile name") . ": \n"); $tabindex++; -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo ("\n"); -echo (""); -echo ("\n"); -echo ("\n"); +echo ("\n"); +// help link +echo ""; +echo "\"""; +echo "

\n"; $tabindex++; -echo ("\n"); +echo ("\n"); $tabindex++; -echo ("\n"); -echo (""); -echo ("\n"); -echo ("
" . _("Profile name") . ":" . _("Help") . "
 
\n"); +echo ("\n"); $tabindex++; -echo (" 
\n"); +echo ("\n"); echo "\n"; echo ("\n");