1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-14 01:19:44 +01:00

Fix for success alert message after maintenance message/status modified.

This commit is contained in:
Cameron 2018-01-09 14:43:26 -08:00
parent c5394784ff
commit 3289d16111
2 changed files with 5 additions and 4 deletions

View File

@ -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();
}
}

View File

@ -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");