# R34005 - /trunk/tracker/inc/class.tracker\_ui.inc.php

**URL:** <https://help.egroupware.org/t/r34005-trunk-tracker-inc-class-tracker-ui-inc-php/45976>\
**Category:** eGW-svn\
**Created:** [March 3, 2011, 7:58pm UTC](https://help.egroupware.org/t/r34005-trunk-tracker-inc-class-tracker-ui-inc-php/45976 "2011-03-03T19:58:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nathangray](https://help.egroupware.org/letter_avatar_proxy/v4/letter/n/77aa72/32.png) [@nathangray](https://help.egroupware.org/u/nathangray)\
**Post date:** [March 3, 2011, 7:58pm UTC](https://help.egroupware.org/t/r34005-trunk-tracker-inc-class-tracker-ui-inc-php/45976/1 "2011-03-03T19:58:38Z")

</div>

Author: nathangray  
New Revision: 34005

URL: [http://www.egroupware.org/viewvc/egroupware?rev=34005&view=rev](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](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](http://p.sf.net/sfu/splunk-dev2dev)

* * *

eGroupWare-cvs mailing list  
[eGroupWare-cvs@lists.sourceforge.net](mailto:eGroupWare-cvs@lists.sourceforge.net)  
[https://lists.sourceforge.net/lists/listinfo/egroupware-cvs](https://lists.sourceforge.net/lists/listinfo/egroupware-cvs)
