| 1 |
lars |
1 |
{if isset($user_rechte.online_shop.artikel.beschreibung)}
|
|
|
2 |
<!-- Einbindung TinyMCE -->
|
|
|
3 |
<script type="text/javascript" src="../tiny_mce/jquery.tinymce.js"></script>
|
|
|
4 |
<script type="text/javascript">
|
|
|
5 |
$().ready(function() {
|
|
|
6 |
$('#beschreibung').tinymce({
|
|
|
7 |
// Location of TinyMCE script
|
|
|
8 |
script_url : '../tiny_mce/tiny_mce.js',
|
|
|
9 |
|
|
|
10 |
// General options
|
|
|
11 |
theme : "advanced",
|
| 2 |
lars |
12 |
plugins : "autolink,lists,pagebreak,style,layer,table,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,advlist",
|
| 1 |
lars |
13 |
|
|
|
14 |
// Theme options
|
|
|
15 |
theme_advanced_buttons1 : "save,newdocument,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect",
|
|
|
16 |
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor",
|
|
|
17 |
theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,print,|,ltr,rtl,|,fullscreen",
|
|
|
18 |
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,pagebreak",
|
|
|
19 |
theme_advanced_toolbar_location : "top",
|
|
|
20 |
theme_advanced_toolbar_align : "left",
|
|
|
21 |
theme_advanced_statusbar_location : "bottom",
|
|
|
22 |
theme_advanced_resizing : true,
|
|
|
23 |
|
|
|
24 |
// Example content CSS (should be your site CSS)
|
|
|
25 |
content_css : "css/content.css",
|
|
|
26 |
|
|
|
27 |
// Drop lists for link/image/media/template dialogs
|
|
|
28 |
template_external_list_url : "lists/template_list.js",
|
|
|
29 |
external_link_list_url : "lists/link_list.js",
|
|
|
30 |
external_image_list_url : "lists/image_list.js",
|
|
|
31 |
media_external_list_url : "lists/media_list.js",
|
|
|
32 |
|
|
|
33 |
// Replace values for the template plugin
|
|
|
34 |
template_replace_values : {
|
|
|
35 |
username : "Some User",
|
|
|
36 |
staffid : "991234"
|
|
|
37 |
}
|
|
|
38 |
});
|
|
|
39 |
});
|
|
|
40 |
</script>
|
|
|
41 |
{/if}
|
|
|
42 |
<form id="edit_desc_form">
|
|
|
43 |
<table width="100%">
|
|
|
44 |
<tr>
|
|
|
45 |
<td bgcolor="{$webs.bgcolor_links}" valign="top">
|
|
|
46 |
<font style="color:#{$webs.font_color_links}">
|
|
|
47 |
<b>Beschreibung:</b>
|
|
|
48 |
</font>
|
|
|
49 |
</td>
|
|
|
50 |
<td bgcolor="{$webs.bgcolor_rechts}" valign="top">
|
|
|
51 |
<font style="color:#{$webs.font_color_rechts}">
|
| 2 |
lars |
52 |
<textarea id="beschreibung" name="beschreibung" cols="80" rows="50">{$item.beschreibung}</textarea>
|
| 1 |
lars |
53 |
</font>
|
|
|
54 |
</td>
|
|
|
55 |
</tr>
|
|
|
56 |
</table>
|
|
|
57 |
<input type="hidden" name="item" value="{$item.id}" />
|
|
|
58 |
</form>
|