Changeset 1378


Ignore:
Timestamp:
08/28/09 15:15:00 (15 years ago)
Author:
niltonneto
Message:

Ticket #485 - Removido preferência que não é mais utilizada.

Location:
trunk/expressoMail1_2
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/hook_settings.inc.php

    r1375 r1378  
    107107else 
    108108{ 
    109         require_once('class.imap_functions.inc.php'); 
    110         $boemailadmin = CreateObject('emailadmin.bo'); 
    111         $emailadmin_profile = $boemailadmin->getProfileList(); 
    112         $_SESSION['phpgw_info']['expressomail']['email_server'] = $boemailadmin->getProfile($emailadmin_profile[0]['profileID']); 
    113         $_SESSION['phpgw_info']['expressomail']['user'] = $GLOBALS['phpgw_info']['user']; 
    114         $e_server = $_SESSION['phpgw_info']['expressomail']['email_server']; 
    115          
    116         $imap = CreateObject('expressoMail1_2.imap_functions'); 
    117         $save_in_folder_selected = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['save_in_folder']; 
    118  
    119         // Load Special Folders (Sent, Trash, Draft, Spam) from EmailAdmin (if exists, else get_lang) 
    120         $specialFolders = array ("Trash" => lang("Trash"), "Drafts" => lang("Drafts"), "Spam" => lang("Spam"), "Sent" => lang("Sent"));  
    121         foreach ($specialFolders as $key => $value){ 
    122                 if($e_server['imapDefault'.$key.'Folder']) 
    123                         $specialFolders[$key] = $e_server['imapDefault'.$key.'Folder']; 
    124         } 
    125         unset($default); 
    126         $default[-1] = lang('Select on send'); 
     109require_once('class.imap_functions.inc.php'); 
     110$boemailadmin = CreateObject('emailadmin.bo'); 
     111$emailadmin_profile = $boemailadmin->getProfileList(); 
     112$_SESSION['phpgw_info']['expressomail']['email_server'] = $boemailadmin->getProfile($emailadmin_profile[0]['profileID']); 
     113$_SESSION['phpgw_info']['expressomail']['user'] = $GLOBALS['phpgw_info']['user']; 
     114$e_server = $_SESSION['phpgw_info']['expressomail']['email_server']; 
     115$imap = CreateObject('expressoMail1_2.imap_functions'); 
     116$save_in_folder_selected = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['save_in_folder']; 
     117 
     118// Load Special Folders (Sent, Trash, Draft, Spam) from EmailAdmin (if exists, else get_lang) 
     119$specialFolders = array ("Trash" => lang("Trash"), "Drafts" => lang("Drafts"), "Spam" => lang("Spam"), "Sent" => lang("Sent")); 
     120 
     121foreach ($specialFolders as $key => $value){ 
     122        if($e_server['imapDefault'.$key.'Folder']) 
     123                $specialFolders[$key] = $e_server['imapDefault'.$key.'Folder']; 
     124} 
     125unset($default); 
     126$default[-1] = lang('Select on send'); 
    127127         
    128128        foreach($imap -> get_folders_list(array('noSharedFolders' => true)) as $id => $folder){ 
     
    146146                }                
    147147        } 
     148 
    148149} 
    149150create_select_box('Save sent messages in folder','save_in_folder',$default,'Save automatically sent messages in selected folder'); 
     
    157158 
    158159create_select_box('What is the height of the lines in the list of messages?','line_height',$default,''); 
    159 $default = array( 
    160         '10' => lang('small'), 
    161         '11' => lang('normal'), 
    162         '15' => lang('big') 
    163 ); 
    164  
    165 create_select_box('What the font size in the list of messages?','font_size',$default,''); 
    166160create_check_box('Use dynamic contacts?','use_dynamic_contacts','Store your\'s most used contacts'); 
    167161create_check_box('Use shortcuts?','use_shortcuts',''); 
  • trunk/expressoMail1_2/js/draw_api.js

    r1375 r1378  
    716716function make_tr_message(headers_msgs, msg_folder){ 
    717717                var tr_element = document.createElement('tr'); 
    718                 tr_element.style.height = preferences.line_height; 
    719                 var _fontSize = preferences.font_size ? preferences.font_size : "11"; 
     718                tr_element.style.height = preferences.line_height;               
    720719                tr_element.id = headers_msgs.msg_number; 
    721720 
     
    908907                td_element6.setAttribute("align", "center"); 
    909908                 
    910                 td_element3.style.fontSize= _fontSize; 
    911                 td_element4.style.fontSize= _fontSize; 
    912                 td_element5.style.fontSize= _fontSize; 
    913                 td_element6.style.fontSize= _fontSize; 
    914909                msg_size = headers_msgs.Size; 
    915910                if (msg_size < 1048576 && msg_size > 1024) 
  • trunk/expressoMail1_2/setup/phpgw_en.lang

    r1340 r1378  
    127127Folders expressoMail1_2 en      Folders 
    128128Font    expressoMail1_2 en      Font 
    129 What the font size in the list of messages?     expressoMail1_2 en      What the font size in the list of messages? 
    130129forecolor       expressoMail1_2 en      forecolor 
    131130Forwarded       expressoMail1_2 en      Forwarded 
  • trunk/expressoMail1_2/setup/phpgw_es-es.lang

    r343 r1378  
    341341What is the height of the lines in the list of messages?        expressoMail1_2 es-es   ¿Cuál es la altura de las líneas en la lista de mensajes? 
    342342What is the maximum number of messages per page?        expressoMail1_2 pt-br   ¿Cuál es el número máximo de mensajes por página? 
    343 What the font size in the list of messages?     expressoMail1_2 es-es   ¿Cuál el tamaño de la fuente en la lista de mensajes? 
    344343Who     expressoMail1_2 es-es   Quién 
    345344With all        expressoMail1_2 es-es   Con todos 
Note: See TracChangeset for help on using the changeset viewer.