diff --git a/templates/themes/4chon/home.css b/templates/themes/4chon/home.css deleted file mode 100644 index 067bd73d..00000000 --- a/templates/themes/4chon/home.css +++ /dev/null @@ -1,109 +0,0 @@ -div.ban { - max-width: 1200px; - min-width: 348px; - width: 85%; -} -div.ban .wrap { - margin: 10px; - overflow: auto; -} -div.board { - width: 100%; - overflow: auto; - margin: 10px 0; -} -div.board p { - text-align: justify; -} -div.board a.button { - text-align: center; - font-weight: bold; - font-size: 15pt; - height: 60px; - width: 75px; - display: inline-block; - background: #98E; - line-height: 60px; - - margin: 5px 25px; - - box-shadow:0 2px 5px 0px #D0D0D0; - -webkit-box-shadow:0 2px 5px 0px #D0D0D0; - - border-radius:15px; - -webkit-border-radius:15px; - float: left; -} -div.board a.button:hover { - box-shadow:0 2px 5px 0px #222; - -webkit-box-shadow:0 2px 5px 0px #222; -} -img:hover { - box-shadow:0 2px 5px 0px #555; - -webkit-box-shadow:0 2px 5px 0px #555; -} -div.container { - margin: auto; - max-width: 1000px; -} -div.split { - margin-top: 40px; - overflow: auto; - border: 1px solid #ccc; - border-style: solid none none none; -} -div.panel { - margin: 0; - - float: left; - width: 40%; -} -div.panel h3 { - margin: 10px 0; -} -div.panel.left { - min-width: 150px; - max-width: 400px; - padding: 10px 0; -} -div.panel.left ul { - padding: 5px; - margin: 0; - word-wrap: break-word; -} -div.panel.right { - border: 1px solid #ccc; - border-style: none none none solid; - min-width: 175px; - max-width: 50%; - width: 100%; - padding: 10px 0; -} -div.panel.right ul, div.panel.right p, div.panel.right h3 { - padding: 5px 10px; -} -div.panel.right ul { - padding: 0 25px; -} -div.panel.right ul li { - margin: 10px 0; -} -div.panel.left ul li { - list-style: none; -} -div.panel.left .images { - float: left; - max-width: 80px; - margin: 10px 20px 0px 0px; -} -div.panel.left .images a, div.panel.left .images img { - padding: 0; - margin: 2px 3px; - display: inline; -} -div.panel.left .images img { - float: none; -} -div.panel.right ul ul li { - margin: 2px 0; -} \ No newline at end of file diff --git a/templates/themes/4chon/info.php b/templates/themes/4chon/info.php deleted file mode 100644 index 2bc8e978..00000000 --- a/templates/themes/4chon/info.php +++ /dev/null @@ -1,15 +0,0 @@ - \ No newline at end of file diff --git a/templates/themes/4chon/theme.php b/templates/themes/4chon/theme.php deleted file mode 100644 index df72b8ee..00000000 --- a/templates/themes/4chon/theme.php +++ /dev/null @@ -1,215 +0,0 @@ - 80, - 'thumbheight' => 80 - ); - - function chon_build($action, $settings) { - $settings = Array( - 'title' => '4chon', - 'subtitle' => '', - 'boards' => Array( - 'new' => 'A place for the debate of political intrigue and current events. This board has a wide and varied user base with many unique, and sometimes controversial, views expressed.', - 'r9k' => 'A unique board for open discussion based on an original content script. If a post has been made before, the reposter is muted. The length of the mute increases at the rate of 2^n seconds with each additional mute a user receives. Loosely based upon robot9000 of #xkcd-signal.', - 'v' => 'A board in which to discuss many of our favourite hobbies: video games. New and old, PC and console, the discussion is always fresh and on-topic.', - 'meta' => 'A board for the discussion and improvement of the community, 4chon or otherwise. Questions, comments, and modposts are frequently found here.' - ), - 'thumbwidth' => 80, - 'thumbheight' => 80 - ); - - // Possible values for $action: - // - all (rebuild everything, initialization) - // - news (news has been updated) - // - boards (board list changed) - - Chon::build($action, $settings); - } - - // Wrap functions in a class so they don't interfere with normal Tinyboard operations - class Chon { - public static function build($action, $settings) { - global $config; - - //if($action == 'all' || $action == 'news') - file_write($config['dir']['home'] . $config['file_index'], Chon::homepage($settings)); - } - - // Build news page - public static function homepage($settings) { - global $config, $board; - - // HTML5 - $body = '' - . '
' - . '' - . '' - . '' - . '' - . '' - . '' - . 'The largest and most popular community based on Tinyboard; we\'re picking up where 4chan is dying! In mid-January, /r9k/ and /new/ were simultaneously deleted from 4chan. Less than an hour later, 4chon was created to give these boards a new life, and we have been growing ever since. With over one million posts in just a few months, we\'re the largest chon in existence.
'; - - $body .= '' . $description . '
'; - $body .= 'Aside from our boards, we also have an active community in the following places:
'; - - $body .= 'Please read the general and board-specifc rules as well as the 4chon FAQ before posting.
'; - - $body .= '4chon keeps a statistics page which gives detailed information about all of our boards, such as posts per minute, user locations, referring sites and more!. There\'s also a map of our posters around the globe!
'; - $body .= 'If, for any reason, you need to contact the 4chon staff, they can be reached in IRC - irc.datnode.net #4chon / [WebIRC].
'; - - $body .= 'The admin may be contacted at admin@4chon.net or >>>/meta/.
'; - - $body .= 'For status updates and explanations of downtime, please see our status page or follow us on our rarely-used @4chonable Twitter account
'; - - $body .= 'In memory of Scott “Wingo” Canner (1989-2011).
'; - - $body .= 'Powered by Tinyboard | You must be at least 18 years of age to continue browsing.' .
-
- '' .
-
- '';
-
- return $body;
- }
- };
-
-?>
diff --git a/templates/themes/4chon/thumb.png b/templates/themes/4chon/thumb.png
deleted file mode 100644
index cd116066..00000000
Binary files a/templates/themes/4chon/thumb.png and /dev/null differ
diff --git a/templates/themes/drudgereport/info.php b/templates/themes/drudgereport/info.php
deleted file mode 100644
index b9128108..00000000
--- a/templates/themes/drudgereport/info.php
+++ /dev/null
@@ -1,28 +0,0 @@
- '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';
-?>
diff --git a/templates/themes/drudgereport/theme.php b/templates/themes/drudgereport/theme.php
deleted file mode 100644
index e38b7a0d..00000000
--- a/templates/themes/drudgereport/theme.php
+++ /dev/null
@@ -1,145 +0,0 @@
-build($action, $settings);
- }
-
- // Wrap functions in a class so they don't interfere with normal Tinyboard operations
- class Drudge {
- public function build($action, $settings) {
- global $config, $_theme, $threads;
-
- // Don't worry about this for now:
- //if($action == 'all') {
- // copy($config['dir']['themes'] . '/' . $_theme . '/master.css', $config['dir']['home'] . 'drudge_master.css');
- // copy($config['dir']['themes'] . '/' . $_theme . '/reset.css', $config['dir']['home'] . 'drudge_reset.css');
- //}
-
- $this->excluded = explode(' ', $settings['exclude']);
-
- if($action == 'all' || $action == 'post')
- file_write($config['dir']['home'] . 'landing/index.html', $this->homepage($settings));
- }
-
- private function spot($num) {
- global $config;
-
- $prime = $num < 7;
-
- if(!isset($this->threads[$num]))
- return '';
-
- $post = &$this->threads[$num];
-
- return ($prime ?
- ''
- : '')
- . '
Powered by Tinyboard'; - - return $body; - } - }; - -?> diff --git a/templates/themes/drudgereport/thumb.png b/templates/themes/drudgereport/thumb.png deleted file mode 100644 index fff5b824..00000000 Binary files a/templates/themes/drudgereport/thumb.png and /dev/null differ diff --git a/templates/themes/ruiwy1.zip b/templates/themes/ruiwy1.zip deleted file mode 100644 index 97f13b52..00000000 Binary files a/templates/themes/ruiwy1.zip and /dev/null differ diff --git a/templates/themes/ruiwy1/info.php b/templates/themes/ruiwy1/info.php deleted file mode 100644 index 70af795d..00000000 --- a/templates/themes/ruiwy1/info.php +++ /dev/null @@ -1,27 +0,0 @@ - 'Title', - 'name' => 'title', - 'type' => 'text' - ); - - $theme['config'][] = Array( - 'title' => 'Slogan', - 'name' => 'subtitle', - 'type' => 'text' - ); - - // Unique function name for building everything - $theme['build_function'] = 'rui_build'; -?> diff --git a/templates/themes/ruiwy1/theme.php b/templates/themes/ruiwy1/theme.php deleted file mode 100644 index 45f8b4af..00000000 --- a/templates/themes/ruiwy1/theme.php +++ /dev/null @@ -1,77 +0,0 @@ -' - . '
' - . '' - . '(No news to show.)
'; - } else { - // List news - while($news = $query->fetch()) { - $body .= '' . $news['body'] . '
'; - - if($news['name'] == 'static') { - // static notice - $body .= 'Powered by Tinyboard'; - - return $body; - } - }; - -?> diff --git a/templates/themes/ruiwy1/thumb.png b/templates/themes/ruiwy1/thumb.png deleted file mode 100644 index 05dcd96c..00000000 Binary files a/templates/themes/ruiwy1/thumb.png and /dev/null differ