[imp] link to show/hide deleted messages (patch 2)
Jan Kuipers
jrkuipers at lauwerscollege.nl
Tue Mar 21 07:04:15 PST 2006
The patches were created for FW3 (cvs) code. The function should be as
follows:
function showDeleteLinks()
{
if ((!$GLOBALS['prefs']->getValue('use_trash') &&
!$GLOBALS['prefs']->getValue('use_vtrash') &&
is_null($GLOBALS['imp_search']->isVINBOXFolder())) ||
$GLOBALS['prefs']->getValue('delhide') ||
$this->_showdelete) {
$ret_array = array('purge' => true);
$ret_array['hide'] = ($this->sortby() != SORTTHREAD);
} else {
$ret_array = array('hide' => false, 'purge' => false);
}
return $ret_array;
}
--
Jan Kuipers,
Systeembeheer Lauwers College
More information about the imp
mailing list