.. contents:: Contents .. section-numbering:: Notes ===== **IMP 6, Horde 5** **Modifies topbar to display user id beside date**. Tested on Debian 6.0 (squeeze), Horde 5.0.3 and IMP 6.0.3. ---- Modification ============ +-------------------------+----------------------+ |File |Variables, Function(s)| +=========================+======================+ |horde/lib/View/Topbar.php| | +-------------------------+----------------------+ *Last updated 2013-01-16* ---- Descriptions ============ ---- 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));