From 6f21a0a0c66a8855adb4995777e8bffc2fa8ca8b Mon Sep 17 00:00:00 2001 From: flashwave Date: Sun, 5 Apr 2015 19:39:33 +0200 Subject: [PATCH] eek Signed-off-by: Flashwave --- _sakura/config/config.php | 26 -------------------------- _sakura/sakura.php | 2 +- _sakura/templates/yuuno/main/news.tpl | 19 +++++++++++++++++++ main/index.php | 3 ++- main/news.php | 7 ++++--- 5 files changed, 26 insertions(+), 31 deletions(-) delete mode 100644 _sakura/config/config.php diff --git a/_sakura/config/config.php b/_sakura/config/config.php deleted file mode 100644 index be94481..0000000 --- a/_sakura/config/config.php +++ /dev/null @@ -1,26 +0,0 @@ - +
+
+ + + comments powered by Disqus + {% include 'global/footer.tpl' %} diff --git a/main/index.php b/main/index.php index 224e9b7..da60fc5 100644 --- a/main/index.php +++ b/main/index.php @@ -11,7 +11,8 @@ require_once '/var/www/flashii.net/_sakura/sakura.php'; // Add page specific things $renderData['page'] = [ - 'title' => 'Flashii Dev' + 'title' => 'Flashii Dev', + 'newsComments' => false ]; $renderData['stats'] = [ 'userCount' => ($userCount = count($users = Users::getAllUsers())) .' user'. ($userCount == 1 ? '' : 's'), diff --git a/main/news.php b/main/news.php index a80821b..6cf70d9 100644 --- a/main/news.php +++ b/main/news.php @@ -10,10 +10,11 @@ namespace Sakura; require_once '/var/www/flashii.net/_sakura/sakura.php'; // Add page specific things -$renderData['page'] = [ - 'title' => 'Flashii News' -]; $renderData['newsPosts'] = Main::getNewsPosts((isset($_GET['id']) && !isset($_GET['xml']) && is_numeric($_GET['id'])) ? $_GET['id'] : null, (isset($_GET['id']) && !isset($_GET['xml']) && is_numeric($_GET['id']))); +$renderData['page'] = [ + 'title' => 'Flashii News', + 'newsComments' => false +]; // News XML, don't really care so yeah if(isset($_GET['xml'])) {