summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2018-05-17 12:26:02 +0000
committerthomas <noreply@maennchen1.de>2018-05-17 12:26:02 +0000
commitd3ef03ec3ff6386ec2c1246bbb46e6cf5ca25f20 (patch)
treeb98986bd19fd412d64da26500367db7ae52ee4f3 /views
parent001149acc3044b6f442a66686402b4f5922fa908 (diff)
- DSGVO
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7014 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
-rw-r--r--views/admin/dataprotection.phtml83
1 files changed, 83 insertions, 0 deletions
diff --git a/views/admin/dataprotection.phtml b/views/admin/dataprotection.phtml
new file mode 100644
index 0000000..7cfc497
--- /dev/null
+++ b/views/admin/dataprotection.phtml
@@ -0,0 +1,83 @@
+<?php
+
+ /**
+ * Template für den Admin Bereich der Datenschutzeinstellungen
+ */
+
+?>
+<div class="wpsg_admin_submenu">
+
+ <div class="list-group">
+ <span class="list-group-head list-group-item"><?php echo __('Konfiguration'); ?></span>
+ <?php foreach ($this->view['arSubAction'] as $k => $v) { ?>
+ <a class="list-group-item <?php echo (($k == $this->view['subAction'])?'active':''); ?>" href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&amp;subaction=<?php echo $k; ?>"><?php echo $v['Menutext']; ?></a>
+ <?php } ?>
+ </div>
+
+</div>
+
+<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">
+
+ <div class="panel panel-default">
+ <div class="panel-heading clearfix">
+ <h3 class="panel-title"><?php echo __('Datenschutzbeauftragter', 'wpsg'); ?></h3>
+ </div>
+ <div class="panel-body">
+
+ <?php /* Behördliche Meldung eines Datenschutzbeauftragten */ ?>
+ <?php echo wpsg_drawForm_Checkbox('dataprotectioncommissioner', __('Datenschutzbeauftragter vorhanden', 'wpsg'), $this->get_option('dataprotectioncommissioner')); ?>
+ <div class="dataprotectioncommissioner_activ" style="display:none;">
+ <?php echo wpsg_drawForm_Input('dataprotectioncommissioner_name', __('Name:', 'wpsg'), $this->get_option('dataprotectioncommissioner_name')); ?>
+ <?php echo wpsg_drawForm_Input('dataprotectioncommissioner_tel', __('Telefon:', 'wpsg'), $this->get_option('dataprotectioncommissioner_tel')); ?>
+ <?php echo wpsg_drawForm_Input('dataprotectioncommissioner_email', __('E-Mail:', 'wpsg'), $this->get_option('dataprotectioncommissioner_email')); ?>
+
+ <?php echo wpsg_drawForm_TextStart(); ?>
+ <a href="https://www.bfdi.bund.de/DE/Infothek/Anschriften_Links/anschriften_links-node.html" target=_blank ><?php echo __('Liste der Aufsichtsbehörden (Inland, EU, Ausland)', 'wpsg'); ?></a>
+ <?php echo wpsg_drawForm_TextEnd(__('Meldepflicht nach §4d Abs. 1 BDSG', 'wpsg')); ?>
+ </div>
+
+ </div>
+ </div>
+
+ <div class="panel panel-default">
+ <div class="panel-heading clearfix">
+ <h3 class="panel-title"><?php echo __('Hinweistexte zur DSGVO', 'wpsg'); ?></h3>
+ </div>
+ <div class="panel-body">
+ <?php echo wpsg_drawForm_Checkbox('dataprotectioncommissioner_texts', __('zusätzliche Hinweistexte integrieren', 'wpsg'), $this->get_option('dataprotectioncommissioner_texts')); ?>
+ <div class="dataprotectioncommissioner_textsactiv" style="display:none;">
+ <?php /* Bestellabschluss (oberhalb des Bestellbuttons) */ ?>
+ <?php echo wpsg_drawForm_Textarea('dataprotectioncommissioner_baskettext', __('Hinweis oberhalb des Buttons "zahlungspflichtig bestellen"', 'wpsg'), $this->get_option('dataprotectioncommissioner_baskettext'), array(
+ 'hint' => 'nohspc_'.__('Dieser Text wird in die Bestellabschlussseite (oberhalb des Buttons "zahlungspflichtig bestellen" integriert.', 'wpsg')
+ )); ?>
+ </div>
+ </div>
+ </div>
+
+ <p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" /></p>
+
+ <script type="text/javascript">/* <![CDATA[ */
+
+ jQuery(document).ready(function() {
+
+ jQuery('#dataprotectioncommissioner').bind('change', function() {
+
+ if (jQuery(this).is(':checked')) jQuery('.dataprotectioncommissioner_activ').show();
+ else jQuery('.dataprotectioncommissioner_activ').hide();
+
+ } ).change();
+
+ jQuery('#dataprotectioncommissioner_texts').bind('change', function() {
+
+ if (jQuery(this).is(':checked')) jQuery('.dataprotectioncommissioner_textsactiv').show();
+ else jQuery('.dataprotectioncommissioner_textsactiv').hide();
+
+ } ).change();
+
+ } );
+
+ /* ]]> */</script>
+
+ </form>
+</div> \ No newline at end of file