Changeset 702 for trunk/forum/includes/acp/acp_jabber.php
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/includes/acp/acp_jabber.php
r400 r702 3 3 * 4 4 * @package acp 5 * @version $Id : acp_jabber.php 8990 2008-10-09 15:41:19Z acydburn$5 * @version $Id$ 6 6 * @copyright (c) 2005 phpBB Group 7 7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License … … 45 45 $this->page_title = 'ACP_JABBER_SETTINGS'; 46 46 47 $jab_enable = request_var('jab_enable', 48 $jab_host = request_var('jab_host', 49 $jab_port = request_var('jab_port', 50 $jab_username = request_var('jab_username', 51 $jab_password = request_var('jab_password', 52 $jab_package_size = request_var('jab_package_size', 53 $jab_use_ssl = request_var('jab_use_ssl', 47 $jab_enable = request_var('jab_enable', (bool) $config['jab_enable']); 48 $jab_host = request_var('jab_host', (string) $config['jab_host']); 49 $jab_port = request_var('jab_port', (int) $config['jab_port']); 50 $jab_username = request_var('jab_username', (string) $config['jab_username']); 51 $jab_password = request_var('jab_password', (string) $config['jab_password']); 52 $jab_package_size = request_var('jab_package_size', (int) $config['jab_package_size']); 53 $jab_use_ssl = request_var('jab_use_ssl', (bool) $config['jab_use_ssl']); 54 54 55 55 $form_name = 'acp_jabber'; … … 89 89 { 90 90 // This feature is disabled. 91 // We update the user table to be sure all users that have IM as notify type are set to both as notify type 91 // We update the user table to be sure all users that have IM as notify type are set to both as notify type 92 // We set this to both because users still have their jabber address entered and may want to receive jabber notifications again once it is re-enabled. 92 93 $sql_ary = array( 93 94 'user_notify_type' => NOTIFY_BOTH, … … 117 118 'L_JAB_SERVER_EXPLAIN' => sprintf($user->lang['JAB_SERVER_EXPLAIN'], '<a href="http://www.jabber.org/">', '</a>'), 118 119 'JAB_HOST' => $jab_host, 119 'JAB_PORT' => $jab_port,120 'JAB_PORT' => ($jab_port) ? $jab_port : '', 120 121 'JAB_USERNAME' => $jab_username, 121 122 'JAB_PASSWORD' => $jab_password,
Note:
See TracChangeset
for help on using the changeset viewer.