Changeset 4426 for branches/2.2.0.1/calendar
- Timestamp:
- 05/17/11 11:02:21 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/calendar/inc/class.uicalendar.inc.php
r4421 r4426 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( … … 5856 5856 $var['access'] = Array( 5857 5857 'field' => lang('Type'), 5858 '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>'5858 '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>' 5859 5859 ); //event['public'] 5860 5860
Note: See TracChangeset
for help on using the changeset viewer.