Author: nathangray
New Revision: 34005
URL: http://www.egroupware.org/viewvc/egroupware?rev=34005&view=rev
Log:
Admin always gets checkboxes
Modified:
trunk/tracker/inc/class.tracker_ui.inc.php
Modified: trunk/tracker/inc/class.tracker_ui.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/tracker/inc/class.tracker_ui.inc.php?rev=34005&r1=34004&r2=34005&view=diff
— trunk/tracker/inc/class.tracker_ui.inc.php (original)
+++ trunk/tracker/inc/class.tracker_ui.inc.php Thu Mar 3 20:58:38 2011
@@ -765,9 +765,10 @@
$readonlys[“infolog[$id]”]= !(isset($GLOBALS[‘egw_info’][‘user’][‘apps’][‘infolog’]) && $this->allow_infolog);
$readonlys[“timesheet[$id]”]= !(isset($GLOBALS[‘egw_info’][‘user’][‘apps’][‘timesheet’]) && ($this->is_admin($row[‘tr_tracker’]) or ($this->is_technician($row[‘tr_tracker’]))));
$readonlys[“document[$id]”] = !$GLOBALS[‘egw_info’][‘user’][‘preferences’][‘tracker’][‘default_document’];
-
$readonlys['checked']=(!($this->is_admin($row['tr_tracker'])) or ($this->is_technician($row['tr_tracker']))) && (count(tracker_merge::get_documents($GLOBALS['egw_info']['user']['preferences']['tracker']['document_dir'])) == 0); -
}
-
$readonlys['checked']=!($this->is_admin($row['tr_tracker'])) or ($this->is_technician($row['tr_tracker'])); -
} -
$readonlys['checked'] = $readonlys['checked'] && (count(tracker_merge::get_documents($GLOBALS['egw_info']['user']['preferences']['tracker']['document_dir'])) == 0); $rows['duration_format'] = ','.$this->duration_format.',,1'; $rows['sel_options']['tr_assigned'] = array('not' => lang('Not assigned'))+$this->get_staff($tracker,2,$this->allow_assign_users?'usersANDtechnicians':'technicians');
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs