1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 23:55:26 +02:00
Just saw this one, whilst thinking about some other stuff... Now possible to select the subforum listing for styling by:

a.subforum { foo: bar; } // both read and unread links

... and either specifically by:

a.subforum.read { foo: bar; } // read links only
a.subforum.unread { foo: bar; } // unread links only


git-svn-id: file:///svn/phpbb/trunk@7480 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Jonathan Stanley 2007-05-06 00:57:07 +00:00
parent 921c9dd26e
commit dd00ce06dd

View File

@ -365,7 +365,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
$s_subforums_list = array();
foreach ($subforums_list as $subforum)
{
$s_subforums_list[] = '<a href="' . $subforum['link'] . '"' . (($subforum['unread']) ? ' class="subforum-unread"' : '') . '>' . $subforum['name'] . '</a>';
$s_subforums_list[] = '<a href="' . $subforum['link'] . '" class="subforum ' . (($subforum['unread']) ? 'unread' : 'read') . '">' . $subforum['name'] . '</a>';
}
$s_subforums_list = (string) implode(', ', $s_subforums_list);
$catless = ($row['parent_id'] == $root_data['forum_id']) ? true : false;