1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Welcome to Horde!

Discussion in 'Plesk for Linux - 8.x and Older' started by epretorious, Aug 12, 2005.

  1. epretorious

    epretorious Guest

    0
     
    How do I modify the Horde greeting ("Welcome to Horde!")?
     
  2. hi5s

    hi5s Guest

    0
     
    * Solution

    Hi,

    To change the "welcome to Horde"

    Edit: /etc/psa-horde/horde/registry.php

    Find: 'name' => _("Horde"),

    Replace with:

    'name' => _(preg_replace('/^webmail./', '', $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME']) ),

    OR

    by changing this line in /usr/share/psa-horde/imp/login.php:

    $title = sprintf(_("Welcome to %s"), $registry->get('name', ($imp_auth) ? 'horde' : null));

    with

    $rest = substr($_SERVER['SERVER_NAME'], 8);
    $title = sprintf(_("Welcome to %s"),$rest);


    ---

    Both will make the greeting- "Welcome to domain.com" - with domain.com being whatever domain's webmail is being called.

    ---

    To remove (or replace) the default horde logo, edit the common-footer at /usr/share/psa-horde/templates/

    ***

    :) Hi5.
     
  3. epretorious

    epretorious Guest

    0
     
    Muchos gracias, hi5s! :D
     
  4. reybie

    reybie Guest

    0
     
    Thanks for the info also. :)
     
Loading...