summaryrefslogtreecommitdiff
path: root/templates/themes/rules/info.php
diff options
context:
space:
mode:
authorMichael Walker <mike@barrucadu.co.uk>2014-09-28 19:43:24 +0000
committerMichael Walker <mike@barrucadu.co.uk>2014-09-28 23:06:06 +0000
commit63efe1e0dba11072e77a5a8fc185c033c0491b77 (patch)
treedbe2ef0387bed43725b2d36979645e5e35292b32 /templates/themes/rules/info.php
parent3cd0a6093ca3b028a57dd62e0fc35ed56fd4fdfa (diff)
Add rules page
Diffstat (limited to 'templates/themes/rules/info.php')
-rw-r--r--templates/themes/rules/info.php23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/themes/rules/info.php b/templates/themes/rules/info.php
new file mode 100644
index 00000000..7faaedc6
--- /dev/null
+++ b/templates/themes/rules/info.php
@@ -0,0 +1,23 @@
+<?php
+$theme = array(
+ 'name' => 'Rules',
+ 'description' => 'Display the lainchan rules',
+ 'version' => 'v1',
+
+ 'config' => array(
+ array('title' => 'Page title',
+ 'name' => 'title',
+ 'type' => 'text'),
+
+ array('title' => 'Slogan',
+ 'name' => 'subtitle',
+ 'type' => 'text',
+ 'comment' => '(optional)'),
+
+ array('title' => 'File',
+ 'name' => 'file',
+ 'type' => 'text',
+ 'default' => 'rules.html')),
+
+ 'build_function' => 'rules_build');
+?> \ No newline at end of file