From 731c3f4cdab1d88449aabe7e4688fe7ccc3a7e41 Mon Sep 17 00:00:00 2001 From: flashwave Date: Sat, 22 Aug 2015 17:00:01 +0200 Subject: [PATCH] probably all for today tired as shit --- _sakura/changelog.json | 13 ++++++++++++- _sakura/sakura.php | 2 +- _sakura/templates/yuuno/main/support.tpl | 4 ++-- _sakura/templates/yuuno/settings/home.tpl | 2 +- main/settings.php | 3 +-- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/_sakura/changelog.json b/_sakura/changelog.json index 7314d82..beeb7d2 100644 --- a/_sakura/changelog.json +++ b/_sakura/changelog.json @@ -46,7 +46,8 @@ "20150818", "20150819", "20150820", - "20150821" + "20150821", + "20150822" ] @@ -2180,6 +2181,16 @@ "user": "Flashwave" } + ], + + "20150822": [ + + { + "type": "FIX", + "change": "Fixed premium purchasing being broken somehow.", + "user": "Flashwave" + } + ] } diff --git a/_sakura/sakura.php b/_sakura/sakura.php index 1f3384d..e58e712 100644 --- a/_sakura/sakura.php +++ b/_sakura/sakura.php @@ -8,7 +8,7 @@ namespace Sakura; // Define Sakura version -define('SAKURA_VERSION', '20150821'); +define('SAKURA_VERSION', '20150822'); define('SAKURA_VLABEL', 'Eminence'); define('SAKURA_COLOUR', '#6C3082'); define('SAKURA_STABLE', false); diff --git a/_sakura/templates/yuuno/main/support.tpl b/_sakura/templates/yuuno/main/support.tpl index bc95499..865abb0 100644 --- a/_sakura/templates/yuuno/main/support.tpl +++ b/_sakura/templates/yuuno/main/support.tpl @@ -84,7 +84,7 @@ - {% if session.checkLogin and perms.canGetPremium %} + {% if session.checkLogin and user.checkPermission('SITE', 'OBTAIN_PREMIUM') %}
@@ -103,7 +103,7 @@

You need to be logged in to get Tenshi!

{% endif %} - {% if session.checkLogin and perms.canGetPremium %} + {% if session.checkLogin and user.checkPermission('SITE', 'OBTAIN_PREMIUM') %}