[[toc]]
+++ Notes
IMP 5, Horde 4
Modifies traditional and dynamic views to display username beside the name of the opened folder.
This describes modifications to IMP 5.0.8 (Horde 4.0.7).
+++ Modifications
||~ File ||~ Variables, Function(s) ||
|| imp/mailbox.php || $title ||
|| imp/lib/Views/ListMessages.php || getBaseOb, $ob->label ||
++++ mailbox.php
Traditional view.
$pagetitle = $title = IMP::$mailbox->label;
$refresh_title = sprintf(_("Refresh %s"), $title);
$pagetitle = $title = IMP::$mailbox->label;
$title = $pagetitle . htmlspecialchars(' of '. $injector->getInstance('Horde_Core_Factory_Identity')->create()->getName());
$refresh_title = sprintf(("_Refresh %s"), $title);
++++ ListMessages.php
Dynamic view.
Backup your original imp/lib/Views/ListMessages.php. Edit ListMessages.php and alter line 495 (getBaseOb) with the following code:
Form:
$ob->label = htmlspecialchars($mbox->label);
To:
$ob->label = htmlspecialchars($mbox->label . ' of ' . $GLOBALS['injector']->getInstance('Horde_Core_Factory_Identity')->create()->getName());