This commit is contained in:
Michael Save 2012-02-14 21:17:05 +11:00
parent 9796bd7b94
commit de2238d55c
2 changed files with 25 additions and 13 deletions

View File

@ -20,21 +20,37 @@
<li>
<a class="system" href="{{ settings.file_news }}">[News]</a>
</li>
<li>
<a class="system" href="javascript:parent.removeFrames()">[Remove Frames]</a>
</li>
</ul>
</fieldset>
<fieldset>
<legend>Boards</legend>
<ul>
{% for category, boards in config.categories %}
<fieldset>
<legend>
{{ category }}
</legend>
{% for board in boards %}
<li>
<a href="{{ config.board_path|sprintf(board.uri) }}">
{{ board.title }}
</a>
{{ board }}
</li>
{% endfor %}
</ul>
</fieldset>
{% endif %}
</fieldset>
{% endif %}
{% for category, links in config.custom_categories %}
<fieldset>
<legend>
{{ category }}
</legend>
{% for title, uri in links %}
<li>
<a href="{{ uri }}">{{ title }}</a>
</li>
{% endif %}
</fieldset>
{% endif %}
</body>
</html>
{% endfilter %}

View File

@ -44,8 +44,6 @@
'config' => $config,
'news' => $news
));
return $body;
}
// Build sidebar
@ -57,8 +55,6 @@
'config' => $config,
'boards' => listBoards()
));
return $body;
}
};