reverted logic to disable ticket-id and times column for no details, now they depend only on the prefs again

This commit is contained in:
Ralf Becker 2006-03-29 09:39:34 +00:00
parent aa2161d4c2
commit 6f41277aff

View File

@ -193,7 +193,7 @@
{
$info['info_percent2'] = $info['info_percent'];
}
if ($this->prefs['show_id'] && $show_links != 'no_describtion')
if ($this->prefs['show_id'])
{
$info['info_number'] = $info['info_id'];
}
@ -257,7 +257,7 @@
}
if ($query['no_actions']) $rows['no_actions'] = true;
$rows['no_details'] = $query['filter2'] == 'no_describtion';
$rows['no_times'] = !$this->prefs['show_times'] || $query['filter2'] == 'no_describtion';
$rows['no_times'] = !$this->prefs['show_times'];
$rows['no_timesheet'] = !isset($GLOBALS['egw_info']['user']['apps']['timesheet']);
$rows['duration_format'] = ','.$this->duration_format.',,1';
//echo "<p>readonlys = "; _debug_array($readonlys);