From b1490bed316f64e1e4a4215aebe90e990801e446 Mon Sep 17 00:00:00 2001 From: czaks Date: Tue, 25 Mar 2014 12:09:59 +0100 Subject: [PATCH] favelaframes is nothing more than frameset AFAIC --- templates/themes/favelaframes/favelaframes.css | 84 -------------------- templates/themes/favelaframes/frames.html | 102 ------------------------- templates/themes/favelaframes/info.php | 87 --------------------- templates/themes/favelaframes/news.html | 40 ---------- templates/themes/favelaframes/sidebar.html | 38 --------- templates/themes/favelaframes/theme.php | 74 ------------------ templates/themes/favelaframes/thumb.png | Bin 7571 -> 0 bytes 7 files changed, 425 deletions(-) delete mode 100644 templates/themes/favelaframes/favelaframes.css delete mode 100644 templates/themes/favelaframes/frames.html delete mode 100644 templates/themes/favelaframes/info.php delete mode 100644 templates/themes/favelaframes/news.html delete mode 100644 templates/themes/favelaframes/sidebar.html delete mode 100644 templates/themes/favelaframes/theme.php delete mode 100644 templates/themes/favelaframes/thumb.png diff --git a/templates/themes/favelaframes/favelaframes.css b/templates/themes/favelaframes/favelaframes.css deleted file mode 100644 index 5f0f0db6..00000000 --- a/templates/themes/favelaframes/favelaframes.css +++ /dev/null @@ -1,84 +0,0 @@ -body { - font-family: sans-serif; - background: none repeat scroll 0 0 #EEFDFF; - font-size: 12px; - margin: 6px; - padding: 0; -} - -h1.title { - font-family: Verdana, Tahoma, sans-serif; - font-size: 23px; - color: #333300; - margin-top: 1em; - background: none; - letter-spacing: normal; -} - -header div.subtitle { - font-family: Verdana, Tahoma, sans-serif; - color: #333300; - font-weight: normal; - font-size: medium; - font-style: italic; -} - -div.favelito { - text-align: center; -} - -.favelito { - display: block; - height: auto; - max-width: 100%; - vertical-align: middle; -} - -div.news-content { - margin-left: 1em; - text-align: justify; -} - -h2 { - color: #000; - background: #D6F0E4; -} - -div.sidebar h2 { - font-family: Verdana, Tahoma, sans-serif; - font-size: 18px; -} - -div.sidebar h3 { - margin: 0; - background: #D6F0E4; - font-size: 100% -} - -div.fav_irc h4 { - font-family: Verdana, Tahoma, sans-serif; - margin: 0; - font-size: 10px; - background: #D6F0E4; -} - -div.fav_irc h4 a { - color: #FF7800; - text-decoration: none; - vertical-align: top; -} - -ul.fav_nav { - margin-top: 0; - padding: 0; - list-style: none; -} - -ul.fav_nav a { - text-decoration: none; - color: #555500; -} - -.sidebar a:hover { - text-decoration: underline; -} \ No newline at end of file diff --git a/templates/themes/favelaframes/frames.html b/templates/themes/favelaframes/frames.html deleted file mode 100644 index ccbd377e..00000000 --- a/templates/themes/favelaframes/frames.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - - {% if settings.tryresponsive %} - - - {% endif %} - - {{ settings.title }} - - - - -
- 55 -
- - diff --git a/templates/themes/favelaframes/info.php b/templates/themes/favelaframes/info.php deleted file mode 100644 index b82a2b6d..00000000 --- a/templates/themes/favelaframes/info.php +++ /dev/null @@ -1,87 +0,0 @@ - 'Site title', - 'name' => 'title', - 'type' => 'text' - ); - - $theme['config'][] = Array( - 'title' => 'Slogan', - 'name' => 'subtitle', - 'type' => 'text', - 'comment' => '(optional)' - ); - - $theme['config'][] = Array( - 'title' => 'Main HTML file', - 'name' => 'file_main', - 'type' => 'text', - 'default' => $config['file_index'], - 'comment' => '(eg. "index.html")' - ); - - $theme['config'][] = Array( - 'title' => 'Sidebar file', - 'name' => 'file_sidebar', - 'type' => 'text', - 'default' => 'sidebar.html', - 'comment' => '(eg. "sidebar.html")' - ); - - $theme['config'][] = Array( - 'title' => 'News file', - 'name' => 'file_news', - 'type' => 'text', - 'default' => 'news.html', - 'comment' => '(eg. "news.html")' - ); - - $theme['config'][] = Array( - 'title' => 'IRC url', - 'name' => 'irc_url', - 'type' => 'text', - 'default' => 'http://qchat.rizon.net/?nick=Anao.&channels=55ch&uio=d4', - 'comment' => '(optional) Link to IRC channel' - ); - - $theme['config'][] = Array( - 'title' => 'IRC address', - 'name' => 'irc_address', - 'type' => 'text', - 'default' => '#55ch@rizon.net', - 'comment' => '(optional) IRC channel address to appear as a label to the url entered above' - ); - - $theme['config'][] = Array( - 'title' => 'CSS file', - 'name' => 'css', - 'type' => 'text', - 'default' => 'favelaframes.css', - 'comment' => '(eg. "favelaframes.css")' - ); - - $theme['config'][] = Array( - 'title' => 'Try the little responsive thingy thing', - 'name' => 'tryresponsive', - 'type' => 'checkbox', - 'default' => true, - 'comment' => 'With this checked, the menu frame will become collapsible when viewport width is under 767px.' - ); - - // Unique function name for building everything - $theme['build_function'] = 'favelaframes_build'; -?> diff --git a/templates/themes/favelaframes/news.html b/templates/themes/favelaframes/news.html deleted file mode 100644 index 2b32a78b..00000000 --- a/templates/themes/favelaframes/news.html +++ /dev/null @@ -1,40 +0,0 @@ -{% filter remove_whitespace %} - - - - - {{ settings.title }} - - - - -
-
- Favelito -
-

