Changeset 1949
- Timestamp:
- 01/26/10 09:13:57 (14 years ago)
- Location:
- trunk/calendar/inc
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/calendar/inc/class.bocalendar.inc.php
r1849 r1949 919 919 } 920 920 921 $is_public = ($l_cal['type'] != 'private' );921 $is_public = ($l_cal['type'] != 'private' && $l_cal['type'] != 'privateHiddenFields'); 922 922 $this->so->event_init(); 923 923 $this->add_attribute('uid',$l_cal['uid']); -
trunk/calendar/inc/class.socalendar_sql.inc.php
r583 r1949 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 } -
trunk/calendar/inc/class.uicalendar.inc.php
r1849 r1949 5041 5041 $var['access'] = Array( 5042 5042 'field' => lang('Type'), 5043 '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>'5043 '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>' 5044 5044 ); //event['public'] 5045 5045
Note: See TracChangeset
for help on using the changeset viewer.