Ignore:
Timestamp:
03/20/12 08:56:56 (12 years ago)
Author:
gustavo
Message:

Ticket #2549 - Definição de DOCTYPE no html para viabilizar cross-browsing no ExpressoMail?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/index.php

    r5730 r5754  
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    12<?php 
    23                /***************************************************************************  
     
    2122        $_SESSION['phpgw_info']['expressomail']['user'] = $GLOBALS['phpgw_info']['user']; 
    2223        $GLOBALS['phpgw']->css->validate_file('expressoMail1_2/templates/' . $GLOBALS['phpgw_info']['server']['template_set'] . '/main.css'); 
    23         //$GLOBALS['phpgw']->css->validate_file('expressoMail1_2/templates/' . $GLOBALS['phpgw_info']['server']['template_set'] . '/expressoMail_reset.css'); 
    2424        $GLOBALS['phpgw']->css->validate_file('phpgwapi/js/dftree/dftree.css'); 
    2525        echo $GLOBALS['phpgw']->css->get_css(); 
     
    3232                <link rel="stylesheet" type="text/css" href="../prototype/plugins/icalendar/jquery.icalendar.css"></link> 
    3333         
    34                 <link rel="Stylesheet" type="text/css" href="templates/default/expressoMail_reset.css" /> 
    3534                <script type="text/javascript" src="../prototype/plugins/jquery/jquery.min.js"></script> 
    3635 
    37                 <script type="text/javascript">  
    38                         $.ajax({  
    39                                         url: "../expressoCalendar/index.php",  
    40                                         async: false});  
    41                 </script>  
    42  
    4336                <script type="text/javascript" src="../prototype/plugins/jquery/jquery-ui.min.js"></script> 
    44                 <script type="text/javascript" src="../prototype/plugins/jquery/jquery-ui.custom.min.js"></script> 
    4537                <script src="../prototype/plugins/json2/json2.js" language="javascript"></script> 
    4638                <script src="../prototype/plugins/ejs/ejs.js" language="javascript"></script> 
     
    5345                <script src="../library/ckeditor/adapters/jquery.js" language="javascript"></script>  
    5446                <link rel="Stylesheet" type="text/css" href="../prototype/plugins/jquery/jquery-ui.css" />                                       
    55                 <link rel="Stylesheet" type="text/css" href="../prototype/plugins/jquery/jquery-ui.custom.css" /> 
    5647                 
    5748                <link rel="stylesheet" type="text/css" href="../prototype/plugins/contextmenu/jquery.contextMenu.css"></link> 
     
    8172                <script type="text/javascript" src="../prototype/modules/calendar/js/calendar.date.js"></script> 
    8273                <script type="text/javascript" src="../prototype/modules/calendar/js/calendar.codecs.js"></script> 
     74                 
    8375 
    8476                <script src="js/rich_text_editor.js" type="text/javascript"></script> 
     
    218210        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['from_to_sent'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['from_to_sent'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['from_to_sent'] : "0"; 
    219211        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['auto_create_local'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['auto_create_local'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['auto_create_local'] : "0"; 
    220         $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['use_SpellChecker'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_SpellChecker'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_SpellChecker'] : "0"; 
    221212        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['return_recipient_deafault'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['return_recipient_deafault'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['return_recipient_deafault'] : "0"; 
    222213 
    223214        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['quick_search_default'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['quick_search_default'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['quick_search_default'] : 1; 
    224215        $_SESSION['phpgw_info']['user']['preferences']['expressoMail']['auto_close_first_tab'] = $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['auto_close_first_tab'] ? $GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['auto_close_first_tab'] : "0"; 
    225  
    226         //SpellChecker 
    227         if($_SESSION['phpgw_info']['user']['preferences']['expressoMail']['use_SpellChecker'] !='0'){ 
    228             echo '<link rel="stylesheet" type="text/css" href="spell_checker/css/spell_checker.css">'; 
    229             echo '<script src="spell_checker/cpaint/cpaint2.inc.js" type="text/javascript"></script>'; 
    230             echo ' <script src="spell_checker/js/spell_checker.js" type="text/javascript"></script>'; 
    231         } 
    232216         
    233217        $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); 
     
    323307                $("#menu2Container").hide(); 
    324308    </script> 
    325                 <script type="text/javascript" src="../prototype/plugins/timepicker/jquery-ui-timepicker-addon.js"></script> 
    326                 <script type="text/javascript" src="../prototype/plugins/timepicker/localization/jquery-ui-timepicker-pt-BR.js"></script> 
    327                 <script type="text/javascript" src="../prototype/plugins/jquery/i18n/jquery.ui.datepicker-pt-BR.js"></script> 
    328                 <link rel="Stylesheet" type="text/css" href="../prototype/plugins/timepicker/jquery-ui-timepicker-addon.css" /> 
     309        <script type="text/javascript" src="../prototype/plugins/timepicker/jquery-ui-timepicker-addon.js"></script> 
     310        <script type="text/javascript" src="../prototype/plugins/timepicker/localization/jquery-ui-timepicker-pt-BR.js"></script> 
     311        <script type="text/javascript" src="../prototype/plugins/jquery/i18n/jquery.ui.datepicker-pt-BR.js"></script> 
     312        <link rel="Stylesheet" type="text/css" href="../prototype/plugins/timepicker/jquery-ui-timepicker-addon.css" /> 
     313        <link rel="stylesheet" type="text/css" href="../prototype/modules/calendar/css/layout.css" /> 
     314        <link rel="stylesheet" type="text/css" href="../prototype/modules/calendar/css/style.css" /> 
     315        <script type="text/javascript" src="../prototype/modules/filters/filters.js"></script> 
    329316        '; 
    330317         
     
    351338        echo '<script src="../phpgwapi/js/dftree/dftree.js?'.$update_version.'"></script>';  
    352339     
    353     echo '<script src="js/drag_area.js?'.$GLOBALS['phpgw_info']['apps']['expressoMail1_2']['version'].'"></script>'; 
    354340        $scripts = "js/abas.js," . 
    355341                                "js/main.js," . 
     
    367353                <script type="text/javascript"> 
    368354                        init(); 
    369                 </script>'; 
     355                </script> 
     356                <script type="text/javascript">connector.updateVersion = "'.$update_version.'";</script>'; 
    370357 
    371358        if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_shortcuts']) 
     
    383370        unset($_SESSION['phpgw_info']['expressomail']['server']['global_denied_groups']); 
    384371?> 
    385  
    386 <html> 
    387 <head> 
    388         <title>ExpressoMail</title> 
    389 </head> 
    390 <body scroll="no" style="overflow:hidden" class="expressomail-module-container"> 
    391         <link rel='stylesheet' type='text/css' href='../prototype/modules/calendar/css/layout.css' /> 
    392         <link rel='stylesheet' type='text/css' href='../prototype/modules/calendar/css/style.css' /> 
    393         <link rel='stylesheet' type='text/css' href='../prototype/plugins/fileupload/jquery.fileupload-ui.css' /> 
    394         <script src="../prototype/plugins/fileupload/jquery.fileupload.js"></script> 
    395         <script src="../prototype/plugins/fileupload/jquery.iframe-transport.js"></script> 
    396 </body> 
    397 </html> 
    398 <script type="text/javascript" src="../prototype/modules/filters/filters.js"></script> 
    399 <script type="text/javascript">connector.updateVersion = "<?=$update_version?>";</script> 
     372<div class="expressomail-module-container"> 
     373</div> 
    400374<!-----Expresso Mail - Version Updated:<?=$update_version?>--------> 
Note: See TracChangeset for help on using the changeset viewer.