On 8 Aug 2011 at 13:50, Michael M Slusarz wrote: > Quoting [email protected]: > > > On 2 Aug 2011 at 13:10, Michael M Slusarz wrote: > > > >> Quoting [email protected]: > >> > >> > On 2 Aug 2011 at 10:26, Michael M Slusarz wrote: > >> > > >> >> Quoting [email protected]: > >> >> > >> >> > I would like to display the user's login beside the name of the > >> >> > current opened folder (Horde 4.0.7, IMP 5.0.8). Which file should I > >> >> > look for, or how could I do that? > >> >> > >> >> It depends on the view. For example, with the dynamic view, you will > >> >> most likely need to alter the javascript code since the mailbox name > >> >> is added dynamically. > >> >> > >> >> michael > >> > > >> > For dynamic view, which javascript? > >> > >> Probably in js/dimpbase.js. And you will have to alter the PHP script > >> that provides the javascript the data (probably > >> lib/Views/ListMessages.php). > >> > >> michael > >> > >> ___________________________________ > >> Michael Slusarz [[email protected]] > > > > For traditional view I modified imp/mailbox.php. I added a new line > > 354 before $refresh_title: > > > > $title = $pagetitle . htmlspecialchars(' of '.$injector- > >> getInstance('Horde_Core_Factory_Identity')->create()->getName()); > > > > For dynamic view I modified imp/lib/Views/ListMessages.php, > > getBaseOb, line 495: > > > > $ob->label = htmlspecialchars($mbox->label . ' de ' . > > $GLOBALS['injector']->getInstance('Horde_Core_Factory_Identity')- > >> create()->getName()); > > > > It worked fine for both views! > > > > I realized that we are not sending to the list. Should I copy to the > > list? > > Yes. Or create a wiki entry. > > michael > > ___________________________________ > Michael Slusarz [[email protected]]
Copying to the list! http://wiki.horde.org/ImpH4DisplayUserName Describes modification of traditional and dynamic views to display username beside the name of the opened folder. Thank you Michael, Mauricio -------------------------------------------------------- Mauricio J. T. Tecles Instituto de Biofísica Carlos Chagas Filho - UFRJ Edifício do Centro de Ciências da Saúde, Bloco G Av. Carlos Chagas Filho, 373 Cidade Universitária, Ilha do Fundão Rio de Janeiro, RJ Brasil 21941-902 Telefone: 55 21 2562-6544 FAX: 55 21 2280-8193 [email protected] -- IMP mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]
