added custom CSS links

This commit is contained in:
Roland Gruber 2009-02-14 13:50:20 +00:00
parent 394471f7aa
commit e445c3e829
3 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,11 @@
March/April 2009
- support NIS netgroups
- help messages are displayed as tooltips
- LAM Pro:
-> add businessCategory to self service (RFE 2494246)
-> allow to customize page headers and use custom CSS styles
21.01.2009 2.5.0 21.01.2009 2.5.0
- LAM Pro: - LAM Pro:
-> supports rfc2307bis schema for Unix groups (RFE 2111694) -> supports rfc2307bis schema for Unix groups (RFE 2111694)

View File

@ -175,6 +175,8 @@ $helpArray = array (
"Text" => _("Adds a new self service option to the selected group element.")), "Text" => _("Adds a new self service option to the selected group element.")),
"509" => array ("Headline" => _("Page header"), "509" => array ("Headline" => _("Page header"),
"Text" => _("This HTML code will be placed on top of all self service pages. E.g. you can use this to place your custom logo. Any HTML code is permitted.")), "Text" => _("This HTML code will be placed on top of all self service pages. E.g. you can use this to place your custom logo. Any HTML code is permitted.")),
"510" => array ("Headline" => _("Additional CSS links"),
"Text" => _("Here you can specify additional CSS links to change the layout of the self service pages. This is useful to adopt them to your corporate design. Please enter one link per line.")),
"520" => array ("Headline" => _("Generate random password"), "520" => array ("Headline" => _("Generate random password"),
"Text" => _("This will set a random password and display it on the screen or send it the user via mail.") . "Text" => _("This will set a random password and display it on the screen or send it the user via mail.") .
'<br><br>' . _('If you decide to send the password via mail then the mail template "config/passwordMailTemplate.txt" will be used.') . '<br><br>' . _('If you decide to send the password via mail then the mail template "config/passwordMailTemplate.txt" will be used.') .

View File

@ -271,6 +271,9 @@ class selfServiceProfile {
/** header for self service pages */ /** header for self service pages */
public $pageHeader; public $pageHeader;
/** list of additional CSS links (separated by \n) */
public $additionalCSS;
/** describing text for user login */ /** describing text for user login */
public $loginCaption; public $loginCaption;
@ -303,6 +306,7 @@ class selfServiceProfile {
$this->LDAPPassword = ""; $this->LDAPPassword = "";
$this->searchAttribute = "uid"; $this->searchAttribute = "uid";
$this->pageHeader = '<p align="center"><a href="http://lam.sourceforge.net" target="_blank"><img src="../../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a></p><hr>'; $this->pageHeader = '<p align="center"><a href="http://lam.sourceforge.net" target="_blank"><img src="../../graphics/banner.jpg" border=1 alt="LDAP Account Manager"></a></p><hr>';
$this->additionalCSS = '';
$this->loginCaption = "Welcome to LAM self service. Please enter your user name and password."; $this->loginCaption = "Welcome to LAM self service. Please enter your user name and password.";
$this->loginAttributeText = "User name"; $this->loginAttributeText = "User name";
$this->mainPageText = "<h1>LAM self service</h1>\nHere you can change your personal settings."; $this->mainPageText = "<h1>LAM self service</h1>\nHere you can change your personal settings.";