Changeset 2030


Ignore:
Timestamp:
02/19/10 09:12:49 (14 years ago)
Author:
amuller
Message:

Ticket #911 - adaptação do Eadmin para expressoajax

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/controller.php

    r2012 r2030  
    3434        if($app == '$this') 
    3535                $app = $_SESSION['phpgw_info']['expresso']['currentapp']; 
    36          
    37         $filename = $app.'/inc/class.'.$class.'.inc.php'; 
     36        else if( strpos($app, '$this/') !== false ) 
     37        { 
     38                $filename = str_replace('$this/','',$app) . '.php'; 
     39                include_once($filename); 
     40                exit; 
     41        } 
     42        else 
     43                $filename = $app.'/inc/class.'.$class.'.inc.php'; 
    3844 
    3945        include_once($filename); 
  • trunk/expressoAdmin1_2/inc/class.db_functions.inc.php

    r1516 r2030  
    11<?php 
    2 define('PHPGW_INCLUDE_ROOT','../');      
    3 define('PHPGW_API_INC','../phpgwapi/inc'); 
     2define('PHPGW_INCLUDE_ROOT','./');       
     3define('PHPGW_API_INC','phpgwapi/inc'); 
    44include_once(PHPGW_API_INC.'/class.db.inc.php'); 
    55 
  • trunk/expressoAdmin1_2/js/jscode/managers.js

    r639 r2030  
    8989        }; 
    9090         
    91         cExecute ('$this.manager.validate&contexts='+contexts+'&manager_lid='+document.managers_form.ea_select_manager.value+'&type='+type, handler_validade); 
     91        cExecute ('expressoAdmin1_2.manager.validate&contexts='+contexts+'&manager_lid='+document.managers_form.ea_select_manager.value+'&type='+type, handler_validade); 
    9292} 
    9393function handler_createsave_manager(data){ 
  • trunk/phpgwapi/js/expressoAjax/expressoAjax.js

    r2015 r2030  
    593593                } 
    594594 
    595                 var divFiles = Element("divFiles_"+id); 
     595                var divFiles = document.getElementById("divFiles_"+id); 
    596596                if (divFiles && divFiles.firstChild) { 
    597597                        el                      = document.createElement('input'); 
Note: See TracChangeset for help on using the changeset viewer.