From e6d7e71175e388b7d5e356eebb9ff350c941026e Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 28 May 2011 01:47:59 +1000 Subject: renamed "homepage" directory to "themes" --- templates/homepage/basic/info.php | 27 -------------- templates/homepage/basic/theme.php | 70 ------------------------------------- templates/homepage/basic/thumb.png | Bin 9298 -> 0 bytes 3 files changed, 97 deletions(-) delete mode 100644 templates/homepage/basic/info.php delete mode 100644 templates/homepage/basic/theme.php delete mode 100644 templates/homepage/basic/thumb.png (limited to 'templates/homepage/basic') diff --git a/templates/homepage/basic/info.php b/templates/homepage/basic/info.php deleted file mode 100644 index bd856655..00000000 --- a/templates/homepage/basic/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'] = 'basic_build'; -?> \ No newline at end of file diff --git a/templates/homepage/basic/theme.php b/templates/homepage/basic/theme.php deleted file mode 100644 index 5b086852..00000000 --- a/templates/homepage/basic/theme.php +++ /dev/null @@ -1,70 +0,0 @@ -' - . '' - . '' - . '' . $settings['title'] . '' - . ''; - - $boardlist = createBoardlist(); - $body .= '
' . $boardlist['top'] . '
'; - - $body .= '

' . $settings['title'] . '

' - . '
' . ($settings['subtitle'] ? utf8tohtml($settings['subtitle']) : '') . '
'; - - $body .= '
'; - - $query = query("SELECT * FROM `news` ORDER BY `time` DESC") or error(db_error()); - if($query->rowCount() == 0) { - $body .= '

(No news to show.)

'; - } else { - // List news - while($news = $query->fetch()) { - $body .= '

' . - ($news['subject'] ? - $news['subject'] - : - 'no subject' - ) . - ' — by ' . - $news['name'] . - ' at ' . - date($config['post_date'], $news['time']) . - '

' . $news['body'] . '

'; - } - } - - $body .= '
'; - - // Finish page - $body .= '

Powered by Tinyboard'; - - return $body; - } - }; - -?> \ No newline at end of file diff --git a/templates/homepage/basic/thumb.png b/templates/homepage/basic/thumb.png deleted file mode 100644 index 05dcd96c..00000000 Binary files a/templates/homepage/basic/thumb.png and /dev/null differ -- cgit v1.3