phpBB

Code Changes

File: includes/functions_display.php

  Unmodified   Added   Modified   Removed
Line 267Line 267

// Direct child of current branch
$parent_id = $forum_id;


// Direct child of current branch
$parent_id = $forum_id;

			$parent_subforum_limit = $row['display_subforum_limit'];

			$parent_subforum_limit = $row['display_subforum_limit'] ?? false;

			$forum_rows[$forum_id] = $row;

if ($row['forum_type'] == FORUM_CAT && $row['parent_id'] == $root_data['forum_id'])

			$forum_rows[$forum_id] = $row;

if ($row['forum_type'] == FORUM_CAT && $row['parent_id'] == $root_data['forum_id'])

Line 1115Line 1115
		{
$row['bbcode_helpline'] = $user->lang[strtoupper($row['bbcode_helpline'])];
}

		{
$row['bbcode_helpline'] = $user->lang[strtoupper($row['bbcode_helpline'])];
}

 

// Convert Numeric Character References to UTF-8 chars.
$row['bbcode_helpline'] = utf8_decode_ncr($row['bbcode_helpline']);


$custom_tags = array(
'BBCODE_NAME' => "'[{$row['bbcode_tag']}]', '[/" . str_replace('=', '', $row['bbcode_tag']) . "]'",


$custom_tags = array(
'BBCODE_NAME' => "'[{$row['bbcode_tag']}]', '[/" . str_replace('=', '', $row['bbcode_tag']) . "]'",

Line 1682Line 1685
		'U_EMAIL'		=> $email,
'U_JABBER' => ($data['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&action=jabber&u=' . $user_id) : '',


		'U_EMAIL'		=> $email,
'U_JABBER' => ($data['user_jabber'] && $auth->acl_get('u_sendim')) ? append_sid("{$phpbb_root_path}memberlist.$phpEx", 'mode=contact&action=jabber&u=' . $user_id) : '',


		'USER_JABBER'		=> ($config['jab_enable']) ? $data['user_jabber'] : '',
'USER_JABBER_IMG' => ($config['jab_enable'] && $data['user_jabber']) ? $user->img('icon_contact_jabber', $data['user_jabber']) : '',

		'USER_JABBER'		=> ($config['jab_enable'] && $auth->acl_get('u_sendim')) ? $data['user_jabber'] : '',
'USER_JABBER_IMG' => ($config['jab_enable'] && $auth->acl_get('u_sendim') && $data['user_jabber']) ? $user->img('icon_contact_jabber', $data['user_jabber']) : '',


'L_SEND_EMAIL_USER' => $user->lang('SEND_EMAIL_USER', $username),
'L_CONTACT_USER' => $user->lang('CONTACT_USER', $username),


'L_SEND_EMAIL_USER' => $user->lang('SEND_EMAIL_USER', $username),
'L_CONTACT_USER' => $user->lang('CONTACT_USER', $username),