From 3cd5452883a4d1f5217b81bbd6c8f513600e1f0e Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 12 Jan 2012 19:46:54 +0000 Subject: [PATCH] changed predefined attribute help --- lam/help/help.inc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lam/help/help.inc b/lam/help/help.inc index e14cb8c3..b18da6c1 100644 --- a/lam/help/help.inc +++ b/lam/help/help.inc @@ -4,7 +4,7 @@ $Id$ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) Copyright (C) 2003 - 2006 Michael Duergner - 2003 - 2011 Roland Gruber + 2003 - 2012 Roland Gruber This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -36,11 +36,14 @@ $Id$ $types = getTypes(); $entry206Example = ""; for ($i = 0; $i < sizeof($types); $i++) { - $entry206Example .= "" . getTypeAlias($types[$i]) . ":

\n"; + $entry206Example .= "" . getTypeAlias($types[$i]) . ":
\n"; $descriptions = getListAttributeDescriptions($types[$i]); $attributes = array_keys($descriptions); for ($a = 0; $a < sizeof($attributes); $a++) { - $entry206Example .= "#" . $attributes[$a] . ": " . $descriptions[$attributes[$a]] . "
"; + $entry206Example .= "#" . $attributes[$a] . ": " . $descriptions[$attributes[$a]]; + if ($a < (sizeof($attributes) - 1)) { + $entry206Example .= ", "; + } } $entry206Example .= "

"; } @@ -81,7 +84,7 @@ $helpArray = array ( "Text" => _("This is the list of attributes to show in the account list. The entries can either be predefined values, \"#attribute\", or individual ones, \"attribute:description\". Several entries are separated by semicolons.") . "


" . _("Example") . ": #homeDirectory;#uid;#uidNumber;#gidNumber;mail:Mail address

" . - "
" . _("Predefined values") . ":


" . $entry206Example), + "" . _("Predefined values") . ":

" . $entry206Example), "207" => array ("Headline" => _("Valid users"), "Text" => _("This is a list of valid DN entries of all users that are allowed to login to LDAP Account Manager. Please enter one DN per line.") . "

" .