Changeset 4217 for branches/2.2.0.1/calendar/inc/class.uicalendar.inc.php
- Timestamp:
- 05/04/11 17:11:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/calendar/inc/class.uicalendar.inc.php
r4195 r4217 6015 6015 } 6016 6016 6017 // Reminder6017 // Reminder 6018 6018 // The user must use "Alarm Management" to change/modify an alarm 6019 6019 // so only display the email reminder fields if this is a new event … … 6097 6097 'data' => '<select name="cal[recur_type]">'."\n".$str.'</select>'."\n" 6098 6098 ); 6099 6100 6101 $preferences = CreateObject('phpgwapi.preferences',(int)$this->owner); 6102 $selected_creator = $selected_owner = ''; 6103 if($event['notifications_owner'] == 1) 6104 $selected_owner = ' selected'; 6105 else 6106 $selected_creator = ' selected'; 6107 6108 $option = '<option value="0" '.$selected_creator.' >'.$GLOBALS['phpgw']->common->grab_owner_name((int)$_SESSION['phpgw_session']['account_id']).'</option>'; 6109 if($_SESSION['phpgw_session']['account_id'] != $event['owner']){ 6110 $option .= '<option value="1" '.$selected_owner.' >'.$GLOBALS['phpgw']->common->grab_owner_name((int)$event['owner']).'</option>'; 6111 } 6112 6113 6114 $var['notifications_owner'] = Array( 6115 'field' => lang('Send notificatios as'), 6116 'data' => '<select name="cal[notifications_owner]" >'.$option.'</select>' 6117 ); 6118 6099 6119 6100 6120 if($event['recur_enddate']['year'] != 0 && $event['recur_enddate']['month'] != 0 && $event['recur_enddate']['mday'] != 0)
Note: See TracChangeset
for help on using the changeset viewer.