Browse Source
Merge pull request #3 from towards-a-new-leftypol/sidebar_rules
Add links to sidebar to Faq and Rules pages
pull/40/head
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
22 additions and
0 deletions
-
templates/themes/categories/info.php
-
templates/themes/categories/sidebar.html
|
|
@ -49,6 +49,22 @@ Requires $config[\'categories\'].'; |
|
|
|
'default' => 'news.html', |
|
|
|
'comment' => '(eg. "news.html")' |
|
|
|
); |
|
|
|
|
|
|
|
$theme['config'][] = Array( |
|
|
|
'title' => 'FAQ file', |
|
|
|
'name' => 'file_faq', |
|
|
|
'type' => 'text', |
|
|
|
'default' => 'faq.html', |
|
|
|
'comment' => '(eg. "faq.html")' |
|
|
|
); |
|
|
|
|
|
|
|
$theme['config'][] = Array( |
|
|
|
'title' => 'Rules file', |
|
|
|
'name' => 'file_rules', |
|
|
|
'type' => 'text', |
|
|
|
'default' => 'rules.html', |
|
|
|
'comment' => '(eg. "rules.html")' |
|
|
|
); |
|
|
|
|
|
|
|
// Unique function name for building everything |
|
|
|
$theme['build_function'] = 'categories_build'; |
|
|
|
|
|
@ -6,6 +6,12 @@ |
|
|
|
<li> |
|
|
|
<a class="system" href="{{ settings.file_news }}">[News]</a> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<a class="system" href="{{ settings.file_faq }}">[Help/FAQ]</a> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<a class="system" href="{{ settings.file_rules }}">[Rules]</a> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</fieldset> |
|
|
|
|
|
|
|