{{ settings.title }}

-
"{{ settings.subtitle }}"
-
- -
- {% if news|count == 0 %} -

(No news to show.)

- {% else %} - {% for entry in news %} -

- {% if entry.subject %} - {{ entry.subject }} - {% else %} - no subject - {% endif %} - — by {{ entry.name }} at {{ entry.time|date(config.post_date) }} -

-

{{ entry.body }}

- {% endfor %} - {% endif %} -
- -

Powered by Tinyboard {{ config.version }} | Tinyboard Copyright © 2010-2012 Tinyboard Development Group

- - -{% endfilter %} diff --git a/templates/themes/favelaframes/sidebar.html b/templates/themes/favelaframes/sidebar.html deleted file mode 100644 index 5ee84d80..00000000 --- a/templates/themes/favelaframes/sidebar.html +++ /dev/null @@ -1,38 +0,0 @@ -{% filter remove_whitespace %} - - - - - {{ settings.title }} - - - - - - - - - -{% endfilter %} diff --git a/templates/themes/favelaframes/theme.php b/templates/themes/favelaframes/theme.php deleted file mode 100644 index d31a324e..00000000 --- a/templates/themes/favelaframes/theme.php +++ /dev/null @@ -1,74 +0,0 @@ - $config, 'settings' => $settings)); - } - - // Build news page - public static function news($settings) { - global $config; - - $query = query("SELECT * FROM ``news`` ORDER BY `time` DESC") or error(db_error()); - $news = $query->fetchAll(PDO::FETCH_ASSOC); - - return Element('themes/favelaframes/news.html', Array( - 'settings' => $settings, - 'config' => $config, - 'news' => $news - )); - } - - // Build sidebar - public static function sidebar($settings) { - global $config, $board; - - $categories = $config['categories']; - - foreach ($categories as &$boards) { - foreach ($boards as &$board) { - $title = boardTitle($board); - if (!$title) - $title = $board; // board doesn't exist, but for some reason you want to display it anyway - $board = Array('title' => $title, 'uri' => sprintf($config['board_path'], $board)); - } - } - - return Element('themes/favelaframes/sidebar.html', Array( - 'settings' => $settings, - 'config' => $config, - 'categories' => $categories - )); - } - }; - -?> diff --git a/templates/themes/favelaframes/thumb.png b/templates/themes/favelaframes/thumb.png deleted file mode 100644 index df18a8e9396488f075c279836b55582ebb805a27..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7571 zcmb_>WmFvNwr%6mxP<_L#vK|75CQ~gG(ZRvBoJtz(MG#*g1bY2Ai;u5fIx6}4K4}p zE)Bs#kjFmv>~r53@9q2R))-Zv%{kXv-&$2QYE-y}x*{Py4L$$>AXHX@Xg;)lf1SA4 z57#a!=+Hy+7%8uZ)N-&ux`02y-!Qy56u4r&S0gh9f{rg~g zu;y%TA+8Bg__wWxktCB966q+;&+q2u#^)x)=iqF~FYxTyv%fS11$iG3ya*3_B-EYP z9>M�tALIbGCLwT07W-{!)aRI=CPunI1g-uMq4U|08RU`1dwFY#6^g)RA9+5Byh1 ze*@Lj{%5G2-G9&sq$cdY{r&$6BeXpnVf>mfgoBH-*+b$inEx{6C@$v=gCZTAwH+Mb zfA6A(l>^cNVddZmlGAz$(zUiXcW^`e3$3Omu56D$Lha39$`DDW2R@&*wYj*Mn3%kP zh_HZ&h?tOofIRq_oUELT99UFPPEbZx3?lS57vf;%Vh6KF{>?T2Z?51!a{np>JI4ph z5SX*IE6iNM*})FT{=d@tf2H~FsfXJ6tNWj# zeHi?w>|yo~weI{-)Mk`A_5c74o-#y6+kNi9NI!~h)dom19l&?uo-!YrkZ!(~Qb@tu@e{=A3?$3OB)xxdYhsu5O zTfrlS1jeQ(8c4pSYtpJ*_&1_=ZpS&e`m1TDhHiCQ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