diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2020-10-19 13:08:34 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2020-10-19 13:08:34 +0000 |
| commit | 01edebd6d88854f60a51b6d279c56847f582db79 (patch) | |
| tree | 4fd2706d509d7fe19268d4f2da1fc64c547cfd4c /views | |
| parent | ff9d7b7273b5c17449a09cd63d691eba17e2efd2 (diff) | |
- Bugfix: Klicken auf Bild in der Produktverwaltung öffnet das Produkt
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7788 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
| -rw-r--r-- | views/produkt/index.phtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/views/produkt/index.phtml b/views/produkt/index.phtml index b4dadeb..4e8243f 100644 --- a/views/produkt/index.phtml +++ b/views/produkt/index.phtml @@ -207,7 +207,11 @@ <?php $attachment_id = $this->imagehandler->getAttachmentID($oProduct->getProductKey()); ?>
- <a href="<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id=<?php echo $d['id']; ?>" title="<?php echo wpsg_translate(__('Produkt für Sprache #1# bearbeiten.', 'wpsg'), $d['name']) ?>">
+ <a href="<?php
+
+ echo wp_nonce_url(WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id='.$d['id'].'&wpsg_lang='.$l['lang'], 'wpsg-product-edit-'.$d['id']);
+
+ ?>" title="<?php echo wpsg_translate(__('Produkt für Sprache #1# bearbeiten.', 'wpsg'), $d['name']) ?>">
<div class="box_img_wrap wpsg_be_productindex_image">
<?php echo wp_get_attachment_image($attachment_id, 'medium'); ?>
</div>
|
