srcs[1]; $webserver_url = $GLOBALS['phpgw_info']['server']['webserver_url']; $webserver_url = ( !empty($webserver_url) ) ? $webserver_url : '/'; if(strrpos($webserver_url,'/') === false || strrpos($webserver_url,'/') != (strlen($webserver_url)-1)) $webserver_url .= '/'; $webserver_url = $webserver_url . 'jabberit_messenger/'; require_once PHPGW_SERVER_ROOT . '/jabberit_messenger/inc/jabberit_sessions.inc.php'; $_SESSION['phpgw_info']['jabberit_messenger']['webserver_url'] = $webserver_url; require_once dirname(__FILE__) . '/load_lang.php'; $var_js = "var path_jabberit='".$webserver_url."';"; echo ""; $js = array( 'connector', 'xtools', 'dragdrop', 'windows', 'ldap', 'images', 'show_hidden', 'load', 'editSelect' ); require_once dirname(__FILE__) . '/Controller.class.php'; $controller = new Controller; $script = ''; foreach( $js as $key => $val ) { $val = array('act' => 'j.' . $val ); $script .= $controller->exec($val); } printf("", $script); print ''; print ''; print ''; break; } } ?>