From 3289d16111cf906b0bcd9dc3bdc2bbb341c9cacf Mon Sep 17 00:00:00 2001 From: Cameron Date: Tue, 9 Jan 2018 14:43:26 -0800 Subject: [PATCH] Fix for success alert message after maintenance message/status modified. --- e107_admin/ugflag.php | 7 ++++--- e107_plugins/tinymce4/e_footer.php | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/e107_admin/ugflag.php b/e107_admin/ugflag.php index 04370c59e..43642eb96 100644 --- a/e107_admin/ugflag.php +++ b/e107_admin/ugflag.php @@ -51,18 +51,19 @@ if(isset($_POST['updatesettings'])) { e107::getLog()->add(($pref['maintainance_flag'] == 0) ? 'MAINT_02' : 'MAINT_01', $pref['maintainance_text'], E_LOG_INFORMATIVE, ''); save_prefs(); - $mes->addSuccess(UGFLAN_1); + // $mes->addSuccess(UGFLAN_1); } else { $mes->addInfo(LAN_NO_CHANGE); } + $pref = e107::getConfig('core', true, true)->getPref(); if(!e_AJAX_REQUEST) { - header("location:".e_SELF); - exit(); + // header("location:".e_SELF); + // exit(); } } diff --git a/e107_plugins/tinymce4/e_footer.php b/e107_plugins/tinymce4/e_footer.php index 242259463..46675fd0d 100644 --- a/e107_plugins/tinymce4/e_footer.php +++ b/e107_plugins/tinymce4/e_footer.php @@ -23,7 +23,7 @@ if((e107::wysiwyg() === true && check_class($pref['post_html'])) || strpos(e_SEL // e107::js('footer', 'https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.5.3/tinymce.min.js'); - e107::js('footer', 'https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.5.6/tinymce.min.js'); + e107::js('footer', 'http://cdnjs.cloudflare.com/ajax/libs/tinymce/4.5.8/tinymce.min.js'); // e107::js('footer', "//cdn.tinymce.com/4/tinymce.min.js");