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 .= '/';
$help_expresso = $webserver_url .'help';
$webserver_url = $webserver_url . 'jabberit_messenger/jmessenger/';
require_once PHPGW_SERVER_ROOT . '/jabberit_messenger/jmessenger/inc/jabberit_sessions.inc.php';
$_SESSION['phpgw_info']['jabberit_messenger']['webserver_url'] = $webserver_url;
// Temas Expresso
$theme = "window_" . $GLOBALS['phpgw_info']['user']['preferences']['common']['theme'] . ".css";
if( !file_exists('../jabberit_messenger/jmessenger/templates/default/css/'.$theme) )
$theme = "window_default.css";
// User
$fullName = $_SESSION['phpgw_info']['jabberit_messenger']['fullname'];
$js = "var path_jabberit ='".$webserver_url."';";
$js .= "var theme_jabberit ='".$theme."';";
$js .= "var help_expresso ='".$help_expresso."';";
// Preferences User
require_once PHPGW_SERVER_ROOT . '/jabberit_messenger/jmessenger/inc/class.DataBaseIM.inc.php';
$_DbIM = new DataBaseIM();
$preferences = $_DbIM->getPreferences();
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
break;
}
}
?>