<?php /***************************************************************************\ * Expresso - Expresso Messenger * * - Alexandre Correia / Rodrigo Souza * * - JETI - http://jeti-im.org/ * * ------------------------------------------------------------------------- * * This program is free software; you can redistribute it and/or modify it * * under the terms of the GNU General Public License as published by the * * Free Software Foundation; either version 2 of the License, or (at your * * option) any later version. * \***************************************************************************/ //User $_SESSION['phpgw_info']['jabberit_messenger']['user'] = $GLOBALS['phpgw_info']['user']['account_lid']; $_SESSION['phpgw_info']['jabberit_messenger']['user_id'] = $GLOBALS['phpgw_info']['user']['account_id']; $_SESSION['phpgw_info']['jabberit_messenger']['passwd'] = $GLOBALS['phpgw_info']['user']['passwd']; $_SESSION['phpgw_info']['jabberit_messenger']['mail'] = $GLOBALS['phpgw_info']['user']['email']; $_SESSION['phpgw_info']['jabberit_messenger']['fullname'] = $GLOBALS['phpgw_info']['user']['fullname']; $_SESSION['phpgw_info']['jabberit_messenger']['account_dn'] = $GLOBALS['phpgw_info']['user']['account_dn']; //Members Group $_SESSION['phpgw_info']['jabberit_messenger']['membership'] = $GLOBALS['phpgw']->accounts->membership(); //Groups Locked $_SESSION['phpgw_info']['jabberit_messenger']['groups_locked'] = $GLOBALS['phpgw_info']['server']['groups_locked_jabberit']; //Server http or https $_SESSION['phpgw_info']['jabberit_messenger']['use_https'] = $GLOBALS['phpgw_info']['server']['use_https']; //Organization Ldap $_SESSION['phpgw_info']['jabberit_messenger']['account_dn'] = $GLOBALS['phpgw_info']['user']['account_dn']; //Ldap $_SESSION['phpgw_info']['jabberit_messenger']['server_ldap_jabberit'] = $GLOBALS['phpgw_info']['server']['server_ldap_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['context_ldap_jabberit'] = $GLOBALS['phpgw_info']['server']['context_ldap_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['user_ldap_jabberit'] = $GLOBALS['phpgw_info']['server']['user_ldap_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['password_ldap_jabberit'] = $GLOBALS['phpgw_info']['server']['password_ldap_jabberit']; //DB $_SESSION['phpgw_info']['jabberit_messenger']['server']['db_name'] = $GLOBALS['phpgw_info']['server']['db_name']; $_SESSION['phpgw_info']['jabberit_messenger']['server']['db_host'] = $GLOBALS['phpgw_info']['server']['db_host']; $_SESSION['phpgw_info']['jabberit_messenger']['server']['db_port'] = $GLOBALS['phpgw_info']['server']['db_port']; $_SESSION['phpgw_info']['jabberit_messenger']['server']['db_user'] = $GLOBALS['phpgw_info']['server']['db_user']; $_SESSION['phpgw_info']['jabberit_messenger']['server']['db_pass'] = $GLOBALS['phpgw_info']['server']['db_pass']; $_SESSION['phpgw_info']['jabberit_messenger']['server']['db_type'] = $GLOBALS['phpgw_info']['server']['db_type']; //Jabberd $_SESSION['phpgw_info']['jabberit_messenger']['name_jabberit'] = $GLOBALS['phpgw_info']['server']['name_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['port_jabberit'] = $GLOBALS['phpgw_info']['server']['port_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['resource_jabberit'] = $GLOBALS['phpgw_info']['server']['resource_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['group_chat_jabberit'] = $GLOBALS['phpgw_info']['server']['group_chat_server_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['use_ssl_jabberit'] = $GLOBALS['phpgw_info']['server']['use_ssl_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['use_proxy_java'] = $GLOBALS['phpgw_info']['server']['use_proxy_java']; $_SESSION['phpgw_info']['jabberit_messenger']['name_company'] = $GLOBALS['phpgw_info']['server']['name_company_applet_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['use_attribute_jabberit'] = $GLOBALS['phpgw_info']['server']['use_attribute_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['attributes_org_ldap_jabberit'] = $GLOBALS['phpgw_info']['server']['attributes_org_ldap_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['use_external_participants_jabberit'] = $GLOBALS['phpgw_info']['server']['use_external_participants_jabberit']; $_SESSION['phpgw_info']['jabberit_messenger']['conf_organization_jabberit'] = $GLOBALS['phpgw_info']['server']['conf_organization_jabberit']; ?>