diff options
| -rw-r--r-- | views/admin/konfiguration.phtml | 4 | ||||
| -rw-r--r-- | views/admin/widerrufsbelehrung.phtml | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/views/admin/konfiguration.phtml b/views/admin/konfiguration.phtml index 16d991f..259b644 100644 --- a/views/admin/konfiguration.phtml +++ b/views/admin/konfiguration.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=konfiguration&noheader=1'); ?>">
-
+
+ <?php wp_nonce_field('wpsg-save-config'); ?>
+
<div class="panel panel-default">
<div class="panel-heading clearfix">
<h3 class="panel-title"><?php echo __('Allgemeine Einstellungen', 'wpsg'); ?></h3>
diff --git a/views/admin/widerrufsbelehrung.phtml b/views/admin/widerrufsbelehrung.phtml index 8cb9f7b..01b9f23 100644 --- a/views/admin/widerrufsbelehrung.phtml +++ b/views/admin/widerrufsbelehrung.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_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&subaction=<?php echo $_REQUEST['subaction']; ?>&noheader=1">
-
+
+ <?php wp_nonce_field('wpsg-save-revocation'); ?>
+
<?php echo wpsg_drawForm_AdminboxStart(__('Widerruf', 'wpsg')); ?>
<?php echo wpsg_drawForm_Textarea('wpsg_ps_mailwiderruf', __('Widerrufsbelehrung', 'wpsg'), $this->get_option('wpsg_ps_mailwiderruf'), array(
|
