[imp] Fwd: changes
Chris Hastie
lists at oak-wood.co.uk
Sun Feb 16 13:35:33 PST 2003
On Sat, 15 Feb 2003, Eric Rostetter <eric.rostetter at physics.utexas.edu>
wrote
>Quoting Chuck Hagenbuch <chuck at horde.org>:
>
>> ----- Forwarded message from shannon at argonhosting.com -----
>> Date: Sat, 15 Feb 2003 10:17:21 -0500
>> From: "Shannon T. Cox" <shannon at argonhosting.com>
>> Reply-To: "Shannon T. Cox" <shannon at argonhosting.com>
>> Subject: changes
>> To: chuck at horde.org
>>
>> Hey Chuck,
>>
>> Just a quick question for you.
>>
>> All I want to do is change "Welcome to Horde" at the login page. Where can
>> I find this code?
>
>See http://www.horde.org/faq/admin/config/index.php#c4 and
>http://www.horde.org/faq/admin/config/index.php#c5 and maybe even
>http://www.horde.org/faq/admin/config/index.php#c6
>
This is not necessarily the easiest way to change the particular text in
question, not in the current HEAD branch any way, because the phrase is
made up of two parts - the translation of "Welcome to" and a registry
lookup.
The code is in templates/login/login.inc Shannon, and looks like this
(in HEAD anyway):
<?php printf(_("Welcome to %s"), (Auth::getProvider() == 'imp') ? $registry->getParam('name', 'horde') : $registry->getParam('name')) ?>
personally, I've changed it to:
<?php printf(_("Welcome to %s"), $GLOBALS['SERVER_NAME'] )?>
--
Chris Hastie
More information about the imp
mailing list