diff --git a/templates/themes/categories/info.php b/templates/themes/categories/info.php index d0cedb13..3718344c 100644 --- a/templates/themes/categories/info.php +++ b/templates/themes/categories/info.php @@ -5,10 +5,10 @@ $theme['name'] = 'Categories'; // Description (you can use Tinyboard markup here) $theme['description'] = -'Group-ordered, category-aware modification of the Frameset theme. +'Group-ordered, category-aware modification of the Frameset theme, with removable sidebar frame. Requires $config[\'boards\'] and $config[\'categories\'].'; - $theme['version'] = 'v0.1'; + $theme['version'] = 'v0.2'; // Theme configuration $theme['config'] = Array(); diff --git a/templates/themes/categories/theme.php b/templates/themes/categories/theme.php index f625fe79..393ad5bd 100644 --- a/templates/themes/categories/theme.php +++ b/templates/themes/categories/theme.php @@ -59,7 +59,11 @@ . 'News' . ''; - $body .= '

' . $settings['title'] . '

' + $boardlist = createBoardlist(); + + $body .= $boardlist['top'] + + . '

' . $settings['title'] . '

' . '
' . ($settings['subtitle'] ? utf8tohtml($settings['subtitle']) : '') . '
'; $query = query("SELECT * FROM `news` ORDER BY `time` DESC") or error(db_error()); @@ -105,10 +109,16 @@ . '' . '' . '' . $settings['title'] . '' + . '' . ''; $body .= '
' . $settings['title'] . '
'; for($cat = 0; $cat < count($config['categories']); $cat++) { diff --git a/templates/themes/categories/thumb.png b/templates/themes/categories/thumb.png index 4326ee35..35d747e2 100644 Binary files a/templates/themes/categories/thumb.png and b/templates/themes/categories/thumb.png differ