summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/admin/access.phtml4
-rw-r--r--views/admin/widerrufsbelehrung.phtml2
2 files changed, 4 insertions, 2 deletions
diff --git a/views/admin/access.phtml b/views/admin/access.phtml
index f330572..3cdf383 100644
--- a/views/admin/access.phtml
+++ b/views/admin/access.phtml
@@ -18,7 +18,9 @@
<div class="wpsg_admin_content form-horizontal">
<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo wpsg_hspc(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction='.$_REQUEST['subaction'].'&noheader=1'); ?>">
-
+
+ <?php \wp_nonce_field('wpsg-save-admin-access'); ?>
+
<?php global $wpdb; $arRoles = get_option($wpdb->prefix."user_roles"); ?>
<div class="panel panel-default">
diff --git a/views/admin/widerrufsbelehrung.phtml b/views/admin/widerrufsbelehrung.phtml
index 66a3c3c..b7765d4 100644
--- a/views/admin/widerrufsbelehrung.phtml
+++ b/views/admin/widerrufsbelehrung.phtml
@@ -19,7 +19,7 @@
<div class="wpsg_admin_content form-horizontal">
<form name="form1" method="post" enctype="multipart/form-data" action="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;subaction=<?php echo $_REQUEST['subaction']; ?>&amp;noheader=1">
- <?php wp_nonce_field('wpsg-save-revocation'); ?>
+ <?php \wp_nonce_field('wpsg-save-revocation'); ?>
<?php echo wpsg_drawForm_AdminboxStart(__('Widerruf', 'wpsg')); ?>