1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-12 02:25:18 +02:00

I updated my copy with the Area51 template so here it is, along with a couple of bugfixes :]

git-svn-id: file:///svn/phpbb/trunk@2917 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud 2002-10-03 23:32:45 +00:00
parent 743460bd80
commit aee5fbcd8a
5 changed files with 11 additions and 12 deletions

View File

@ -139,9 +139,6 @@ foreach ($forum_rows as $row)
} }
} }
$l_moderator = 'Moderator: ';
$moderators_list = '<a href="#">Ashe</a>';
$template->assign_block_vars('forumrow', array( $template->assign_block_vars('forumrow', array(
$forum_type_switch => TRUE, $forum_type_switch => TRUE,

View File

@ -96,11 +96,11 @@ get_moderators($forum_moderators);
$cat_id = (!empty($_GET['c'])) ? intval($_GET['c']) : 0; $cat_id = (!empty($_GET['c'])) ? intval($_GET['c']) : 0;
$root_id = $branch_root_id = $cat_id; $root_id = $branch_root_id = $cat_id;
$forum_rows = $subforums = $parent_forums = array(); $forum_rows = $subforums = $nav_forums = array();
if ($cat_id == 0) if ($cat_id == 0)
{ {
$is_child = TRUE; $is_nav = FALSE;
$total_posts = 0; $total_posts = 0;
switch (SQL_LAYER) switch (SQL_LAYER)
{ {
@ -120,7 +120,7 @@ if ($cat_id == 0)
} }
else else
{ {
$is_child = FALSE; $is_nav = TRUE;
if (!$acl->get_acl($cat_id, 'forum', 'list')) if (!$acl->get_acl($cat_id, 'forum', 'list'))
{ {
@ -174,13 +174,13 @@ while ($row = $db->sql_fetchrow($result))
if ($row['forum_id'] == $cat_id) if ($row['forum_id'] == $cat_id)
{ {
$parent_forums[] = $row; $nav_forums[] = $row;
$forum_rows[] = $row; $forum_rows[] = $row;
$is_child = TRUE; $is_nav = FALSE;
} }
elseif (!$is_child) elseif ($is_nav)
{ {
$parent_forums[] = $row; $nav_forums[] = $row;
} }
else else
{ {
@ -265,7 +265,7 @@ $template->assign_vars(array(
'U_MARK_READ' => "index.$phpEx$SID&amp;mark=forums") 'U_MARK_READ' => "index.$phpEx$SID&amp;mark=forums")
); );
foreach ($parent_forums as $row) foreach ($nav_forums as $row)
{ {
if ($row['forum_status'] == ITEM_CATEGORY) if ($row['forum_status'] == ITEM_CATEGORY)
{ {

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -109,9 +109,11 @@ a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #DD6900; text-decoration: u
/* The register, login, search etc links at the top of the page */ /* The register, login, search etc links at the top of the page */
.mainmenu { font-size : 11px; color : #000000 } .mainmenu { font-size : 11px; color : black }
a.mainmenu { text-decoration: none; color : #006699; } a.mainmenu { text-decoration: none; color : #006699; }
a.mainmenu:hover{ text-decoration: underline; color : #DD6900; } a.mainmenu:hover{ text-decoration: underline; color : #DD6900; }
a.mainmenuw,a.mainmenuw:visited { text-decoration: none; color : white; }
a.mainmenuw:hover{ text-decoration: underline; color : black; }
/* Forum category titles */ /* Forum category titles */