1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

- extended session_page and user_lastpage to hold a maximum of 200 chars (instead of 100) - session_page gets truncated to 200 chars

- streamlined the process of generating text with bbcode/smilies/urls (forum rules, forum descriptions, group descriptions at the moment)
- a bunch of schema changes for the bbcode-enabled text and the session page change (sorry for this)
- if decode_message is used there is no need to include functions_posting.php anymore (should fix the search.php bug too)


git-svn-id: file:///svn/phpbb/trunk@5709 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-03-25 12:07:13 +00:00
parent 529aabd46d
commit 5de37a5c0a
28 changed files with 428 additions and 226 deletions

View File

@@ -1042,19 +1042,20 @@ switch ($mode)
}
$forum_data = array(
'parent_id' => $parent_id,
'left_id' => $left_id,
'right_id' => $right_id,
'forum_parents' => $forum_parents,
'forum_name' => $forum_name,
'forum_id' => $forum_id,
'forum_type' => $forum_type,
'forum_desc' => $forum_desc,
'forum_rules' => $forum_rules,
'forum_rules_flags' => $forum_rules_flags,
'forum_rules_bbcode_uid' => $forum_rules_bbcode_uid,
'forum_rules_bbcode_bitfield' => $forum_rules_bbcode_bitfield,
'forum_rules_link' => $forum_rules_link
'parent_id' => $parent_id,
'left_id' => $left_id,
'right_id' => $right_id,
'forum_parents' => $forum_parents,
'forum_name' => $forum_name,
'forum_id' => $forum_id,
'forum_type' => $forum_type,
'forum_desc' => $forum_desc,
'forum_desc_uid' => $forum_desc_uid,
'forum_desc_bitfield' => $forum_desc_bitfield,
'forum_rules' => $forum_rules,
'forum_rules_uid' => $forum_rules_uid,
'forum_rules_bitfield' => $forum_rules_bitfield,
'forum_rules_link' => $forum_rules_link
);
// Build Navigation Links
@@ -1076,7 +1077,7 @@ $template->assign_vars(array(
'L_MESSAGE_BODY_EXPLAIN'=> (intval($config['max_post_chars'])) ? sprintf($user->lang['MESSAGE_BODY_EXPLAIN'], intval($config['max_post_chars'])) : '',
'FORUM_NAME' => $forum_name,
'FORUM_DESC' => ($forum_desc) ? strip_tags($forum_desc) : '',
'FORUM_DESC' => ($forum_desc) ? generate_text_for_display($forum_desc, $forum_desc_uid, $forum_desc_bitfield) : '',
'TOPIC_TITLE' => $topic_title,
'MODERATORS' => (sizeof($moderators)) ? implode(', ', $moderators[$forum_id]) : '',
'USERNAME' => ((!$preview && $mode != 'quote') || $preview) ? stripslashes($username) : '',