Changeset 3697 for branches/2.2/mobile/inc
- Timestamp:
- 01/18/11 15:38:45 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/inc/class.ui_mobilemail.inc.php
r3695 r3697 207 207 $this->template->set_file(array('view_msg' => 'view_msg.tpl')); 208 208 $this->template->set_block('view_msg', 'page'); 209 $this->template->set_block('view_msg', 'begin_anchor');210 $this->template->set_block('view_msg', 'end_anchor');211 209 $this->template->set_block('view_msg', 'operation_block'); 210 $this->template->set_block('view_msg', 'attachment_alert_block'); 212 211 $this->template->set_var('lang_back', lang("back")); 213 212 $this->template->set_var('lang_reading_message', lang("Reading Message")); 213 $this->template->set_var('theme', $GLOBALS['phpgw_info']['server']['template_set']); 214 214 215 215 // Define o cabeçalho do e-mail 216 216 $this->template->set_var('lang_from', lang("From")); 217 217 $this->template->set_var('from', $msg['from']['full']); 218 $this->template->set_var('lang_to', lang("To")); 219 $this->template->set_var('to', $msg['toaddress2']); 218 220 $this->template->set_var('lang_cc', lang("cc")); 219 221 $this->template->set_var('cc', $msg['cc']); … … 226 228 // Mostra o corpo do e-mail 227 229 $this->template->set_var('body', strip_tags($msg['body'], $this->allowed_tags)); // Usa a função strip_tags() para filtrar 228 // as tags que estão presentes no corpo do e-mail.229 $this->template->set_var('lang_link', lang("Return"));230 $this->template->set_var('return_link', "index.php?menuaction=mobile.ui_mobilemail.mail_list");231 230 232 231 $operations = array(); … … 268 267 } 269 268 } 269 270 $this->template->parse('attachment_alert_box','attachment_alert_block', true); 270 271 $this->template->set_var('attachment_message', $attachs); 271 272 } … … 275 276 } 276 277 277 $this->template->parse('view_msg_t', 'end_anchor');278 $this->template->parse('view_msg_t', 'begin_anchor');279 280 278 $GLOBALS['phpgw_info']['mobiletemplate']->set_error_msg($params["error_message"]); 281 279 $GLOBALS['phpgw_info']['mobiletemplate']->set_content($this->template->fp('out', 'page'));
Note: See TracChangeset
for help on using the changeset viewer.