diff options
| -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>
|
