Changeset 3907 for branches/2.2/mobile/inc/class.ui_mobilemail.inc.php
- Timestamp:
- 03/24/11 15:36:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/mobile/inc/class.ui_mobilemail.inc.php
r3829 r3907 229 229 // Mostra o corpo do e-mail 230 230 $this->template->set_var('body', strip_tags($msg['body'], $this->allowed_tags)); // Usa a função strip_tags() para filtrar 231 231 232 232 $operations = array(); 233 233 234 234 if($msg["Draft"] === "X") { 235 235 $operations["edit_draft"]["link"] = "index.php?menuaction=mobile.ui_mobilemail.new_msg&msg_number=$msg_number&msg_folder=$msg_folder&type=use_draft"; … … 245 245 $operations["reply_all"]["lang"] = lang("Reply to all"); 246 246 } 247 247 248 248 $operations["delete"]["link"] = "index.php?menuaction=mobile.ui_mobilemail.confirm_delete_msg&msg_number=$msg_number&msg_folder=$msg_folder"; 249 $operations["delete"]["lang"] = lang("Delete"); 250 249 $operations["delete"]["lang"] = lang("Delete"); 250 251 251 foreach($operations as $index=>$operation) { 252 252 $this->template->set_var('operation_link', $operation["link"]); 253 253 $this->template->set_var('operation_id', $index); 254 $this->template->set_var('lang_operation', $operation["lang"]); 255 $this->template->parse('operation_box','operation_block', true); 256 } 257 254 $this->template->set_var('lang_operation', $operation["lang"]); 255 $this->template->parse('operation_box','operation_block', true); 256 } 257 258 258 if (!empty($msg['attachments'])) 259 259 { … … 268 268 } 269 269 } 270 270 271 271 $this->template->parse('attachment_alert_box','attachment_alert_block', true); 272 272 $this->template->set_var('attachment_message', $attachs);
Note: See TracChangeset
for help on using the changeset viewer.