[dev] motd.php on summary page (CVS HEAD)
Eric Rostetter
eric.rostetter at physics.utexas.edu
Sat Jul 26 12:26:17 PDT 2003
Since Chuck has now removed my motd.php from the summary page (CVS HEAD), here's
a simple patch for anyone who wants to restore that functionality. It will
only work correctly if you use IMP authentication for Horde.
Index: portal.php
===================================================================
RCS file: /usr/repository/horde/portal.php,v
retrieving revision 1.15
diff -u -r1.15 portal.php
--- portal.php 24 May 2003 20:20:38 -0000 1.15
+++ portal.php 26 Jul 2003 19:21:24 -0000
@@ -52,6 +52,7 @@
require HORDE_TEMPLATES . '/portal/menu.inc';
Help::javascript();
$notification->notify();
+require HORDE_BASE . '/config/motd.php';
require HORDE_TEMPLATES . '/portal/portal_head.inc';
$covered = array();
Maybe we should make another file (site-header.php or site-banner.php or
site-announce.php or some other silly name like that) that people can
customize to include site-specific info on the summary page like this?
At least until mottle is completed, assuming it would/could provide such
functionality?
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!
More information about the dev
mailing list