[imp] motd.php

Ewout Meij horde@meij.net
Tue, 30 Apr 2002 02:07:50 +0200


: 

Quoting Mike Barsalou <mbarsalou@aidea.org>:

> I tried this, but it showed up on the page as text that I can't read at all
> unless I highlight the whole page.  I am no php progammer, so I wouldn't
> have the faintest clue what to do now.

Its just html basicly. What I use in my motd [the <p class="light"> stuff] is 
directly from the horde css.php. Look:

<?php
        echo '<center><br><br><p class="light">';
        $sString = shell_exec("/usr/games/fortune all");
        $sString = nl2br($sString);
        echo $sString;
        echo "</center></p>";
?>

Find some font/coloring you like in a horde page, and look at the source. Take 
if from there.

Cheers,
Ewout


-------------------------------------------------