summaryrefslogtreecommitdiff
path: root/views/mods/mod_productview/productview.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-03-06 17:20:05 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-03-06 17:20:05 +0000
commite124d5983d7d262978484aafb37f09407c1970e9 (patch)
tree8167540978d4cb0fc462489f7da9b060b0c009df /views/mods/mod_productview/productview.phtml
parent452f23d1ea5a444a4513740b3983eed8afb5b22f (diff)
- Dummy Bild als JPG, wird so kleiner
- Bei weniger als Einträge auf Seite nur max. Anzahl anzeigen git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5396 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_productview/productview.phtml')
-rw-r--r--views/mods/mod_productview/productview.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/mods/mod_productview/productview.phtml b/views/mods/mod_productview/productview.phtml
index c917078..7e7a541 100644
--- a/views/mods/mod_productview/productview.phtml
+++ b/views/mods/mod_productview/productview.phtml
@@ -19,7 +19,7 @@
</div>
<div class="col-lg-6 wpsg_mod_productview-info">
- <strong><?php echo wpsg_translate(__('Anzeige #1# - #2#', 'wpsg'), ($this->view['wpsg_mod_productview']['page'] - 1) * $this->view['wpsg_mod_productview']['per_page'] + 1, $this->view['wpsg_mod_productview']['page'] * $this->view['wpsg_mod_productview']['per_page']); ?></strong>
+ <strong><?php echo wpsg_translate(__('Anzeige #1# - #2#', 'wpsg'), ($this->view['wpsg_mod_productview']['page'] - 1) * $this->view['wpsg_mod_productview']['per_page'] + 1, max($this->view['wpsg_mod_productview']['count'], $this->view['wpsg_mod_productview']['page'] * $this->view['wpsg_mod_productview']['per_page'])); ?></strong>
<?php echo wpsg_translate(__('von #1# Ergebnissen', 'wpsg'), $this->view['wpsg_mod_productview']['count']); ?>
</div>
<?php } ?>