Ignore:
Timestamp:
11/03/11 13:24:28 (12 years ago)
Author:
wmerlotto
Message:

Ticket #2305 - Enviando alteracoes, desenvolvidas internamente na Prognus, do modulo ExpressoMail?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/index.php

    r5083 r5134  
    2020                        <script src='../library/ckeditor/ckeditor.js' language='javascript'></script>  
    2121                        <script src='../library/ckeditor/adapters/jquery.js' language='javascript'></script>  
    22                         <script src='js/rich_text_editor.js' type='text/javascript'></script>";  
     22                <script src='js/rich_text_editor.js' type='text/javascript'></script> 
     23                <script src='js/base64.js' type='text/javascript'></script>"; 
    2324                //---------------------------//  
    2425        echo '<link href="js/lert/lert.css" rel="stylesheet" type="text/css"/>'; 
     
    2627        echo "<script src='js/globals.js?".$update_version."' type='text/javascript'></script>"; 
    2728        echo "<script src='js/sniff_browser.js?".$update_version."' type='text/javascript'></script>"; 
     29        echo "<script src='js/QuickCatalogSearch.js' type='text/javascript'></script>"; 
    2830        echo "<style type='text/css'>@import url(../phpgwapi/js/jscalendar/calendar-win2k-1.css);</style>"; 
    2931        echo "<script src='../phpgwapi/js/jscalendar/calendar.js?".$update_version."' type='text/javascript'></script>"; 
     
    3335                <script type="text/javascript" src="../phpgwapi/js/dJSWin/dJSWin.js?'.$update_version.'"></script>'; 
    3436 
     37        echo ' 
     38        <script type="text/javascript" src="../prototype/app/plugins/view/jquerymx-1.0.custom.min.js"></script> 
     39        <script type="text/javascript" src="../prototype/app/plugins/treeview/jquery.treeview.js"></script> 
     40        <script type="text/javascript" src="../prototype/app/plugins/block/jquery.blockUI.js"></script> 
     41 
     42        <link rel="stylesheet" href="../prototype/app/plugins/treeview/jquery.treeview.css" type="text/css" media="screen" /> 
     43        <script src="../prototype/app/plugins/jqgrid/js/i18n/grid.locale-pt-br.js" type="text/javascript"></script> 
     44        <script src="../prototype/app/plugins/jqgrid/js/jquery.jqGrid.min.js" type="text/javascript"></script> 
     45        <link rel="stylesheet" href="../prototype/app/plugins/jqgrid/css/ui.jqgrid.css" type="text/css" />       
     46        <link rel="stylesheet" href="../prototype/app/plugins/jqgrid/themes/prognusone/jquery-ui-1.8.2.custom.css" type="text/css" />    
     47 
     48        <script src="../prototype/app/plugins/countdown/jquery.countdown.min.js" type="text/javascript"></script> 
     49        <script src="../prototype/app/plugins/countdown/jquery.countdown-pt-BR.js" type="text/javascript"></script>      
     50        '; 
    3551 
    3652        /* 
    37          * TODO: implementar o controle como preferência do usuário 
     53         * TODO: implementar o controle como preferência do usuário  
    3854         * 
    3955         */ 
    4056        $jcarousel = false; 
    4157        if ($jcarousel) { 
    42                 //jquery 
    43                 echo "\n".'<script src="../library/jquery/jquery-1.6.1.min.js" type="text/javascript"></script>'; 
    4458                //jcarousel 
     59                echo "\n".'<link rel="stylesheet" type="text/css" href="../library/jcarousel/skins/default/skin.css" />'; 
    4560                echo "\n".'<script src="../library/jcarousel/lib/jquery.jcarousel.min.js" type="text/javascript"></script>'; 
    46                 echo "\n".'<link rel="stylesheet" type="text/css" href="../library/jcarousel/skins/default/skin.css" />'; 
     61 
    4762                //fancybox 
     63                echo "\n".'<link rel="stylesheet" type="text/css" href="../library/fancybox/jquery.fancybox-1.3.4.css" />';              
    4864                echo "\n".'<script src="../library/fancybox/jquery.fancybox-1.3.4.pack.js" type="text/javascript"></script>'; 
    49                 echo "\n".'<script src="../library/fancybox/jquery.easing-1.4.pack.js" type="text/javascript"></script>'; 
    50                 echo "\n".'<script src="../library/fancybox/jquery.mousewheel-3.0.4.pack.js" type="text/javascript"></script>';  
    51                 echo "\n".'<link rel="stylesheet" type="text/css" href="../library/fancybox/jquery.fancybox-1.3.4.css" />';              
    52         } 
     65        } 
     66 
     67        echo "<div id='overlay' style='background-color: #AAAAAAA; opacity: .50; filter:Alpha(Opacity=50); height: 100%; width: 100%; position: absolute; top: 0; left: 0; visibility: hidden; z-index: 30000000000000000000000'></div>"; 
    5368 
    5469         
     
    8398    $current_config = $c->config_data;     
    8499 
     100        //Carrega Configuração global do expressoMail  
     101        $_SESSION['phpgw_info']['expresso']['expressoMail'] =  $current_config;  
     102     
    85103        $_SESSION['phpgw_info']['expressomail']['email_server'] = $boemailadmin->getProfile($emailadmin_profile[0]['profileID']); 
    86104//      $_SESSION['phpgw_info']['expressomail']['user'] = $GLOBALS['phpgw_info']['user']; 
     
    114132        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['keep_after_auto_archiving'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['keep_after_auto_archiving'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['keep_after_auto_archiving'] : "0"; 
    115133 
    116         $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_attachment_size'] = $current_config['expressoMail_Max_attachment_size'] ? $current_config['expressoMail_Max_attachment_size']."M" : ini_get('upload_max_filesize'); 
     134        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_attachment_size'] = $current_config['expressoMail_Max_attachment_size'] ? $current_config['expressoMail_Max_attachment_size']."M" : ''; 
    117135        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['max_msg_size'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['max_msg_size'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['max_msg_size'] : "0"; 
    118136        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['imap_max_folders'] = $current_config['expressoMail_imap_max_folders']; 
Note: See TracChangeset for help on using the changeset viewer.