...
This commit is contained in:
parent
9796bd7b94
commit
de2238d55c
@ -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 %}
|
||||||
|
@ -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…
Reference in New Issue
Block a user