5450 |
daniel |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
/**
|
|
|
4 |
* Template für die Texte innerhalb der Produktverwaltung
|
|
|
5 |
*/
|
|
|
6 |
|
|
|
7 |
?>
|
|
|
8 |
|
5532 |
daniel |
9 |
<?php echo wpsg_drawForm_AdminboxStart(__('Kurztext', 'wpsg')); ?>
|
5450 |
daniel |
10 |
<?php
|
|
|
11 |
|
|
|
12 |
function wpsg_ShowTinyMCE()
|
|
|
13 |
{
|
|
|
14 |
|
|
|
15 |
wp_print_scripts('editor');
|
|
|
16 |
if (function_exists('add_thickbox')) add_thickbox();
|
|
|
17 |
wp_print_scripts('media-upload');
|
|
|
18 |
if (function_exists('wp_tiny_mce')) wp_tiny_mce();
|
|
|
19 |
wp_admin_css();
|
|
|
20 |
|
|
|
21 |
do_action("admin_print_styles-post-php");
|
|
|
22 |
do_action('admin_print_styles');
|
|
|
23 |
|
|
|
24 |
}
|
|
|
25 |
|
|
|
26 |
function wpsg_formatTinyMCE($in)
|
|
|
27 |
{
|
|
|
28 |
|
|
|
29 |
if (isset($in['theme_advanced_buttons1'])) $in['theme_advanced_buttons1'] = str_replace(",wpsg", "", $in['theme_advanced_buttons1']);
|
|
|
30 |
|
|
|
31 |
return $in;
|
|
|
32 |
|
|
|
33 |
}
|
|
|
34 |
|
5534 |
daniel |
35 |
// Damit die qTranslate Interne Editor Übersetzung nicht aufgerufen wird
|
|
|
36 |
//remove_filter('the_editor', 'qtrans_modifyRichEditor');
|
|
|
37 |
|
5450 |
daniel |
38 |
add_filter('tiny_mce_before_init', 'wpsg_formatTinyMCE');
|
5532 |
daniel |
39 |
add_filter('admin_head', 'wpsg_ShowTinyMCE');
|
5450 |
daniel |
40 |
wp_editor(@$this->view['data']['beschreibung'], 'beschreibung');
|
|
|
41 |
|
|
|
42 |
?>
|
5532 |
daniel |
43 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
|
|
44 |
|
|
|
45 |
<?php echo wpsg_drawForm_AdminboxStart(__('Langtext', 'wpsg')); ?>
|
|
|
46 |
<?php
|
|
|
47 |
|
|
|
48 |
// Damit die qTranslate Interne Editor Übersetzung nicht aufgerufen wird
|
|
|
49 |
//remove_filter('the_editor', 'qtrans_modifyRichEditor');
|
|
|
50 |
|
|
|
51 |
add_filter('tiny_mce_before_init', 'wpsg_formatTinyMCE');
|
|
|
52 |
add_filter('admin_head', 'wpsg_ShowTinyMCE');
|
|
|
53 |
wp_editor(@$this->view['data']['longdescription'], 'longdescription');
|
|
|
54 |
|
|
|
55 |
?>
|
6539 |
daniel |
56 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
|
|
57 |
|
|
|
58 |
<?php echo wpsg_drawForm_AdminboxStart(__('Zusätzliche Informationen', 'wpsg')); ?>
|
|
|
59 |
<?php
|
|
|
60 |
|
|
|
61 |
// Damit die qTranslate Interne Editor Übersetzung nicht aufgerufen wird
|
|
|
62 |
//remove_filter('the_editor', 'qtrans_modifyRichEditor');
|
|
|
63 |
|
|
|
64 |
add_filter('tiny_mce_before_init', 'wpsg_formatTinyMCE');
|
|
|
65 |
add_filter('admin_head', 'wpsg_ShowTinyMCE');
|
|
|
66 |
wp_editor(@$this->view['data']['moreinfos'], 'moreinfos');
|
|
|
67 |
|
|
|
68 |
?>
|
|
|
69 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
7397 |
thomas |
70 |
|
|
|
71 |
<?php echo wpsg_drawForm_AdminboxStart(__('Lieferumfang', 'wpsg')); ?>
|
|
|
72 |
<?php
|
|
|
73 |
|
|
|
74 |
// Damit die qTranslate Interne Editor Übersetzung nicht aufgerufen wird
|
|
|
75 |
//remove_filter('the_editor', 'qtrans_modifyRichEditor');
|
|
|
76 |
|
|
|
77 |
add_filter('tiny_mce_before_init', 'wpsg_formatTinyMCE');
|
|
|
78 |
add_filter('admin_head', 'wpsg_ShowTinyMCE');
|
|
|
79 |
wp_editor(@$this->view['data']['moreinfos2'], 'moreinfos2');
|
|
|
80 |
|
|
|
81 |
?>
|
|
|
82 |
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|