[imp] link to show/hide deleted messages (patch 2)
Marc Fellman
marc.fellman at gmail.com
Tue Mar 21 03:37:20 PST 2006
Hi Graeme,
Thanks we are getting somewhere.
2006/3/21, Graeme Wood <Graeme.Wood at ed.ac.uk>:
> Oops I should cut and paste better...
>
> function showDeleteLinks()
> {
> if (!$GLOBALS['prefs']->getValue('use_trash') &&
> !$GLOBALS['prefs']->getValue('use_vtrash') &&
> is_null($GLOBALS['imp_search']->isVINBOXFolder())) {
> $ret_array = array('purge' => true);
> $ret_array['hide'] = ($this->sortby() != SORTTHREAD);
> } elseif ($this->_showdelete || $GLOBALS['prefs']->getValue('delhide')) {
> $ret_array = array('hide' => true, 'purge' => true);
> } else {
> $ret_array = array('hide' => false, 'purge' => false);
> }
> }
>
The only thing that remains now (and it seems to be some caching or
so) is that after the purge I still have the show/hide and purg links.
If I refresh the screen (by clicking on E-mail in the Horde menu) the
links disapear. For now I'm happy with this but there is still a
little thing.....
But Don't worry, be happy (is running on my MP3 player right now!)
<SNIP>
--
Met Vriendelijke Groet / With Kind Regards
Marc Fellman
More information about the imp
mailing list