diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index a75b55df..eb581ac1 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -610,6 +610,9 @@ function printHelpLink($entry, $number, $module='', $scope='') { if (is_file("./help.php")) $helpPath = ""; $title = $entry['Headline']; $message = $entry['Text']; + if (isset($entry['attr'])) { + $message .= '


' . _('Technical name') . ': ' . $entry['attr'] . ''; + } // replace special characters $message = str_replace(array("'", '"', "\n"), array("\\'", '"', ''), $message); $title = str_replace(array("'", '"', "\n"), array("\\'", '"', ''), $title); diff --git a/lam/style/500_layout.css b/lam/style/500_layout.css index fcbf7c92..660740c4 100644 --- a/lam/style/500_layout.css +++ b/lam/style/500_layout.css @@ -3,7 +3,7 @@ $Id$ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) Copyright (C) 2003 Leonhard Walchshaeusl - Copyright (C) 2005 - 2011 Roland Gruber + Copyright (C) 2005 - 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 @@ -211,6 +211,13 @@ tr.highlight { white-space: nowrap; } +hr.dotted { + border-bottom: 1px dotted black; + border-top: none; + border-right: none; + border-left: none; +} + div.ui-progressbar-value { background-image: url(images/pbar-ani.gif); } @@ -363,13 +370,6 @@ input.smallImageButton { cursor:pointer; } -hr.modulePage { - width: 100%; - height: 2px; - margin-bottom: 20px; - margin-top: 3px; -} - /* schema browser */ diff --git a/lam/templates/help.php b/lam/templates/help.php index 444387c8..97e62938 100644 --- a/lam/templates/help.php +++ b/lam/templates/help.php @@ -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 - 2008 - 2009 Roland Gruber + 2008 - 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 @@ -85,6 +85,9 @@ function displayHelp($helpEntry,$helpVariables) { echoHTMLHead(); echo "

" . $helpEntry['Headline'] . "

\n"; $format = "

" . $helpEntry['Text'] . "

\n"; + if (isset($helpEntry['attr'])) { + $format .= '

' . _('Technical name') . ': ' . $helpEntry['attr'] . ''; + } array_unshift($helpVariables,$format); call_user_func_array("printf",$helpVariables); if(isset($helpEntry['SeeAlso']) && is_array($helpEntry['SeeAlso'])) {