Add links to sidebar to Faq and Rules pages
This commit is contained in:
parent
c9fc9e5ea3
commit
5e3af63003
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue