summaryrefslogtreecommitdiff
path: root/views/admin/dataprotection.phtml
blob: c67433bfcef374fa30f684ca80a9c3ab05ab55f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<?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>
  			
  			<hr>
  			
  			<?php /* Datenschutzhinweis an alle bestehenden Kunden versenden - Upload und Versendebutton */ ?>
			<?php echo wpsg_drawForm_Upload('wpsg_tom', __('Technisch-Organisatorische Maßnahmen (TOM)', 'wpsg')); ?>
			
			<br />
			
			<?php /* Datenschutzhinweis an neue Kunden mittels Bestellbestätigung versenden (Checkbox) */ ?>
			<?php echo wpsg_drawForm_Checkbox('wpsg_tom_kundenmail', __('Anhang an Bestellbestätigung', 'wpsg'), $this->get_option('wpsg_tom_kundenmail')); ?>
			
			<?php /* Datenschutzhinweis an neue Kunden mit Rechnungsversand versenden (Checkbox) */ ?>
			<?php if ($this->hasMod('wpsg_mod_rechnungen')) { ?>
				<?php echo wpsg_drawForm_Checkbox('wpsg_tom_invoice', __('Anhang an Rechnung', 'wpsg'), $this->get_option('wpsg_tom_invoice')); ?>
			<?php } ?>
			
			<?php /* Datenschutzhinweis an neue Kunden mit Auftragsbestätigung versenden (Checkbox) */ ?>
			<?php if ($this->hasMod('wpsg_mod_auftragsbestaetigung')) { ?>
				<?php echo wpsg_drawForm_Checkbox('wpsg_tom_orderconfirm', __('Anhang an Auftragsbestätigung', 'wpsg'), $this->get_option('wpsg_tom_orderconfirm')); ?>
			<?php } ?>
			
			<br />
			
			<?php echo wpsg_drawForm_TextStart(); ?>
				<div role="presentation">
				
					<a target="_blank" href="<?php echo WPSG_URL_UPLOADS.'wpsg_toms/'.$this->get_option('wpsg_toms'); ?>"><span class="glyphicon glyphicon-export"></span><?php echo __('gespeichertes PDF-Dokument', 'wpsg');?></a>			
				
				</div>
			<?php echo wpsg_drawForm_TextEnd(); ?>

		</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>