diff options
Diffstat (limited to 'httemplate/edit')
-rw-r--r-- | httemplate/edit/invoice_template.html | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/httemplate/edit/invoice_template.html b/httemplate/edit/invoice_template.html index 851ab5ecf..9cec62c86 100644 --- a/httemplate/edit/invoice_template.html +++ b/httemplate/edit/invoice_template.html @@ -10,23 +10,12 @@ % if ( $type eq 'html' ) { -% #init - <SCRIPT TYPE="text/javascript" src="<% $p %>elements/fckeditor/fckeditor.js"> - </SCRIPT> - -% #editor - <SCRIPT TYPE="text/javascript"> - var oFCKeditor = new FCKeditor('value'); - oFCKeditor.Value = <% $value |js_string %>; - - oFCKeditor.BasePath = '<% $p %>elements/fckeditor/'; - oFCKeditor.Config['SkinPath'] = '<% $p %>elements/fckeditor/editor/skins/silver/'; - oFCKeditor.Height = '800'; - oFCKeditor.Config['StartupFocus'] = true; - - oFCKeditor.Create(); - - </SCRIPT> + <% include('/elements/htmlarea.html', + 'field' => 'value', + 'curr_value' => $value, + 'height' => 800, + ) + %> % } else { |