phpBB

Code Changes

File: includes/acp/acp_jabber.php

  Unmodified   Added   Modified   Removed
Line 34Line 34

$user->add_lang('acp/board');



$user->add_lang('acp/board');


		include_once($phpbb_root_path . 'includes/functions_jabber.' . $phpEx);




		if (!class_exists('jabber'))
{
include($phpbb_root_path . 'includes/functions_jabber.' . $phpEx);
}


$action = request_var('action', '');
$submit = (isset($_POST['submit'])) ? true : false;


$action = request_var('action', '');
$submit = (isset($_POST['submit'])) ? true : false;

Line 107Line 110
			set_config('jab_host', $jab_host);
set_config('jab_port', $jab_port);
set_config('jab_username', $jab_username);

			set_config('jab_host', $jab_host);
set_config('jab_port', $jab_port);
set_config('jab_username', $jab_username);

 
			if ($jab_password !== '********')
{

			set_config('jab_password', $jab_password);

			set_config('jab_password', $jab_password);

 
			}

			set_config('jab_package_size', $jab_package_size);
set_config('jab_use_ssl', $jab_use_ssl);


			set_config('jab_package_size', $jab_package_size);
set_config('jab_use_ssl', $jab_use_ssl);


Line 122Line 128
			'JAB_HOST'				=> $jab_host,
'JAB_PORT' => ($jab_port) ? $jab_port : '',
'JAB_USERNAME' => $jab_username,

			'JAB_HOST'				=> $jab_host,
'JAB_PORT' => ($jab_port) ? $jab_port : '',
'JAB_USERNAME' => $jab_username,

			'JAB_PASSWORD'			=> $jab_password,

			'JAB_PASSWORD'			=> $jab_password !== '' ? '********' : '',

			'JAB_PACKAGE_SIZE'		=> $jab_package_size,
'JAB_USE_SSL' => $jab_use_ssl,
'S_CAN_USE_SSL' => jabber::can_use_ssl(),

			'JAB_PACKAGE_SIZE'		=> $jab_package_size,
'JAB_USE_SSL' => $jab_use_ssl,
'S_CAN_USE_SSL' => jabber::can_use_ssl(),