summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-07-04 06:20:01 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-07-04 06:20:01 +0000
commitc5560db98f32062b446e188500b38271608a7a41 (patch)
tree6e90d7c81d91cb834a36b7e4ede8fba549dbcbc8
parent877575fc7cda4cca6b6ed74c9f086905522598ff (diff)
- $args und $settings in folgenden Widgets zugreifbar gemacht;
- Warenkorb - Topseller - Trusted Shops - Kunden Login git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5639 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/mods/mod_trustedshops/widget.phtml6
-rw-r--r--views/warenkorb/index.phtml14
2 files changed, 10 insertions, 10 deletions
diff --git a/views/mods/mod_trustedshops/widget.phtml b/views/mods/mod_trustedshops/widget.phtml
index b7057ec..3cd4f4a 100644
--- a/views/mods/mod_trustedshops/widget.phtml
+++ b/views/mods/mod_trustedshops/widget.phtml
@@ -6,13 +6,13 @@
?>
-<?php if ($this->view['settings']['wpsg_mod_trustedshops_siegel'] == '1') { ?>
+<?php if ($this->view['widget_settings']['wpsg_mod_trustedshops_siegel'] == '1') { ?>
<div class="wpsg_mod_trustedshops_siegel">
</div>
<?php } ?>
-<?php if ($this->view['settings']['wpsg_mod_trustedshops_vote'] == '1') { ?>
+<?php if ($this->view['widget_settings']['wpsg_mod_trustedshops_vote'] == '1') { ?>
<div class="wpsg_mod_trustedshops_vote">
<a target="_blank" href="https://www.trustedshops.de/bewertung/info_<?php echo $this->get_option('wpsg_mod_trustedshops_shopid'); ?>.html" title="<?php echo wpsg_hspc($this->get_option('wpsg_mod_trustedshops_siegeltitle')); ?>">
<img class="bewertung" alt="<?php echo wpsg_hspc($this->get_option('wpsg_mod_trustedshops_siegeltitle')); ?>" border="0" src="<?php echo $this->view['siegelURL']; ?>"/>
@@ -20,7 +20,7 @@
</div>
<?php } ?>
-<?php if ($this->view['settings']['wpsg_mod_trustedshops_badge'] == '1') { ?>
+<?php if ($this->view['widget_settings']['wpsg_mod_trustedshops_badge'] == '1') { ?>
<script type="text/javascript">/* <![CDATA[ */
(function () {
diff --git a/views/warenkorb/index.phtml b/views/warenkorb/index.phtml
index d02ff16..3b5b8a4 100644
--- a/views/warenkorb/index.phtml
+++ b/views/warenkorb/index.phtml
@@ -94,26 +94,26 @@
<?php } ?>
<ul>
- <?php if ($this->view['wpsg_widgetsettings']['wpsg_requestpage'] == 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 if ($this->view['wpsg_widgetsettings']['wpsg_agbpage'] == 1) { ?>
+ <?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>
<?php } ?>
- <?php if ($this->view['wpsg_widgetsettings']['wpsg_wrpage'] == 1) { ?>
+ <?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>
<?php } ?>
- <?php if ($this->view['wpsg_widgetsettings']['wpsg_dspage'] == 1) { ?>
+ <?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>
<?php } ?>
- <?php if ($this->view['wpsg_widgetsettings']['wpsg_vkpage'] == 1) { ?>
+ <?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>
<?php } ?>
- <?php if ($this->view['wpsg_widgetsettings']['wpsg_odrpage'] == 1) { ?>
+ <?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>
<?php } ?>
- <?php if ($this->view['wpsg_widgetsettings']['wpsg_imppage'] == 1) { ?>
+ <?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>
<?php } ?>
</ul>