From de2238d55c9d647379c0b1ba277a4a45ad6fdec3 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Tue, 14 Feb 2012 21:17:05 +1100 Subject: [PATCH] ... --- templates/themes/frameset/sidebar.html | 34 +++++++++++++++++++++++++--------- templates/themes/frameset/theme.php | 4 ---- 2 files changed, 25 insertions(+), 13 deletions(-) diff --git a/templates/themes/frameset/sidebar.html b/templates/themes/frameset/sidebar.html index 171e4e93..bacf95d7 100644 --- a/templates/themes/frameset/sidebar.html +++ b/templates/themes/frameset/sidebar.html @@ -20,21 +20,37 @@
  • [News]
  • +
  • + [Remove Frames] +
  • -
    - Boards - -
    + {% endif %} + + {% endif %} + + {% for category, links in config.custom_categories %} +
    + + {{ category }} + + {% for title, uri in links %} +
  • + {{ title }} +
  • + {% endif %} +
    + {% endif %} {% endfilter %} diff --git a/templates/themes/frameset/theme.php b/templates/themes/frameset/theme.php index ccf7d7ad..f3e1b139 100644 --- a/templates/themes/frameset/theme.php +++ b/templates/themes/frameset/theme.php @@ -44,8 +44,6 @@ 'config' => $config, 'news' => $news )); - - return $body; } // Build sidebar @@ -57,8 +55,6 @@ 'config' => $config, 'boards' => listBoards() )); - - return $body; } };