Subversion Repositories wpShopGermany4

Rev

Rev 7367 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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&amp;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">
20
	<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">
21
 
22
		<div class="panel panel-default">
23
  			<div class="panel-heading clearfix">
24
          		<h3 class="panel-title"><?php echo __('Datenschutzbeauftragter', 'wpsg'); ?></h3>
25
        	</div>
26
  			<div class="panel-body">
27
 
28
	  			<?php /* Behördliche Meldung eines Datenschutzbeauftragten */ ?>
29
				<?php echo wpsg_drawForm_Checkbox('dataprotectioncommissioner', __('Datenschutzbeauftragter vorhanden', 'wpsg'), $this->get_option('dataprotectioncommissioner')); ?>
30
				<div class="dataprotectioncommissioner_activ" style="display:none;">
31
					<?php echo wpsg_drawForm_Input('dataprotectioncommissioner_name', __('Name:', 'wpsg'), $this->get_option('dataprotectioncommissioner_name')); ?>
32
					<?php echo wpsg_drawForm_Input('dataprotectioncommissioner_tel', __('Telefon:', 'wpsg'), $this->get_option('dataprotectioncommissioner_tel')); ?>
33
					<?php echo wpsg_drawForm_Input('dataprotectioncommissioner_email', __('E-Mail:', 'wpsg'), $this->get_option('dataprotectioncommissioner_email')); ?>
34
 
35
					<?php echo wpsg_drawForm_TextStart(); ?>
36
					<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>
37
					<?php echo wpsg_drawForm_TextEnd(__('Meldepflicht nach §4d Abs. 1 BDSG', 'wpsg')); ?>
38
	  			</div>
39
 
40
  			</div>
7151 thomas 41
  		</div>
7154 thomas 42
 
7151 thomas 43
  		<div class="panel panel-default">
44
  			<div class="panel-heading clearfix">
45
          		<h3 class="panel-title"><?php echo __('Löschen der kundenspezifischen Daten', 'wpsg'); ?></h3>
46
        	</div>
47
  			<div class="panel-body">
48
 
7413 daniel 49
                <?php echo wpsg_drawForm_Input('wpsg_customerdatadelete', __('Letzte Aktivität älter als', 'wpsg'), $this->get_option('wpsg_customerdatadelete'));?>
50
                <?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 51
				<?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 52
 
7151 thomas 53
			</div>
7148 thomas 54
 
7151 thomas 55
		</div>
7148 thomas 56
 
7014 thomas 57
		<p class="submit"><input type="submit" value="<?php echo __('Einstellungen speichern', 'wpsg'); ?>" class="button-primary" id="submit" name="submit" /></p>
58
 
59
		<script type="text/javascript">/* <![CDATA[ */
60
 
61
			jQuery(document).ready(function() {
62
 
63
				jQuery('#dataprotectioncommissioner').bind('change', function() {
64
 
65
					if (jQuery(this).is(':checked')) jQuery('.dataprotectioncommissioner_activ').show();
66
					else jQuery('.dataprotectioncommissioner_activ').hide();
67
 
68
				} ).change();
69
 
70
				jQuery('#dataprotectioncommissioner_texts').bind('change', function() {
71
 
72
					if (jQuery(this).is(':checked')) jQuery('.dataprotectioncommissioner_textsactiv').show();
73
					else jQuery('.dataprotectioncommissioner_textsactiv').hide();
74
 
75
				} ).change();
76
 
77
			} );
78
 
79
		/* ]]> */</script>
80
 
81
	</form>
82
</div>