summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomas <noreply@maennchen1.de>2016-09-29 07:59:28 +0000
committerthomas <noreply@maennchen1.de>2016-09-29 07:59:28 +0000
commit3e9d084dd6e77769795abf47d28bd2b8c33fde8c (patch)
tree44e8fb7f86bccc3594fe6645e98bf09c9528a6d8
parente5d2739cc8d28e0c69706dd4e781ee2500d8f5d8 (diff)
- kein Seitenanlegen für Streitbeilegung
- Darstellungsoptionen nur bei aktivem Anfragemodul anzeigen git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5799 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/admin/seiten.phtml6
-rw-r--r--views/warenkorb/index.phtml18
2 files changed, 15 insertions, 9 deletions
diff --git a/views/admin/seiten.phtml b/views/admin/seiten.phtml
index a224a85..11c5444 100644
--- a/views/admin/seiten.phtml
+++ b/views/admin/seiten.phtml
@@ -21,13 +21,17 @@
<?php echo wpsg_drawForm_AdminboxStart(__('Seitenkonfiguration', 'wpsg')); ?>
+ <?php if ($this->hasMod('wpsg_mod_request') == '1') { ?>
+ <?php echo wpsg_drawForm_Select('wpsg_page_request', __('Anfrageliste', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_request'), array('help' => 'wpsg_page_request')); ?>
+ <?php } ?>
+
<?php echo wpsg_drawForm_Select('wpsg_page_basket', __('Warenkorbseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_basket'), array('help' => 'wpsg_page_basket')); ?>
<?php echo wpsg_drawForm_Select('wpsg_page_product', __('Produktdetail', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_product'), array('help' => 'wpsg_page_product')); ?>
<?php echo wpsg_drawForm_Select('wpsg_page_versand', __('Versandkosten', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_versand'), array('help' => 'wpsg_page_versand')); ?>
<?php echo wpsg_drawForm_Select('wpsg_page_agb', __('AGB', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_agb'), array('help' => 'wpsg_page_agb')); ?>
<?php echo wpsg_drawForm_Select('wpsg_page_datenschutz', __('Datenschutz', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_datenschutz'), array('help' => 'wpsg_page_datenschutz')); ?>
<?php echo wpsg_drawForm_Select('wpsg_page_widerrufsbelehrung', __('Widerrufsbelehrung', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_widerrufsbelehrung'), array('help' => 'wpsg_page_widerrufsbelehrung')); ?>
- <?php echo wpsg_drawForm_Input('wpsg_page_onlinedisputeresolution', __('Online Streitbeilegung', 'wpsg'), $this->get_option('wpsg_page_onlinedisputeresolution'), array('help' => 'wpsg_page_onlinedisputeresolution')); ?>
+ <?php // echo wpsg_drawForm_Input('wpsg_page_onlinedisputeresolution', __('Online Streitbeilegung', 'wpsg'), $this->get_option('wpsg_page_onlinedisputeresolution'), array('help' => 'wpsg_page_onlinedisputeresolution')); ?>
<?php echo wpsg_drawForm_Select('wpsg_page_impressum', __('Impressum', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_impressum'), array('help' => 'wpsg_page_impressum')); ?>
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
diff --git a/views/warenkorb/index.phtml b/views/warenkorb/index.phtml
index 3b5b8a4..45f7bd1 100644
--- a/views/warenkorb/index.phtml
+++ b/views/warenkorb/index.phtml
@@ -94,27 +94,29 @@
<?php } ?>
<ul>
- <?php if ($this->view['widget_settings']['wpsg_requestpage'] == 1) { ?>
- <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_REQUEST); ?>"><?php echo get_the_title($this->get_option('wpsg_page_request')); ?></a></li>
+ <?php if ($this->hasMod('wpsg_mod_request') == '1') { ?>
+ <?php if ($this->view['widget_settings']['wpsg_requestpage'] == 1) { ?>
+ <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_REQUEST); ?>"><?php echo get_the_title($this->get_option('wpsg_page_request')); ?></a></li>
+ <?php } ?>
<?php } ?>
<?php if ($this->view['widget_settings']['wpsg_agbpage'] == 1) { ?>
- <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_AGB); ?>"><?php echo get_the_title($this->get_option('wpsg_page_agb')); ?></a></li>
+ <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_AGB); ?>"><?php echo get_the_title($this->get_option('wpsg_page_agb')); ?></a></li>
<?php } ?>
<?php if ($this->view['widget_settings']['wpsg_wrpage'] == 1) { ?>
- <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_WIDERRUF); ?>"><?php echo get_the_title($this->get_option('wpsg_page_widerrufsbelehrung')); ?></a></li>
+ <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_WIDERRUF); ?>"><?php echo get_the_title($this->get_option('wpsg_page_widerrufsbelehrung')); ?></a></li>
<?php } ?>
<?php if ($this->view['widget_settings']['wpsg_dspage'] == 1) { ?>
- <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_DATENSCHUTZ); ?>"><?php echo get_the_title($this->get_option('wpsg_page_datenschutz')); ?></a></li>
+ <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_DATENSCHUTZ); ?>"><?php echo get_the_title($this->get_option('wpsg_page_datenschutz')); ?></a></li>
<?php } ?>
<?php if ($this->view['widget_settings']['wpsg_vkpage'] == 1) { ?>
- <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN); ?>"><?php echo get_the_title($this->get_option('wpsg_page_versand')); ?></a></li>
+ <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN); ?>"><?php echo get_the_title($this->get_option('wpsg_page_versand')); ?></a></li>
<?php } ?>
<?php if ($this->view['widget_settings']['wpsg_odrpage'] == 1) { ?>
- <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_ONLINE_DISPUTE_RESOLUTION); ?>"><?php echo __('Online Streitbeilegung', 'wpsg'); ?></a></li>
+ <li class="page_item"><a href="http://ec.europa.eu/consumers/odr/"><?php echo __('Online Streitbeilegung', 'wpsg'); ?></a></li>
<?php } ?>
<?php if ($this->view['widget_settings']['wpsg_imppage'] == 1) { ?>
- <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_IMPRESSUM); ?>"><?php echo get_the_title($this->get_option('wpsg_page_impressum')); ?></a></li>
+ <li class="page_item"><a href="<?php echo $this->getURL(wpsg_ShopController::URL_IMPRESSUM); ?>"><?php echo get_the_title($this->get_option('wpsg_page_impressum')); ?></a></li>
<?php } ?>
</ul>