Ignore:
Timestamp:
08/22/11 11:50:40 (13 years ago)
Author:
niltonneto
Message:

Ticket #2233 - Corrigido checkbox marcar como importante para seguir as prefs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/mobile/inc/class.ui_mobilemail.inc.php

    r4633 r4976  
    487487                function print_mails_list($messages,$print_checkbox=false) 
    488488                { 
    489                         $flagImportant = intval($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_important_flag']); 
    490                      
    491                         $functions = $this->common; 
     489            $functions = $this->common; 
    492490                        $p = $this->template; 
    493491                        $p->set_file( array( 'mobilemail_t' => 'mails_list.tpl' ) ); 
     
    524522                                                $flag="email-lido "; 
    525523                                         
    526                                         if( $message["Flagged"]==="F" && $flagImportant == 1 ) 
     524                                        if( $message["Flagged"]==="F" ) 
    527525                                                $flag.="email-importante"; 
    528526                                         
     
    691689                function new_msg($params) 
    692690                { 
     691                        $flagImportant = intval($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_important_flag']); 
    693692                        $this->template->set_file(array('new_msg_t' => 'new_msg.tpl')); 
    694693                        $this->template->set_block('new_msg_t', 'page'); 
     
    704703                        $this->template->set_var('lang_cc', lang("cc")); 
    705704                        $this->template->set_var('lang_subject', lang("Subject")); 
     705                        $this->template->set_var('visible_important', ( ($flagImportant == 1 ) ? "block" : "none" ) ); 
    706706                        $this->template->set_var('lang_mark_as_important', lang("mark as important")); 
    707707                        $this->template->set_var('lang_read_confirmation', lang("read confirmation")); 
Note: See TracChangeset for help on using the changeset viewer.