Ignore:
Timestamp:
05/25/10 10:40:13 (14 years ago)
Author:
amuller
Message:

Ticket #1086 - Implementando a classe rsa com passagem entre php e js

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.common.inc.php

    r2846 r2847  
    392392                                                $webserver_url .= '/'; 
    393393 
     394                                        require_once('class.rsa.inc.php'); 
     395                                        $rsa = new rsa(); 
    394396                                        $expressolivre = CreateObject( 'phpgwapi.expressolivre' ); 
    395397 
     
    398400                                                . 'var template = "' . $GLOBALS[ 'phpgw_info' ][ 'server' ][ 'template_set' ] . '";' 
    399401                                                . 'var ExpressoLivre = function ExpressoLivre( ) { return String( \'' . $expressolivre -> configuration( ) . '\' ); };' 
     402                                                . 'keys = ['.$rsa->get_publKey().','.$rsa->get_mod().'];' 
    400403                                                . '</script>'; 
    401404 
    402405                                        $GLOBALS[ 'phpgw' ] -> js -> validate_file( 'wz_dragdrop', 'wz_dragdrop', NULL, true ); 
    403406                                        $GLOBALS[ 'phpgw' ] -> js -> validate_file( 'expressoAjax', 'expressoAjax', NULL, true ); 
     407 
     408                                        $GLOBALS[ 'phpgw' ] -> js -> validate_file( 'expressoAjax', 'bigInt', NULL, true ); 
     409 
    404410                                        $GLOBALS[ 'phpgw' ] -> js -> validate_file( 'expressoAjax', 'dom', NULL, true ); 
    405411                                        $GLOBALS[ 'phpgw' ] -> js -> validate_file( 'expressolivre','expressolivre', NULL, true ); 
Note: See TracChangeset for help on using the changeset viewer.