- Timestamp:
- 01/18/12 16:10:57 (12 years ago)
- Location:
- trunk/prototype
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/prototype
-
Property
svn:ignore
set to
.links.php.kate-swp
-
Property
svn:ignore
set to
-
trunk/prototype/modules/calendar/interceptors/Notifications.php
r5341 r5399 2 2 require_once ROOTPATH.'/modules/calendar/constants.php'; 3 3 require_once ROOTPATH.'/modules/calendar/interceptors/Helpers.php'; 4 require_once ROOTPATH.'/ app/plugins/icalcreator/iCalcreator.class.php';5 require_once ROOTPATH.'/ap p/templates/parseTPL.php';4 require_once ROOTPATH.'/plugins/icalcreator/iCalcreator.class.php'; 5 require_once ROOTPATH.'/api/parseTPL.php'; 6 6 7 7 class Notifications extends Helpers … … 140 140 141 141 $subject['notificationType'] = 'Convite de Calendario'; 142 $subject['eventTitle'] = $schedulable['summary'];142 $subject['eventTitle'] = mb_convert_encoding($schedulable['summary'],'ISO-8859-1','ISO-8859-1,UTF-8'); 143 143 $subject['startDate'] = date_format( $sTime , 'd/m/Y'); 144 144 $subject['startTime'] = ($schedulable['allDay']) ? '' : date_format( $sTime , 'H:i'); … … 200 200 201 201 $subject['notificationType'] = 'Convite Aceito'; 202 $subject['eventTitle'] = $schedulable['summary'];202 $subject['eventTitle'] = mb_convert_encoding($schedulable['summary'],'ISO-8859-1','ISO-8859-1,UTF-8'); 203 203 $subject['startDate'] = date_format( $sTime , 'd/m/Y'); 204 204 $subject['startTime'] = ($schedulable['allDay']) ? '' : date_format( $sTime , 'H:i'); … … 241 241 $mail['attachments'][] = $ical; 242 242 $mail['isHtml'] = true; 243 $mail['body'] = parseTPL::load_tpl( $data ,ROOTPATH.'/ app/templates/'.$template.'.tpl');244 $mail['subject'] = parseTPL::load_tpl( $subject ,ROOTPATH.'/ app/templates/notify_subject.tpl');;243 $mail['body'] = parseTPL::load_tpl( $data ,ROOTPATH.'/modules/calendar/templates/'.$template.'.tpl'); 244 $mail['subject'] = parseTPL::load_tpl( $subject ,ROOTPATH.'/modules/calendar/templates/notify_subject.tpl');; 245 245 $mail['from'] = Config::me('mail'); 246 246 $mail['to'] = $to; … … 293 293 294 294 $subject['notificationType'] = 'Cancelamento de Calendario'; 295 $subject['eventTitle'] = $schedulable['summary'];295 $subject['eventTitle'] = mb_convert_encoding($schedulable['summary'],'ISO-8859-1','ISO-8859-1,UTF-8'); 296 296 $subject['startDate'] = date_format( $sTime , 'd/m/Y'); 297 297 $subject['startTime'] = ($schedulable['allDay']) ? '' : date_format( $sTime , 'H:i'); … … 347 347 348 348 $subject['notificationType'] = 'Cancelamento de Calendario'; 349 $subject['eventTitle'] = $schedulable['summary'];349 $subject['eventTitle'] = mb_convert_encoding($schedulable['summary'],'ISO-8859-1','ISO-8859-1,UTF-8'); 350 350 $subject['startDate'] = date_format( $sTime , 'd/m/Y'); 351 351 $subject['startTime'] = ($schedulable['allDay']) ? '' : date_format( $sTime , 'H:i'); … … 421 421 422 422 $subject['notificationType'] = 'Modificação de Calendario'; 423 $subject['eventTitle'] = $schedulable['summary'];423 $subject['eventTitle'] = mb_convert_encoding($schedulable['summary'],'ISO-8859-1','ISO-8859-1,UTF-8'); 424 424 $subject['startDate'] = date_format($sTime, 'd/m/Y'); 425 425 $subject['startTime'] = ($schedulable['allDay']) ? '' : date_format($sTime, 'H:i');
Note: See TracChangeset
for help on using the changeset viewer.