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

4
templates/themes/frameset/theme.php

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

Loading…
Cancel
Save