Changeset 4467 for sandbox/2.2.0.2/calendar/inc/class.uicalendar.inc.php
- Timestamp:
- 05/20/11 10:33:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.2.0.2/calendar/inc/class.uicalendar.inc.php
r4464 r4467 3651 3651 } 3652 3652 else 3653 { 3653 { if ($texttitle) 3654 3654 $picture[] = Array( 3655 3655 'pict' => $GLOBALS['phpgw']->common->image('calendar','single'), … … 3705 3705 $this->output_template_array($this->link_tpl,'picture','pict',$var); 3706 3706 } 3707 if ($ texttitle)3707 if ($event['type'] == 'H' || $texttitle) 3708 3708 { 3709 3709 $var = Array( … … 5861 5861 $var['access'] = Array( 5862 5862 'field' => lang('Type'), 5863 'data' => '<select onchange="javascript:changeViewMode(this.value);" id="cal[type]" name="cal[type]" '. ($event['type'] == 'H'?'DISABLED':'').'><option value="normal" '.(($event['public'] && $event['type'] == 'E')?'SELECTED':'').' >'.lang('Normal').'</option><option value="private" '.((!$event['public'] && $event['type'] == 'E')?'SELECTED':'').' >'. lang('Restrict').'</option><option value="privateHiddenFields" '.($event['type']=='P'?'SELECTED':'').' >'. lang('Private').'</option><option value="hourAppointment" '.($event['type'] == 'H'?'SELECTED':'').' >'.lang('Hours Appointment').'</option></select>'5863 'data' => '<select onchange="javascript:changeViewMode(this.value);" id="cal[type]" name="cal[type]" '.'><option value="normal" '.(($event['public'] && $event['type'] == 'E')?'SELECTED':'').' >'.lang('Normal').'</option><option value="private" '.((!$event['public'] && $event['type'] == 'E')?'SELECTED':'').' >'. lang('Restrict').'</option><option value="privateHiddenFields" '.($event['type']=='P'?'SELECTED':'').' >'. lang('Private').'</option><option value="hourAppointment" '.($event['type'] == 'H'?'SELECTED':'').' >'.lang('Hours Appointment').'</option></select>' 5864 5864 ); //event['public'] 5865 5865
Note: See TracChangeset
for help on using the changeset viewer.