IMP 6, Horde 5
Modifies topbar to display user id beside date.
| File | Variables, Function(s) |
|---|---|
| horde/lib/View/Topbar.php | |
| Last updated 2013-01-16 |
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));