From 5dc9319bb27dd2e7ecd83c0c904acfd9cb7f775d Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 16 Nov 2022 08:50:57 +0100 Subject: [PATCH] Remove geotag --- src/Module/Post/Edit.php | 2 -- 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, 9 deletions(-) diff --git a/src/Module/Post/Edit.php b/src/Module/Post/Edit.php index ba6a73620..0f382aebf 100644 --- a/src/Module/Post/Edit.php +++ b/src/Module/Post/Edit.php @@ -95,7 +95,6 @@ class Edit extends BaseModule } $user = User::getById($this->session->getLocalUserId()); - $geoTag = ''; $output = Renderer::replaceMacros(Renderer::getMarkupTemplate('section_title.tpl'), [ '$title' => $this->t('Edit post'), @@ -103,7 +102,6 @@ class Edit extends BaseModule $this->page['htmlhead'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('jot-header.tpl'), [ '$ispublic' => ' ', // $this->t('Visible to everybody'), - '$geotag' => $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 a67f9c3f0..53d5c7288 100644 --- a/view/templates/jot-header.tpl +++ b/view/templates/jot-header.tpl @@ -236,7 +236,5 @@ 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 25a02b9b6..d64799c9a 100644 --- a/view/theme/frio/templates/jot-header.tpl +++ b/view/theme/frio/templates/jot-header.tpl @@ -317,8 +317,6 @@ 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 69233b926..8a8f3db68 100644 --- a/view/theme/smoothly/templates/jot-header.tpl +++ b/view/theme/smoothly/templates/jot-header.tpl @@ -264,7 +264,4 @@ function enableOnUser(){ $("#profile-jot-text").val(currentText + data); } - - {{$geotag nofilter}} -