Changeset 1955 for branches/2.0
- Timestamp:
- 02/01/10 15:25:08 (14 years ago)
- Location:
- branches/2.0/calendar/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/calendar/inc/class.bocalendar.inc.php
r924 r1955 896 896 } 897 897 898 $is_public = ($l_cal['type'] != 'private' );898 $is_public = ($l_cal['type'] != 'private' && $l_cal['type'] != 'privateHiddenFields'); 899 899 $this->so->event_init(); 900 900 $this->add_attribute('uid',$l_cal['uid']); -
branches/2.0/calendar/inc/class.socalendar_sql.inc.php
r583 r1955 957 957 if ($event['type'] == 'hourAppointment') 958 958 $type = 'H'; 959 else 959 else if($event['type'] == 'privateHiddenFields'){ 960 $type = 'P'; 961 }else 960 962 $type = 'E'; 961 963 } -
branches/2.0/calendar/inc/class.uicalendar.inc.php
r1641 r1955 4509 4509 $var['access'] = Array( 4510 4510 'field' => lang('Type'), 4511 'data' => '<select onchange="javascript:changeViewMode(this.value);" id="cal[type]" name="cal[type]" '.($event['type'] == 'H'?'DISABLED':'').'><option value="normal" >'.lang('Normal').'</option><option value="private" '.(!$event['public']?'SELECTED':'').' >'. lang('Restrict').'</option><option value="privateHiddenFields" '.(!$event['public']?'SELECTED':'').' >'. lang('Private').'</option><option value="hourAppointment" '.($event['type'] == 'H'?'SELECTED':'').' >'.lang('Hours Appointment').'</option></select>'4511 '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>' 4512 4512 ); //event['public'] 4513 4513
Note: See TracChangeset
for help on using the changeset viewer.