guest [201.29.172.176]  Wed, 16 Jan 2013 21:22:20 +0000

Created page: http://wiki.horde.org/Imp6H5DisplayUserName

[[toc]]
+++ 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:**
<code type="php">
        /* Sub bar. */
        $this->date = strftime($GLOBALS['prefs']->getValue('date_format'));
</code>
**To:**
<code type="php">
        /* Sub bar. */
$this->date = strftime($GLOBALS['prefs']->getValue('date_format')) . ' - ' . $GLOBALS['injector']->getInstance('Horde_Core_Factory_Identity')->create()->getName();
</code>

--
commits mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]

Reply via email to