[horde] customize login page
A. Schulze
sca at andreasschulze.de
Mon Jun 30 11:55:37 UTC 2014
Jan Schneider:
> You can create any custom login screen and specify its location with
> that alternate_login configuration setting.
yes, I know that.
but then I have to handle all the nice stuff
- layout
- identification of the client
- presentation of logout messages
I won't like to loose.
Simply changing the labels is not possible?
~horde/login.php define an array $loginparams (starting line 183 )
I would set
$loginparams['horde_user']['label'] = 'my_username_label';
$loginparams['horde_pass']['label'] = 'my_password_label';
but don't know, where :-/
in line 210 the is a call to $auth->getLoginParams()
and later "merge_array"
So I added this to ~horde/conf.php:
$conf['auth']['params']['loginparams']['horde_user']['label'] =
'my_username_label_1';
$conf['auth']['params']['horde_user']['label'] = 'my_username_label_2';
But that did not work either. I guess I did not fully understand
merge_array syntax...
Andreas
More information about the horde
mailing list