diff options
author | Jonathan Stanley <shs@users.sourceforge.net> | 2007-05-06 00:57:07 +0000 |
---|---|---|
committer | Jonathan Stanley <shs@users.sourceforge.net> | 2007-05-06 00:57:07 +0000 |
commit | dd00ce06dd25ade4925a5eb020c3dc48dceca45f (patch) | |
tree | c68e3a95cb6db8982f1d462843ff49d798735580 /phpBB/includes/functions_display.php | |
parent | 921c9dd26ebce50ae7ea7e8a9b1082421e154744 (diff) | |
download | forums-dd00ce06dd25ade4925a5eb020c3dc48dceca45f.tar forums-dd00ce06dd25ade4925a5eb020c3dc48dceca45f.tar.gz forums-dd00ce06dd25ade4925a5eb020c3dc48dceca45f.tar.bz2 forums-dd00ce06dd25ade4925a5eb020c3dc48dceca45f.tar.xz forums-dd00ce06dd25ade4925a5eb020c3dc48dceca45f.zip |
#10523
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
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r-- | phpBB/includes/functions_display.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index 6ae606c6a5..81bda16450 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -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; |