Changeset 5134 for trunk/expressoMail1_2/index.php
- Timestamp:
- 11/03/11 13:24:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/index.php
r5083 r5134 20 20 <script src='../library/ckeditor/ckeditor.js' language='javascript'></script> 21 21 <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>"; 23 24 //---------------------------// 24 25 echo '<link href="js/lert/lert.css" rel="stylesheet" type="text/css"/>'; … … 26 27 echo "<script src='js/globals.js?".$update_version."' type='text/javascript'></script>"; 27 28 echo "<script src='js/sniff_browser.js?".$update_version."' type='text/javascript'></script>"; 29 echo "<script src='js/QuickCatalogSearch.js' type='text/javascript'></script>"; 28 30 echo "<style type='text/css'>@import url(../phpgwapi/js/jscalendar/calendar-win2k-1.css);</style>"; 29 31 echo "<script src='../phpgwapi/js/jscalendar/calendar.js?".$update_version."' type='text/javascript'></script>"; … … 33 35 <script type="text/javascript" src="../phpgwapi/js/dJSWin/dJSWin.js?'.$update_version.'"></script>'; 34 36 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 '; 35 51 36 52 /* 37 * TODO: implementar o controle como prefer ência do usuário53 * TODO: implementar o controle como preferência do usuário 38 54 * 39 55 */ 40 56 $jcarousel = false; 41 57 if ($jcarousel) { 42 //jquery43 echo "\n".'<script src="../library/jquery/jquery-1.6.1.min.js" type="text/javascript"></script>';44 58 //jcarousel 59 echo "\n".'<link rel="stylesheet" type="text/css" href="../library/jcarousel/skins/default/skin.css" />'; 45 60 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 47 62 //fancybox 63 echo "\n".'<link rel="stylesheet" type="text/css" href="../library/fancybox/jquery.fancybox-1.3.4.css" />'; 48 64 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>"; 53 68 54 69 … … 83 98 $current_config = $c->config_data; 84 99 100 //Carrega Configuração global do expressoMail 101 $_SESSION['phpgw_info']['expresso']['expressoMail'] = $current_config; 102 85 103 $_SESSION['phpgw_info']['expressomail']['email_server'] = $boemailadmin->getProfile($emailadmin_profile[0]['profileID']); 86 104 // $_SESSION['phpgw_info']['expressomail']['user'] = $GLOBALS['phpgw_info']['user']; … … 114 132 $_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"; 115 133 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" : ''; 117 135 $_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"; 118 136 $_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.