summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/mods/mod_topseller/produkt_addedit_allgemein.phtml12
-rw-r--r--views/mods/mod_topseller/settings_edit.phtml2
2 files changed, 8 insertions, 6 deletions
diff --git a/views/mods/mod_topseller/produkt_addedit_allgemein.phtml b/views/mods/mod_topseller/produkt_addedit_allgemein.phtml
index febc614..98f9b75 100644
--- a/views/mods/mod_topseller/produkt_addedit_allgemein.phtml
+++ b/views/mods/mod_topseller/produkt_addedit_allgemein.phtml
@@ -12,17 +12,17 @@
</h3>
</div>
<div class="panel-body">
- <?php if ($this->get_option('wpsg_mod_topseller_auto') == '1') { ?>
+ <?php if ($this->callMod('wpsg_mod_topseller', 'isAuto')) { ?>
<?php echo wpsg_drawForm_Select('wpsg_mod_topseller[status]', __('TopSeller Status', 'wpsg'), array(
- '0' => __('Einbeziehen', 'wpsg'),
- '1' => __('Ausschließen', 'wpsg')
- ), $this->view['wpsg_mod_topseller']['status']); ?>
+ '0' => __('Nach Verkäufen berücksichtigen', 'wpsg'),
+ '1' => __('Nie als Topseller anzeigen', 'wpsg')
+ ), $this->view['wpsg_mod_topseller']['status'], ['hint' => __('Ohne die Option „Alle Produkte einbeziehen“ wird aus „Nie als Topseller anzeigen“ „Als Topseller anzeigen“.', 'wpsg')]); ?>
<?php } else { ?>
<?php echo wpsg_drawForm_Select('wpsg_mod_topseller[status]', __('TopSeller Status', 'wpsg'), array(
- '0' => __('Nicht anzeigen', 'wpsg'),
- '1' => __('Anzeigen', 'wpsg')
+ '0' => __('Nicht als Topseller anzeigen', 'wpsg'),
+ '1' => __('Als Topseller anzeigen', 'wpsg')
), $this->view['wpsg_mod_topseller']['status']); ?>
<?php } ?>
diff --git a/views/mods/mod_topseller/settings_edit.phtml b/views/mods/mod_topseller/settings_edit.phtml
index 0722195..56c82a1 100644
--- a/views/mods/mod_topseller/settings_edit.phtml
+++ b/views/mods/mod_topseller/settings_edit.phtml
@@ -7,6 +7,8 @@
?>
<?php if ($this->hasMod('wpsg_mod_statistics')) { ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_topseller_auto', __('Alle Produkte einbeziehen', 'wpsg'), $this->get_option('wpsg_mod_topseller_auto'), array('help' => 'wpsg_mod_topseller_auto')); ?>
+<?php } else { ?>
+<p class="wpsg_hinweis"><?php echo __('Ohne das Modul „Statistik“ erscheinen nur Produkte, die in der Produktbearbeitung als Topseller markiert sind.', 'wpsg'); ?></p>
<?php } ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_topseller_limit', __('Maximale Anzahl (Standard)', 'wpsg'), $this->get_option('wpsg_mod_topseller_limit'), array('help' => 'wpsg_mod_topseller_limit')); ?>
<?php echo wpsg_drawForm_Select('wpsg_mod_topseller_template', __('Template', 'wpsg'), $this->view['arTemplates'], $this->get_option('wpsg_mod_topseller_template'), array('noIndex' => true, 'help' => 'wpsg_mod_topseller_template')); ?> \ No newline at end of file