Le 04/12/2013 à 18:42:26+0100, [email protected] a écrit > On 2013-12-04 18:21:25, Albert Shih wrote: > > Hi all > > > > I didn't find this information on google but how can I put a motd (in fact > > a png) above the login ? > > > > If I put something in motd.local.php it's below the login panel. > > Hard code it in "horde/templates/login/login.inc". Start below > <div class="modal-form">, add a div block with your own html code > (logo, main title) and css. > > Nothing is really there for logo, maintenance message. You have to add > them by yourself. It is like the theme. There is only one in horde 5. > > For maintenance message, i added above the modal-form div : > > <?php > try { > echo Horde::loadConfigutation('maintenance.php', 'maintenance', null, > true); > } catch (Horde_Exception $e) {} ; > ?> > > So the content of this file goes up the login window (the idea comes from > dokuwiki). > > Then in horde/config, just create create a file named "maintenance.php" : > > <?php > ob_start(); > ?> > > Your html code here > > <?php > $maintenance = ob_get_clean();
Thanks for the tips. I'm going to try this. Best regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: [email protected] Heure local/Local time: jeu 5 déc 2013 13:55:38 CET -- imp mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]
