diff options
| author | thomas <noreply@maennchen1.de> | 2019-04-25 08:15:37 +0000 |
|---|---|---|
| committer | thomas <noreply@maennchen1.de> | 2019-04-25 08:15:37 +0000 |
| commit | 3e3e0fd57d339837870ebc96e40984c9c0877d1d (patch) | |
| tree | a53d6f3f461e4274c8152a24cab51ddadeed178f | |
| parent | d96c271fad4396fb173e8706d6339898c18abc89 (diff) | |
- Produkttexterweiterung
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7397 0d5edaf7-2b12-4e95-93f4-047927463d4b
| -rw-r--r-- | views/produkt/addedit_texte.phtml | 13 | ||||
| -rw-r--r-- | views/produkttemplates/standard.phtml | 16 |
2 files changed, 29 insertions, 0 deletions
diff --git a/views/produkt/addedit_texte.phtml b/views/produkt/addedit_texte.phtml index 397297c..aa3b450 100644 --- a/views/produkt/addedit_texte.phtml +++ b/views/produkt/addedit_texte.phtml @@ -67,3 +67,16 @@ ?>
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
+
+<?php echo wpsg_drawForm_AdminboxStart(__('Lieferumfang', 'wpsg')); ?>
+<?php
+
+ // Damit die qTranslate Interne Editor Übersetzung nicht aufgerufen wird
+ //remove_filter('the_editor', 'qtrans_modifyRichEditor');
+
+ add_filter('tiny_mce_before_init', 'wpsg_formatTinyMCE');
+ add_filter('admin_head', 'wpsg_ShowTinyMCE');
+ wp_editor(@$this->view['data']['moreinfos2'], 'moreinfos2');
+
+?>
+<?php echo wpsg_drawForm_AdminboxEnd(); ?>
diff --git a/views/produkttemplates/standard.phtml b/views/produkttemplates/standard.phtml index c47d531..521afa6 100644 --- a/views/produkttemplates/standard.phtml +++ b/views/produkttemplates/standard.phtml @@ -398,6 +398,22 @@ </div>
<?php /* zusätzliche Informationen ENDE */ ?>
+
+ <?php /* zusätzliche Lieferumfang START */ ?>
+ <div class="wpsg_product_informationarea">
+
+ <?php if (strlen(trim($this->view['data']['moreinfos2'])) > 0) { ?>
+ <div class="wpsg_product_information_large">
+ <div class="wpsg_produkt_additional_information">
+ <div itemprop="description" class="wpsg_produkt_moreinfos2">
+ <span><?php echo $this->view['data']['moreinfos2']; ?></span>
+ </div>
+ </div>
+ </div>
+ <?php } ?>
+
+ </div>
+ <?php /* zusätzliche Lieferumfang ENDE */ ?>
<div class="wpsg_clear"></div>
|
