Changeset 5523 for trunk/prototype/modules
- Timestamp:
- 02/16/12 15:41:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype/modules/calendar/interceptors/Notifications.php
r5514 r5523 153 153 $data['userRequest'] = Config::me('uid'); 154 154 155 $ical2 = $ical; 156 $ical2['type'] = 'text/calendar'; 157 $ical2['name'] = 'thunderbird.ics'; 158 $params['attachments'][] = $ical2; 155 159 $params['attachments'][] = $ical; 156 160 $params['isHtml'] = true; … … 179 183 if($params['status'] == 'DECLINECOUNTER') 180 184 $data['status'] = 'não pode ser aceito'; 181 185 $ical2 = $ical; 186 $ical2['type'] = 'text/calendar'; 187 $ical2['name'] = 'thunderbird.ics'; 188 $params['attachments'][] = $ical2; 182 189 $params['attachments'][] = $ical; 183 190 $params['isHtml'] = true; … … 271 278 $schedulable['URI']['concept'] = 'schedulable'; 272 279 $ical['source'] = Controller::format( array( 'service' => 'iCal' ) , array($schedulable) , array('method' => $method) ); 273 $ical['type'] = 'text/ calendar';274 $ical['name'] = 'calendar.ics';280 $ical['type'] = 'text/plain'; 281 $ical['name'] = 'outlook.ics'; 275 282 if($regSet) 276 283 Config::regSet('ical://'.$schedulable['id'].'/'.$method, $ical); … … 420 427 private static function sendMail(&$data , &$ical , $to , &$subject , $template ) 421 428 { 429 $ical2 = $ical; 430 $ical2['type'] = 'text/calendar'; 431 $ical2['name'] = 'thunderbird.ics'; 432 $mail['attachments'][] = $ical2; 422 433 $mail['attachments'][] = $ical; 423 434 $mail['isHtml'] = true;
Note: See TracChangeset
for help on using the changeset viewer.