diff options
author | root <root@bawker.net> | 2014-05-10 10:55:50 -0700 |
---|---|---|
committer | root <root@bawker.net> | 2014-05-10 10:55:50 -0700 |
commit | 80796c78f5326c670893476fe8e9024c30ebffcc (patch) | |
tree | 9be350288804ab8fa46e2ce10043c91e5c97672f /view/tpl/event_head.tpl | |
parent | 711719ce0ce340fbcda7559bf20582e85e4b1e3d (diff) | |
parent | 481b4c21c9ab6e7e6df8f65ef97135fb5807d7fd (diff) | |
download | volse-hubzilla-80796c78f5326c670893476fe8e9024c30ebffcc.tar.gz volse-hubzilla-80796c78f5326c670893476fe8e9024c30ebffcc.tar.bz2 volse-hubzilla-80796c78f5326c670893476fe8e9024c30ebffcc.zip |
Merge branch 'master' of https://github.com/chriswinstead/red
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() { |