[imp] IMP and MOTD.html

Chuck Hagenbuch chuck@horde.org
Thu, 12 Oct 2000 09:44:14 -0400 (EDT)


Quoting Ari Heikkinen <aheikin@phaser-atm.pspt.fi>:

> Is there any way to display different MOTD files for different languages
> user chooses before logging on IMP ?
> 
> Say I'd like english MOTD (say a file called MOTD-english.html) displayed
> for anything else except if user chooses "Suomi" as the language display
> a finnish MOTD.
> 
> Would it be hard to modify IMP do this?

You can put php logic into config/MOTD.html, if you want. So just check the
language, and output accordingly.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
must... find... acorns... *thud*