From a6196f2357f9229fa1e343eb1254994ae16803f2 Mon Sep 17 00:00:00 2001 From: flashwave Date: Wed, 4 Nov 2015 22:26:58 +0100 Subject: [PATCH] r20151104 Signed-off-by: Flashwave --- _sakura/components/BBcode.php | 2 + _sakura/sakura.php | 2 +- _sakura/templates/misaki/global/master.tpl | 47 ++-- .../templates/misaki/global/restricted.tpl | 10 + _sakura/templates/misaki/main/profile.tpl | 2 +- public/content/data/misaki/css/misaki.css | 231 ++++++------------ public/content/data/misaki/js/misaki.js | 2 +- public/settings.php | 16 +- 8 files changed, 136 insertions(+), 176 deletions(-) create mode 100644 _sakura/templates/misaki/global/restricted.tpl diff --git a/_sakura/components/BBcode.php b/_sakura/components/BBcode.php index 22f5a9d..2a193c5 100644 --- a/_sakura/components/BBcode.php +++ b/_sakura/components/BBcode.php @@ -11,4 +11,6 @@ namespace Sakura; */ class BBcode { + // Array containing bbcodes + private static $bbcodes = []; } diff --git a/_sakura/sakura.php b/_sakura/sakura.php index e8e4710..eb16125 100755 --- a/_sakura/sakura.php +++ b/_sakura/sakura.php @@ -8,7 +8,7 @@ namespace Sakura; // Define Sakura version -define('SAKURA_VERSION', '20151101'); +define('SAKURA_VERSION', '20151104'); define('SAKURA_VLABEL', 'Eminence'); define('SAKURA_COLOUR', '#6C3082'); define('SAKURA_STABLE', false); diff --git a/_sakura/templates/misaki/global/master.tpl b/_sakura/templates/misaki/global/master.tpl index ee3fbd9..efee943 100755 --- a/_sakura/templates/misaki/global/master.tpl +++ b/_sakura/templates/misaki/global/master.tpl @@ -81,31 +81,38 @@
{% endif %}
diff --git a/_sakura/templates/misaki/global/restricted.tpl b/_sakura/templates/misaki/global/restricted.tpl new file mode 100644 index 0000000..5b63fa2 --- /dev/null +++ b/_sakura/templates/misaki/global/restricted.tpl @@ -0,0 +1,10 @@ +{% extends 'global/master.tpl' %} + +{% block title %}Restricted{% endblock %} + +{% block content %} +
+

You aren't allowed to view this page!

+ Please make sure that you're logged in and are supposed to be able to access this page. If you think this was a mistake please contact a staff member. +
+{% endblock %} diff --git a/_sakura/templates/misaki/main/profile.tpl b/_sakura/templates/misaki/main/profile.tpl index 59146f2..01b71ee 100755 --- a/_sakura/templates/misaki/main/profile.tpl +++ b/_sakura/templates/misaki/main/profile.tpl @@ -28,7 +28,7 @@