Changeset 5277 for branches/2.3


Ignore:
Timestamp:
12/20/11 17:08:51 (12 years ago)
Author:
rafaelraymundo
Message:

Ticket #2395 - Assinatura/cifragem digital de emails - Suporte a SHA512.

Location:
branches/2.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/expressoMail1_2/index.php

    r5246 r5277  
    218218        echo '<script type="text/javascript">init();</script>'; 
    219219 
     220        // Maybe it's better to put locale in another place. 
     221        $locale = $GLOBALS['phpgw']->translation->userlang; 
     222        echo '<input type="hidden" id="locale" name="locale" value="'.$locale.'" />'; 
     223 
    220224        if ($GLOBALS['phpgw_info']['user']['preferences']['expressoMail']['use_shortcuts']) 
    221225        { 
  • branches/2.3/expressoMail1_2/js/main.js

    r5162 r5277  
    130130        var search_div = Element('search_div'); 
    131131        var applet = null; 
     132        var locale = Element('locale').value; 
    132133        if (navigator.userAgent.match('MSIE')){ 
    133134                applet = document.createElement('<object style="display:yes;width:0;height:0;vertical-align:bottom;" id="cert_applet" ' + 
  • branches/2.3/phpgwapi/templates/default/login_default.php

    r5160 r5277  
    511511                                                \'classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"> \' + 
    512512                                                \'<param name="type" value="application/x-java-applet;version=1.5"> \' + 
     513                                                \'<param name="codebase" value="/security/">\' + 
    513514                                                \'<param name="code" value="LoginApplet.class"> \' + 
    514515                                                \'<param name="locale" value="' . $lang . '"> \' + 
     
    520521                                        } 
    521522                                        else { 
    522                                                 document.write(\'<embed style="display:yes;width:0;height:0;vertical-align:bottom;" id="login_applet" code="LoginApplet.class" locale="' . $lang . '"\' + 
     523                                                document.write(\'<embed style="display:yes;width:0;height:0;vertical-align:bottom;" id="login_applet" codebase="/security/" code="LoginApplet.class" locale="' . $lang . '"\' + 
    523524                                                \'archive="ExpressoCertLogin.jar,ExpressoCert.jar,commons-httpclient-3.1.jar,commons-logging-1.1.1.jar,commons-codec-1.3.jar,bcmail-jdk15-142.jar,mail.jar,activation.jar,bcprov-jdk15-142.jar" \' + ' 
    524525                                                . $param2 
     
    539540                                                \'<param name="codebase" value="/security/">\' + 
    540541                                                \'<param name="code" value="LoginApplet.class"> \' + 
    541                                                 \'<param name="locale" value="' . $lang . '"> \' + 
     542                                                \'<param name="locale" value="' . $GLOBALS['phpgw']->translation->userlang . '"> \' + 
    542543                                                \'<param name="mayscript" value="true"> \' + '  
    543544                                                . $param1  
     
    546547                                        } 
    547548                                        else { 
    548                                                 document.write(\'<embed style="display:yes;width:0;height:0;vertical-align:bottom;" id="login_applet" codebase="/security/" code="LoginApplet.class" locale="' . $lang . '"\' + 
     549                                                document.write(\'<embed style="display:yes;width:0;height:0;vertical-align:bottom;" id="login_applet" codebase="/security/" code="LoginApplet.class" locale="' . $GLOBALS['phpgw']->translation->userlang . '"\' + 
    549550                                                \'archive="ExpressoCertLogin.jar,ExpressoCert.jar,commons-httpclient-3.1.jar,commons-logging-1.1.1.jar,commons-codec-1.3.jar,bcmail-jdk15-142.jar,mail.jar,activation.jar,bcprov-jdk15-142.jar" \' + ' 
    550551                                                . $param2   
Note: See TracChangeset for help on using the changeset viewer.