diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-05 15:22:53 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-10-05 15:22:53 +1100 |
| commit | 1b136555d279bf2cfb28f5661225c010426754f5 (patch) | |
| tree | 01a4dd290f3f8010dc7ed6f0c4e58032a6aef2b6 /templates/themes/drudgereport/info.php | |
| parent | e077166030a8609bc0c364fdbf8fc3f99c595d32 (diff) | |
transition to Twig
Diffstat (limited to 'templates/themes/drudgereport/info.php')
| -rw-r--r-- | templates/themes/drudgereport/info.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/themes/drudgereport/info.php b/templates/themes/drudgereport/info.php new file mode 100644 index 00000000..b9128108 --- /dev/null +++ b/templates/themes/drudgereport/info.php @@ -0,0 +1,28 @@ +<?php + $theme = Array(); + + // Theme name + $theme['name'] = 'Drudge Report'; + // Description (you can use Tinyboard markup here) + $theme['description'] = 'Recent posts theme, styled like Druge Report.'; + $theme['version'] = 'v0.1'; + + // Theme configuration + $theme['config'] = Array(); + + $theme['config'][] = Array( + 'title' => 'Title', + 'name' => 'title', + 'type' => 'text' + ); + + $theme['config'][] = Array( + 'title' => 'Excluded boards', + 'name' => 'exclude', + 'type' => 'text', + 'comment' => '(space seperated)' + ); + + // Unique function name for building everything + $theme['build_function'] = 'drudge_build'; +?> |
