[[toc]]
+++ Notes
IMP 6, Horde 5
Modifies topbar to display user id beside date.
+++ Modification
||~ File ||~ Variables, Function(s) ||
|| horde/lib/View/Topbar.php || ||
++++ horde/lib/View/Topbar.php
Backup your original horde/lib/View/Topbar.php. Edit Topbar.php and modify line 78:
Form:
/* Sub bar. /
$this->date = strftime($GLOBALS['prefs']->getValue('date_format'));
To:
/ Sub bar. /
$this->date = strftime($GLOBALS['prefs']->getValue('date_format')) . ' - '
. $GLOBALS['injector']->getInstance('Horde_Core_Factory_Identity')->create()->getName();
To display user name and email address:
/ Sub bar. */
$this->date = strftime($GLOBALS['prefs']->getValue('date_format')) . ' - '
. htmlspecialchars($GLOBALS['injector']->getInstance('Horde_Core_Factory_Identity')->create()->getDefaultFromAddress(true));