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 @@ + '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 diff --git a/templates/themes/rules/rules.html b/templates/themes/rules/rules.html new file mode 100644 index 00000000..83ecf033 --- /dev/null +++ b/templates/themes/rules/rules.html @@ -0,0 +1,80 @@ +{% filter remove_whitespace %} + + + + + {{ settings.title }} + + + + + + {{ boardlist.top }} + +
+

{{ settings.title }}

+
{{ settings.subtitle }}
+
+ + mascot + +
+

GLOBAL

+
    +
  1. Do not upload, post, discuss, request, or link to, + anything that violates local or United States law. This will + be severely punished and strictly enforced.
  2. + +
  3. Do not post in or view any boards if you are under 18 + years of age.
  4. + +
  5. Do not post unspoilered adult content on worksafe boards, + these being any but /c/ and /l/.
  6. + +
  7. Do not misuse the report function.
  8. + +
  9. Feature requests should only be made on /q/.
  10. + +
  11. Do not spam or advertise.
  12. + +
  13. Impersonation of lainchan administrators, moderators, or + janitors is not allowed.
  14. + +
  15. Do not post from proxies, VPNs, or Tor exit nodes and do + not use bots of any kind to automate posting to lainchan.
  16. + +
  17. Do not post GETs. (unless it's a really good one)
  18. + +
  19. Don't be a dick.
  20. + +
  21. Do not embed malicious files into uploads
  22. +
+
+ +
+

/tech/

+
    +
  1. You will treat every anon like a gentleman. You will + assume every anon has a reason for how and why they spend + their money. Every reply will be kind and thoughtful.
  2. + +
  3. Meta talk, including comparing /tech/ to /g/, belongs on + /q/, not /tech/. Violations will be deleted.
  4. + +
  5. This board primarily discusses the technology itself + underlying consumer technology. OS/Browser/GNU-BSD wars will + be deleted.
  6. + +
  7. "how do i become a programmer?" will be deleted. Lurk more + on >>>/λ/.
  8. + +
  9. Not using the catalog is a bannable offense.
  10. + +
  11. These rules + might + will change.
  12. +
+
+ + +{% endfilter %} diff --git a/templates/themes/rules/theme.php b/templates/themes/rules/theme.php new file mode 100644 index 00000000..fc50437f --- /dev/null +++ b/templates/themes/rules/theme.php @@ -0,0 +1,28 @@ + $settings, + 'config' => $config, + 'boardlist' => createBoardlist())); + } +} + +?> \ No newline at end of file diff --git a/templates/themes/rules/thumb.png b/templates/themes/rules/thumb.png new file mode 100644 index 00000000..bd6b129f Binary files /dev/null and b/templates/themes/rules/thumb.png differ