From 81b21c41311249cdb319c06f00cb837614338ec3 Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 16 Nov 2022 21:20:24 +0100 Subject: [PATCH] Revert "Remove geotag" This reverts commit 5dc9319b --- src/Module/Post/Edit.php | 1 + view/templates/jot-header.tpl | 2 ++ view/theme/frio/templates/jot-header.tpl | 2 ++ view/theme/smoothly/templates/jot-header.tpl | 3 +++ 4 files changed, 8 insertions(+) diff --git a/src/Module/Post/Edit.php b/src/Module/Post/Edit.php index 347c00725b..11c50ff130 100644 --- a/src/Module/Post/Edit.php +++ b/src/Module/Post/Edit.php @@ -104,6 +104,7 @@ class Edit extends BaseModule $this->page['htmlhead'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('jot-header.tpl'), [ '$ispublic' => ' ', + '$geotag' => '', '$nickname' => $this->app->getLoggedInUserNickname(), '$is_mobile' => $this->mode->isMobile(), ]); diff --git a/view/templates/jot-header.tpl b/view/templates/jot-header.tpl index 53d5c7288e..a67f9c3f0c 100644 --- a/view/templates/jot-header.tpl +++ b/view/templates/jot-header.tpl @@ -236,5 +236,7 @@ function enableOnUser(){ $("#profile-jot-text").val(currentText + data); } + {{$geotag nofilter}} + diff --git a/view/theme/frio/templates/jot-header.tpl b/view/theme/frio/templates/jot-header.tpl index d64799c9ab..25a02b9b60 100644 --- a/view/theme/frio/templates/jot-header.tpl +++ b/view/theme/frio/templates/jot-header.tpl @@ -317,6 +317,8 @@ autosize.update($("#profile-jot-text")); } + {{$geotag nofilter}} + function jotShow() { var modal = $('#jot-modal').modal(); jotcache = $("#jot-sections"); diff --git a/view/theme/smoothly/templates/jot-header.tpl b/view/theme/smoothly/templates/jot-header.tpl index 8a8f3db68d..69233b9260 100644 --- a/view/theme/smoothly/templates/jot-header.tpl +++ b/view/theme/smoothly/templates/jot-header.tpl @@ -264,4 +264,7 @@ function enableOnUser(){ $("#profile-jot-text").val(currentText + data); } + + {{$geotag nofilter}} + -- 2.39.5