added self service page header

This commit is contained in:
Roland Gruber 2009-02-13 18:52:59 +00:00
parent c322f32d6e
commit 98e4729ec3
2 changed files with 6 additions and 0 deletions

View File

@ -173,6 +173,8 @@ $helpArray = array (
"Text" => _("Adds a new group element to the list of self service options. Use this to structure the input fields.")), "Text" => _("Adds a new group element to the list of self service options. Use this to structure the input fields.")),
"508" => array ("Headline" => _("Add input field"), "508" => array ("Headline" => _("Add input field"),
"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"),
"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.")),
"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

@ -269,6 +269,9 @@ class selfServiceProfile {
/** LDAP search attribute */ /** LDAP search attribute */
public $searchAttribute; public $searchAttribute;
/** header for self service pages */
public $pageHeader;
/** describing text for user login */ /** describing text for user login */
public $loginCaption; public $loginCaption;
@ -299,6 +302,7 @@ class selfServiceProfile {
$this->LDAPUser = ""; $this->LDAPUser = "";
$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->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.";