summaryrefslogtreecommitdiff
path: root/views/mods/mod_legaltexts/form_haendlerbund.phtml
blob: bcfd57f6c17d8e286a0bd0866aa20c23599193a2 (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
<?php 

	/**
	 * Template für die Integration des Händlerbund-Formulars in das Rechtstextmodul
	 * @version 4.6.1
	 */

?>

<style type="text/css">
	
	.wphb_form_field {
		width: 100%;
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
	}
	.wphb_form_field input {
		width: 100%;
	}
	.wphb_form_left {
		width: 50% !important;
		flex-grow: 0;
		flex-shrink: 0;
	}
	.wphb_form_right {
		width: 50% !important;
		flex-grow: 0;
		flex-shrink: 0;
	}

	.wphb_table {
		width: 100%;
		border-spacing: 0px;
		border-collapse: collapse;
	}
	.wphb_table input {
		min-height: unset !important;
	}
	.wphb_table select {
		width: 100%;
	}
	.col0 {
		width: 50%;
	}
	.col1 {
		width: 50%;
	}

</style>	

<?php if ($this->view['wpsg_mod_legaltexts']['form'] == false) { ?>

	<p><?php echo __('wpShopGermany bietet eine Schnittstelle zum <a href="https://partner.haendlerbund.de/partnerdoor.php?partnerid=partner_wp&bannerid=18" target="_blank">Händlerbund</a> an.', 'wpsg'); ?></p>
	<p><?php echo __('Händlerbund bietet Schutzpakete im Abo ("AGB-Rechtstext-Flatrate") für Onlineshop Betreiber an. Mit dem wpShopGermany-Händlerbund Plugin (ab Version 1.0), werden die angebotenen Rechtstexte auf die zugeordneten Blog-Seiten mittels Mausklick automatisch übernommen und aktualisiert.', 'wpsg'); ?></p>
	 			
	<?php if (file_exists(WP_PLUGIN_DIR."/wpshopgermany-haendlerbund/wpshopgermany-haendlerbund.php")) { ?>
		<p style="color:red;"><?php echo __('Das Plugin wurde bereits gefunden aber noch nicht aktiviert. Bitte aktivieren sie das Plugin in der <a href="plugins.php">Pluginverwaltung</a>.', 'wpsg'); ?></p>
	<?php } ?>

<?php } else { ?>
	
	<?php echo $this->view['wpsg_mod_legaltexts']['form']; ?>
	
	<input type="hidden" name="wpsg_mod_legaltexts_submitform" value="1" />
	
<?php } ?>