diff options
author | friendica <info@friendica.com> | 2014-05-08 19:59:26 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-08 19:59:26 -0700 |
commit | 22b79207f9c30ce54d65e134303bd179ea21b377 (patch) | |
tree | 157f733bebbde8e5365461e770f6825f25eb30f9 /view/tpl/event_head.tpl | |
parent | 4cf684a701fcf175bf2104bef66f91ac7549818f (diff) | |
download | volse-hubzilla-22b79207f9c30ce54d65e134303bd179ea21b377.tar.gz volse-hubzilla-22b79207f9c30ce54d65e134303bd179ea21b377.tar.bz2 volse-hubzilla-22b79207f9c30ce54d65e134303bd179ea21b377.zip |
event form hard-wired tinymce=on, made selectable
Diffstat (limited to 'view/tpl/event_head.tpl')
-rwxr-xr-x | view/tpl/event_head.tpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index b55025f65..e698c8c97 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -73,7 +73,7 @@ }); </script> - +{{if $editselect != 'none'}} <script language="javascript" type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> <script language="javascript" type="text/javascript"> @@ -81,7 +81,7 @@ tinyMCE.init({ theme : "advanced", - mode : "textareas", + mode : "{{$editselect}}", plugins : "bbcode,paste", theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code", theme_advanced_buttons2 : "", @@ -107,6 +107,7 @@ }); + {{/if}} $(document).ready(function() { |