7014 |
thomas |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für den Admin Bereich der Datenschutzeinstellungen
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
|
|
8 |
<div class="wpsg_admin_submenu">
|
|
|
9 |
|
|
|
10 |
<div class="list-group">
|
|
|
11 |
<span class="list-group-head list-group-item"><?php echo __('Konfiguration'); ?></span>
|
|
|
12 |
<?php foreach ($this->view['arSubAction'] as $k => $v) { ?>
|
|
|
13 |
<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&subaction=<?php echo $k; ?>"><?php echo $v['Menutext']; ?></a>
|
|
|
14 |
<?php } ?>
|
|
|
15 |
</div>
|
|
|
16 |
|
|
|
17 |
</div>
|
|
|
18 |
|
|
|
19 |
<div class="wpsg_admin_content form-horizontal">
|
7558 |
daniel |
20 |
<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">
|
7014 |
thomas |
21 |
|
7558 |
daniel |
22 |
<?php echo wp_nonce_field('wpsg-admin-dataprotection'); ?>
|
|
|
23 |
|
7014 |
thomas |
24 |
<div class="panel panel-default">
|
|
|
25 |
<div class="panel-heading clearfix">
|
|
|
26 |
<h3 class="panel-title"><?php echo __('Datenschutzbeauftragter', 'wpsg'); ?></h3>
|
|
|
27 |
</div>
|
|
|
28 |
<div class="panel-body">
|
|
|
29 |
|
|
|
30 |
<?php /* Behördliche Meldung eines Datenschutzbeauftragten */ ?>
|
|
|
31 |
<?php echo wpsg_drawForm_Checkbox('dataprotectioncommissioner', __('Datenschutzbeauftragter vorhanden', 'wpsg'), $this->get_option('dataprotectioncommissioner')); ?>
|
|
|
32 |
<div class="dataprotectioncommissioner_activ" style="display:none;">
|
|
|
33 |
<?php echo wpsg_drawForm_Input('dataprotectioncommissioner_name', __('Name:', 'wpsg'), $this->get_option('dataprotectioncommissioner_name')); ?>
|
|
|
34 |
<?php echo wpsg_drawForm_Input('dataprotectioncommissioner_tel', __('Telefon:', 'wpsg'), $this->get_option('dataprotectioncommissioner_tel')); ?>
|
|
|
35 |
<?php echo wpsg_drawForm_Input('dataprotectioncommissioner_email', __('E-Mail:', 'wpsg'), $this->get_option('dataprotectioncommissioner_email')); ?>
|
|
|
36 |
|
|
|
37 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
|
|
38 |
<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>
|
|
|
39 |
<?php echo wpsg_drawForm_TextEnd(__('Meldepflicht nach §4d Abs. 1 BDSG', 'wpsg')); ?>
|
|
|
40 |
</div>
|
|
|
41 |
|
|
|
42 |
</div>
|
7151 |
thomas |
43 |
</div>
|
7154 |
thomas |
44 |
|
7151 |
thomas |
45 |
<div class="panel panel-default">
|
|
|
46 |
<div class="panel-heading clearfix">
|
|
|
47 |
<h3 class="panel-title"><?php echo __('Löschen der kundenspezifischen Daten', 'wpsg'); ?></h3>
|
|
|
48 |
</div>
|
|
|
49 |
<div class="panel-body">
|
|
|
50 |
|
7413 |
daniel |
51 |
<?php echo wpsg_drawForm_Input('wpsg_customerdatadelete', __('Letzte Aktivität älter als', 'wpsg'), $this->get_option('wpsg_customerdatadelete'));?>
|
|
|
52 |
<?php echo wpsg_drawForm_Select('wpsg_customerdatadelete_unit', __('Einheit', 'wpsg'), array('0' => __('Tag(e)', 'wpsg'), '1' => __('Monat(e)', 'wpsg'), '2' => __('Jahr(e)', 'wpsg')), $this->get_option('wpsg_customerdatadelete_unit')); ?>
|
7367 |
daniel |
53 |
<?php echo wpsg_drawForm_Select('wpsg_customerdatedelete_who', __('Kundenart', 'wpsg'), ['0' => __('Alle', 'wpsg'), '1' => __('Nur Gastkunden', 'wpsg')], $this->get_option('wpsg_customerdatedelete_who')); ?>
|
7159 |
daniel |
54 |
|
7151 |
thomas |
55 |
</div>
|
7148 |
thomas |
56 |
|
7151 |
thomas |
57 |
</div>
|
7148 |
thomas |
58 |
|
7014 |
thomas |
59 |
<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" /></p>
|
|
|
60 |
|
|
|
61 |
<script type="text/javascript">/* <![CDATA[ */
|
|
|
62 |
|
|
|
63 |
jQuery(document).ready(function() {
|
|
|
64 |
|
|
|
65 |
jQuery('#dataprotectioncommissioner').bind('change', function() {
|
|
|
66 |
|
|
|
67 |
if (jQuery(this).is(':checked')) jQuery('.dataprotectioncommissioner_activ').show();
|
|
|
68 |
else jQuery('.dataprotectioncommissioner_activ').hide();
|
|
|
69 |
|
|
|
70 |
} ).change();
|
|
|
71 |
|
|
|
72 |
jQuery('#dataprotectioncommissioner_texts').bind('change', function() {
|
|
|
73 |
|
|
|
74 |
if (jQuery(this).is(':checked')) jQuery('.dataprotectioncommissioner_textsactiv').show();
|
|
|
75 |
else jQuery('.dataprotectioncommissioner_textsactiv').hide();
|
|
|
76 |
|
|
|
77 |
} ).change();
|
|
|
78 |
|
|
|
79 |
} );
|
|
|
80 |
|
|
|
81 |
/* ]]> */</script>
|
|
|
82 |
|
|
|
83 |
</form>
|
|
|
84 |
</div>
|