Browse Source

...

pull/40/head
Michael Save 12 years ago
parent
commit
de2238d55c
  1. 34
      templates/themes/frameset/sidebar.html
  2. 4
      templates/themes/frameset/theme.php

34
templates/themes/frameset/sidebar.html

@ -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 %}

4
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;
}
};

Loading…
Cancel
Save