summaryrefslogtreecommitdiff
path: root/views/mods/mod_productgroups/show.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-12-15 08:02:55 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-12-15 08:02:55 +0000
commit07d2750b65a9e0ed21061d6e3acd2501083a48a3 (patch)
treec0ade370e42d8999dd9196757c4ce8b46b66ed78 /views/mods/mod_productgroups/show.phtml
parentaac2b772b8b6e0dbd807813bec052866a1a1642e (diff)
- Produktrguppen -> intern
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5990 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_productgroups/show.phtml')
-rw-r--r--views/mods/mod_productgroups/show.phtml48
1 files changed, 0 insertions, 48 deletions
diff --git a/views/mods/mod_productgroups/show.phtml b/views/mods/mod_productgroups/show.phtml
deleted file mode 100644
index 0591381..0000000
--- a/views/mods/mod_productgroups/show.phtml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?php
-
- /*
- *
- * Template für die Ansicht einer einzelnen Produktgruppe
- *
- */
-
- if (!$this->hasMod("wpsg_mod_produktbilder")) die(__("Dieses Template erfordert das Modul mod_produktbilder.", "wpsg"));
-
- // Dimension der Bilder
- $picW = 200;
- $picH = 200;
- $picMode = 'c';
-
- //$p['produktattribute'][$index]['name']; Der Name des Attributs
- //$p['produktattribute'][$index]['value']; Der Wert des Attributs
- //$index ist die Nummer des Produktattributs
-
- //Ausgabemöglichkeit bei aktiviertem Debug Modus
- //wpsg_debug($this->view['data']);
-
-?>
-<div class="wpsg_pgruppen_single">
- <div class="wpsg_pgruppen_single_produkte_wrap">
- <div class="wpsg_pgruppen_single_produkte">
- <?php foreach ((array)$this->view['data']['produkte'] as $p) { ?>
- <?php //wpsg_debug($p) ?>
- <?php if (sizeof($p['bilder']) > 0) { ?>
- <?php $image = array_rand($p['bilder']); ?>
- <div class="wpsg_pgruppen_single_list_image">
- <?php $image_path = $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($p['id'], $p['bilder'][$image], $picW, $picH, $picMode)) ?>
- <a href="<?php echo $p['url'] ?>">
- <img src="<?php echo $image_path; ?>" alt="<?php echo $p['name']; ?>"/>
- </a>
- </div>
- <?php } ?>
- <?php } ?>
- </div>
- </div>
- <div style="clear:both;"></div>
- <div class="wpsg_pgruppen_single_titel"><?php echo $this->view['data']['name']; ?></div>
- <?php if ($this->view['data']['infopage'] > 0) { ?>
- <div class="wpsg_pgruppen_single_link">
- <a href="<?php echo get_permalink($this->view['data']['infopage']); ?>"><?php echo __("Mehr zur Produktgruppe", "wpsg"); ?></a>
- </div>
- <?php } ?>
-</div> \ No newline at end of file