]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/jot-header.tpl
Merge remote-tracking branch 'upstream/develop' into no-frontend-worker
[friendica.git] / view / templates / jot-header.tpl
index f37b67085ec229055ebc0733d529b75b061012e9..8f9d59d9859153e9c4d8912484e3970954f59bbb 100644 (file)
@@ -8,7 +8,7 @@ var textlen = 0;
 function initEditor(callback) {
        if (editor == false) {
                var  colorbox_options = {
-                       {{if $APP->is_mobile}}
+                       {{if $is_mobile}}
                        'width' : '100%',
                        'height' : '100%',
                        {{/if}}
@@ -19,7 +19,7 @@ function initEditor(callback) {
                $("#profile-jot-text-loading").show();
                $("#profile-jot-text-loading").hide();
                $("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
-               $("#profile-jot-text").editor_autocomplete(baseurl+"/acl");
+               $("#profile-jot-text").editor_autocomplete(baseurl + '/search/acl');
                $("#profile-jot-text").bbco_autocomplete('bbcode');
                $("a#jot-perms-icon").colorbox(colorbox_options);
                $(".jothidden").show();
@@ -40,9 +40,9 @@ function enableOnUser(){
 }
 
 </script>
-<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js?v={{$smarty.const.FRIENDICA_VERSION}}" ></script>
 <script>
-       var ispublic = '{{$ispublic}}';
+       var ispublic = '{{$ispublic nofilter}}';
 
 
        $(document).ready(function() {
@@ -230,7 +230,7 @@ function enableOnUser(){
                $("#profile-jot-text").val(currentText + data);
        }
 
-       {{$geotag}}
+       {{$geotag nofilter}}
 
 </script>