summaryrefslogtreecommitdiff
path: root/views/mods/mod_legaltexts
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-01-14 14:55:36 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-01-14 14:55:36 +0000
commitad405c7045c6e242080ec9d3ce4c9e586b517c4f (patch)
treeb41905f4d27f3eaaabd5bad3a39f8d3873540b46 /views/mods/mod_legaltexts
- Testweise 4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5261 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_legaltexts')
-rw-r--r--views/mods/mod_legaltexts/form_haendlerbund.phtml39
-rw-r--r--views/mods/mod_legaltexts/form_itrecht.phtml37
-rw-r--r--views/mods/mod_legaltexts/form_protectedshops.phtml27
-rw-r--r--views/mods/mod_legaltexts/settings_edit.phtml43
4 files changed, 146 insertions, 0 deletions
diff --git a/views/mods/mod_legaltexts/form_haendlerbund.phtml b/views/mods/mod_legaltexts/form_haendlerbund.phtml
new file mode 100644
index 0000000..dfb9663
--- /dev/null
+++ b/views/mods/mod_legaltexts/form_haendlerbund.phtml
@@ -0,0 +1,39 @@
+<?php
+
+ /**
+ * Template für die Integration des Händlerbund-Formulars in das Rechtstextmodul
+ */
+
+?>
+
+<style type="text/css">
+
+ .wphb_clear { clear:both; }
+ .wphb_form_field { width:770px; margin-bottom:5px; }
+ .wphb_form_field .wphb_form_left { line-height:24px; font-weight:bold; width:350px; float:left; }
+ .wphb_form_field .wphb_form_right { width:420px; float:left; position:relative; line-height:28px; }
+ .wphb_form_field .wphb_form_right select, .wphb_form_field .wphb_form_right input { width:95%; }
+ .wphb_form_field .wphb_form_right input.checkbox { width:auto !important; float:left; margin-left:2px; margin-top:5px; }
+ .wphb_form_field .wphb_form_right p { padding:4px 0px 4px 6px; margin:0px; }
+ .wphb_form { padding:10px; }
+ .wphb_date { float:right; padding-right:5%; }
+ .wphb_hinweis { font-style:italic; }
+
+</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 } ?> \ No newline at end of file
diff --git a/views/mods/mod_legaltexts/form_itrecht.phtml b/views/mods/mod_legaltexts/form_itrecht.phtml
new file mode 100644
index 0000000..3764df0
--- /dev/null
+++ b/views/mods/mod_legaltexts/form_itrecht.phtml
@@ -0,0 +1,37 @@
+<?php
+
+ /**
+ * Template des Rechtstext Moduls, welches ITRecht integriert
+ */
+
+?>
+
+<?php if ($this->view['wpsg_mod_legaltexts']['form'] == false) { ?>
+
+ <p><?php echo __('wpShopGermany bietet eine AGB-Schnittstelle zur <a href="http://www.it-recht-kanzlei.de/Service/rechtstexte_fuer_onlineshops.php?partner_id=150">IT-Recht Kanzlei</a> an.', 'wpsg'); ?></p>
+
+ <p><?php echo __('Die IT-Recht Kanzlei bietet für monatlich nur 9,99 Euro abmahnsichere Rechtstexte an - natürlich inkl. Haftung. Dazu gehören die AGB, die Widerrufsbelehrung, die Datenschutzerklärung sowie das Impressum. Mit dem wpShopGermany-IT-Recht Kanzlei Plugin (ab Version 1.0) werden die angebotenen Rechtstexte auf Ihre Blog-Seiten mittels Mausklick automatisch übernommen und künftig auch automatisch aktualisiert - inklusive permanenter AGB-Überwachung.', 'wpsg'); ?></p>
+
+ <p>
+
+ <?php echo __('Jetzt AGB Service buchen', 'wpsg'); ?>:<br />
+ <a href="http://www.it-recht-kanzlei.de/Service/rechtstexte_fuer_onlineshops.php?partner_id=150">http://www.it-recht-kanzlei.de/Service/rechtstexte_fuer_onlineshops.php</a>
+
+ <br /><br />
+
+ <?php echo __('Rechtstexte im günstigen Paketpreis finden Sie hier', 'wpsg'); ?>:<br />
+ <a href="http://www.agb-pakete.de/?partner_id=150">http://www.agb-pakete.de</a>
+
+ </p>
+
+ <?php if (file_exists(WP_PLUGIN_DIR."/wpshopgermany-itrecht/wpshopgermany-itrecht.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 } ?> \ No newline at end of file
diff --git a/views/mods/mod_legaltexts/form_protectedshops.phtml b/views/mods/mod_legaltexts/form_protectedshops.phtml
new file mode 100644
index 0000000..e4099c0
--- /dev/null
+++ b/views/mods/mod_legaltexts/form_protectedshops.phtml
@@ -0,0 +1,27 @@
+<?php
+
+ /**
+ * Template des Rechtstext Moduls, welches das ProtectedsShops-Formular oder den Hinweistext anzeigt
+ */
+
+?>
+
+<?php if ($this->view['wpsg_mod_legaltexts']['form'] == false) { ?>
+
+ <p><?php echo __('wpShopGermany bietet eine Schnittstelle zu <a href="http://www.protectedshops.de/" target="_blank">Protected Shops</a> an.', 'wpsg'); ?></p>
+ <p><?php echo __('Protected Shops bietet Schutzpakete im Abo ("AGB-Rechtstext-Flatrate") für Onlineshop Betreiber an. Mit dem wpShopGermany-ProtectedShops Plugin (ab Version 1.8), werden die angebotenen Rechtstexte auf die zugeordneten Blog-Seiten mittels Mausklick automatisch übernommen und aktualisiert.', 'wpsg'); ?></p>
+ <p><?php echo __('Erhalten Sie <strong>5% Rabatt</strong> auf das erste Protected Shops Jahresabo mit folgendem <strong>Gutscheincode</strong>: <span style="color:red;">WP-SHOP</span> (unbedingt bei der Erstregistrierung angeben!)', 'wpsg'); ?></p>
+
+ <?php if (file_exists(WP_PLUGIN_DIR."/wpshopgermany-protectedshops/wpshopgermany-protectedshops.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 { ?>
+
+ <table class="wpsg_mod_legaltexts_protectedshops_table">
+ <?php echo $this->view['wpsg_mod_legaltexts']['form']; ?>
+ </table>
+
+ <input type="hidden" name="wpsg_mod_legaltexts_submitform" value="1" />
+
+<?php } ?> \ No newline at end of file
diff --git a/views/mods/mod_legaltexts/settings_edit.phtml b/views/mods/mod_legaltexts/settings_edit.phtml
new file mode 100644
index 0000000..96b3b93
--- /dev/null
+++ b/views/mods/mod_legaltexts/settings_edit.phtml
@@ -0,0 +1,43 @@
+<?php
+
+ /**
+ * Template für das Modul "Rechtstexte"
+ */
+
+?>
+
+<?php echo wpsg_drawForm_Select('wpsg_mod_legaltexts_provider', __('Anbieter', 'wpsg'), array(
+ wpsg_mod_legaltexts::PROVIDER_PROTECTEDSHOPS => __('Protected Shops', 'wpsg'),
+ wpsg_mod_legaltexts::PROVIDER_HAENDLERBUND => __('Händlerbund', 'wpsg'),
+ wpsg_mod_legaltexts::PROVIDER_ITRECHT => __('IT-Recht Kanzlei München', 'wpsg')
+), $this->get_option('wpsg_mod_legaltexts_provider')); ?>
+
+<br />
+
+<div id="wpsg_provider_target"></div>
+
+<script type="text/javascript">/* <![CDATA[ */
+
+ jQuery(document).ready(function() {
+
+ jQuery('#wpsg_mod_legaltexts_provider').bind('change', function() {
+
+ jQuery('#wpsg_provider_target').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
+
+ jQuery.ajax( {
+ url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_legaltexts&noheader=1&do=add',
+ data: {
+ 'provider': jQuery('#wpsg_mod_legaltexts_provider').val()
+ },
+ success: function(data) {
+
+ jQuery('#wpsg_provider_target').html(data);
+
+ }
+ } );
+
+ } ).change();
+
+ } );
+
+/* ]]> */</script> \ No newline at end of file