diff --git a/e107_admin/banlist.php b/e107_admin/banlist.php index d8164d686d..261d089f1b 100644 --- a/e107_admin/banlist.php +++ b/e107_admin/banlist.php @@ -10,7 +10,10 @@ * * */ - +if(!empty($_POST) && !isset($_POST['e-token'])) +{ + $_POST['e-token'] = ''; +} require_once(__DIR__.'/../class2.php'); if (!getperms('4')) @@ -534,7 +537,7 @@ protected function timesPage()
".$frm->admin_button('update_ban_prefs', LAN_UPDATE, 'update')." - +
@@ -651,7 +654,7 @@ protected function optionsPage()
".$frm->admin_button('update_ban_options', LAN_UPDATE, 'update')." - +
@@ -666,7 +669,7 @@ protected function optionsPage() ".BANLAN_75." ".$frm->admin_button('remove_expired_bans', BANLAN_76, 'delete')." - + diff --git a/e107_admin/cache.php b/e107_admin/cache.php index 30174e95fd..e1e860f9fb 100644 --- a/e107_admin/cache.php +++ b/e107_admin/cache.php @@ -10,6 +10,10 @@ * */ +if(!empty($_POST) && !isset($_POST['e-token'])) +{ + $_POST['e-token'] = ''; +} require_once(__DIR__."/../class2.php"); if (!getperms("C")) @@ -205,6 +209,7 @@ 'empty_browsercache' => CACLAN_27, ))." ".$frm->admin_button('trigger_empty_cache', LAN_DELETE, 'delete')." +
"; diff --git a/e107_admin/emoticon.php b/e107_admin/emoticon.php index 38877299b5..d7b71a07d8 100644 --- a/e107_admin/emoticon.php +++ b/e107_admin/emoticon.php @@ -10,7 +10,10 @@ * * */ - +if(!empty($_POST) && !isset($_POST['e-token'])) +{ + $_POST['e-token'] = ''; +} require_once(__DIR__.'/../class2.php'); if (!getperms("F")) { @@ -157,6 +160,7 @@ function listPacks()
" . $frm->admin_button('active', 'active', 'update', LAN_UPDATE) . " +
@@ -228,7 +232,7 @@ function listPacks() } $text .= $frm->admin_button('XMLPack_' . $pack, 'submit', 'default', EMOLAN_28); - $text .= " + $text .= " "; diff --git a/e107_admin/eurl.php b/e107_admin/eurl.php index db3bca19d7..7c616afa8f 100644 --- a/e107_admin/eurl.php +++ b/e107_admin/eurl.php @@ -9,7 +9,10 @@ * URL and front controller Management * */ - +if(!empty($_POST) && !isset($_POST['e-token'])) +{ + $_POST['e-token'] = ''; +} require_once(__DIR__.'/../class2.php'); if (!getperms('K')) { @@ -328,7 +331,9 @@ protected function simplePage() } $text .= "
".$frm->button('saveSimpleSef',LAN_SAVE, 'submit')."
"; + $text .= $frm->token(); $text .= $frm->close(); + $text .= ""; return $text; } @@ -444,7 +449,8 @@ protected function AliasPage()
- ".$form->admin_button('update', LAN_UPDATE, 'update')." + ".$form->admin_button('update', LAN_UPDATE, 'update'). + $form->token()."
@@ -564,7 +570,8 @@ protected function ConfigPage()
- ".$form->admin_button('update', LAN_UPDATE, 'update')." + ".$form->admin_button('update', LAN_UPDATE, 'update'). + $form->token()."
diff --git a/e107_admin/search.php b/e107_admin/search.php index e15ffe674d..c46c04a8ef 100644 --- a/e107_admin/search.php +++ b/e107_admin/search.php @@ -9,7 +9,10 @@ * Search Administration * */ - +if(!empty($_POST) && !isset($_POST['e-token'])) +{ + $_POST['e-token'] = ''; +} require_once(__DIR__.'/../class2.php'); if (!getperms('X')) { @@ -277,6 +280,7 @@
".$frm->admin_button('update_prefs', LAN_UPDATE, 'update')." +
@@ -348,6 +352,7 @@
".$frm->admin_button('update_handler', 'no-value', 'update', LAN_UPDATE)." +
@@ -520,6 +525,7 @@
".$frm->admin_button('update_main','no-value','update',LAN_UPDATE)." +
diff --git a/e107_plugins/social/admin_config.php b/e107_plugins/social/admin_config.php index 77bb54517c..92e1cb1204 100644 --- a/e107_plugins/social/admin_config.php +++ b/e107_plugins/social/admin_config.php @@ -1,7 +1,10 @@ ".$frm->button('save_social_pages',1,'submit',LAN_SAVE)." - + "; + $ret .= $frm->token(); $ret .= $frm->close(); return $ret; @@ -467,6 +471,7 @@ public function modifyPage() $text .= $this->generateSocialLoginForm($var); $text .= "
".$frm->button('save_social_logins',1,'submit',LAN_ADD)."
"; + $text .= $frm->token(); $text .= $frm->close(); return $text; @@ -563,6 +568,7 @@ public function configurePage() "; + $ret .= $frm->token(); $ret .= $frm->close(); return $ret;