mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:48:53 +00:00
Forum description to template
git-svn-id: file:///svn/phpbb/trunk@3029 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
f0da525e44
commit
8cade616ab
1 changed files with 3 additions and 2 deletions
|
@ -108,7 +108,7 @@ if ($forum_data['parent_id'] > 0)
|
||||||
{
|
{
|
||||||
$forum_parents[$row['forum_id']] = $row['forum_name'];
|
$forum_parents[$row['forum_id']] = $row['forum_name'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = 'UPDATE ' . FORUMS_TABLE . "
|
$sql = 'UPDATE ' . FORUMS_TABLE . "
|
||||||
SET forum_parents = '" . sql_escape(serialize($forum_parents)) . "'
|
SET forum_parents = '" . sql_escape(serialize($forum_parents)) . "'
|
||||||
WHERE parent_id = " . $forum_data['parent_id'];
|
WHERE parent_id = " . $forum_data['parent_id'];
|
||||||
|
@ -135,7 +135,8 @@ $template->assign_block_vars('navlinks', array(
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'FORUM_ID' => $forum_id,
|
'FORUM_ID' => $forum_id,
|
||||||
'FORUM_NAME' => $forum_data['forum_name']
|
'FORUM_NAME' => $forum_data['forum_name'],
|
||||||
|
'FORUM_DESC' => $forum_data['forum_desc']
|
||||||
));
|
));
|
||||||
|
|
||||||
if ($forum_data['forum_postable'])
|
if ($forum_data['forum_postable'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue