summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2017-04-19 07:40:42 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2017-04-19 07:40:42 +0000
commit3229f36a17139e68e3e4e6241a1fd85eff372e41 (patch)
tree054e5d11c8467512c8b45a5aaf4d34c4004d13c4 /views
parent771570deb884d2a7bf6ab664ff91ade8804ce25d (diff)
- Bilderexport/import
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6216 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
-rw-r--r--views/produkt/index.phtml5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/produkt/index.phtml b/views/produkt/index.phtml
index e9926b2..adac061 100644
--- a/views/produkt/index.phtml
+++ b/views/produkt/index.phtml
@@ -20,9 +20,12 @@
<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'add'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=add"><span class="glyphicon glyphicon-plus"></span><?php echo __("Hinzufügen", "wpsg"); ?></a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
- <li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'import'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=import&noheader=1"><span class="glyphicon glyphicon-import"></span><?php echo __("Import", "wpsg"); ?></a></li>
+ <li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'import'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=import"><span class="glyphicon glyphicon-import"></span><?php echo __("Import", "wpsg"); ?></a></li>
<?php if (wpsg_isSizedArray($this->view['arData'])) { ?>
<li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'export'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=export&noheader=1"><span class="glyphicon glyphicon-export"></span><?php echo __("Export", "wpsg"); ?></a></li>
+ <?php if ($this->hasMod('wpsg_mod_produktbilder')) { ?>
+ <li role="presentation" class="<?php echo ((wpsg_isSizedString($_REQUEST['action'], 'export'))?'active':''); ?>"><a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=exportMedia&noheader=1"><span class="glyphicon glyphicon-export"></span><?php echo __("Export mit Medien", "wpsg"); ?></a></li>
+ <?php } ?>
<?php } ?>
</ul>
</div>