]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/jot-header.tpl
Merge branch '2021.03-rc' into copyright-2021
[friendica.git] / view / templates / jot-header.tpl
index f37b67085ec229055ebc0733d529b75b061012e9..db2e893e9bb39399729e03477213d9c5383d6e4d 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() {
@@ -103,7 +103,7 @@ function enableOnUser(){
                if(reply && reply.length) {
                        reply = bin2hex(reply);
                        $('#profile-rotator').show();
-                       $.get('parse_url?binurl=' + reply, function(data) {
+                       $.get('parseurl?binurl=' + reply, function(data) {
                                addeditortext(data);
                                $('#profile-rotator').hide();
                        });
@@ -160,7 +160,7 @@ function enableOnUser(){
                if(reply && reply.length) {
                        reply = bin2hex(reply);
                        $('#profile-rotator').show();
-                       $.get('parse_url?binurl=' + reply, function(data) {
+                       $.get('parseurl?binurl=' + reply, function(data) {
                                if (!editor) $("#profile-jot-text").val("");
                                initEditor(function(){
                                        addeditortext(data);
@@ -230,7 +230,7 @@ function enableOnUser(){
                $("#profile-jot-text").val(currentText + data);
        }
 
-       {{$geotag}}
+       {{$geotag nofilter}}
 
 </script>