From 2b0560407ce15ac3ba41d312359032ff5c244192 Mon Sep 17 00:00:00 2001 From: Avinash Gusain Date: Thu, 11 May 2023 10:12:23 +0530 Subject: [PATCH 1/4] terms url change --- defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults.php b/defaults.php index 64cb8905..065ce578 100644 --- a/defaults.php +++ b/defaults.php @@ -90,7 +90,7 @@ class OC_Theme { * @return string URL */ public function getTermsUrl() { - return 'https://murena.com/terms-conditions/'; + return $this->getBaseUrl().'apps/terms_of_service/en/termsandconditions'; } /** -- GitLab From ce0cb4e4783b532bb08684566aaca829b968b1aa Mon Sep 17 00:00:00 2001 From: Avinash Gusain Date: Thu, 11 May 2023 10:14:58 +0530 Subject: [PATCH 2/4] terms url change --- defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults.php b/defaults.php index 065ce578..066c84d8 100644 --- a/defaults.php +++ b/defaults.php @@ -90,7 +90,7 @@ class OC_Theme { * @return string URL */ public function getTermsUrl() { - return $this->getBaseUrl().'apps/terms_of_service/en/termsandconditions'; + return 'http://murena.io/apps/terms_of_service/en/termsandconditions'; } /** -- GitLab From 6648a5bb465a32068064a989543a0e90623387d1 Mon Sep 17 00:00:00 2001 From: Avinash Gusain Date: Thu, 11 May 2023 10:20:18 +0530 Subject: [PATCH 3/4] terms url change --- defaults.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults.php b/defaults.php index 066c84d8..8a9feffc 100644 --- a/defaults.php +++ b/defaults.php @@ -90,7 +90,7 @@ class OC_Theme { * @return string URL */ public function getTermsUrl() { - return 'http://murena.io/apps/terms_of_service/en/termsandconditions'; + return 'http://murena.io/apps/terms_of_service/en/termsandconditions'; } /** -- GitLab From cc493744f85894e9849bf9280b4c6e3ceada873d Mon Sep 17 00:00:00 2001 From: Avinash Gusain Date: Tue, 16 May 2023 15:05:16 +0530 Subject: [PATCH 4/4] get language --- defaults.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/defaults.php b/defaults.php index 8a9feffc..9cc545c9 100644 --- a/defaults.php +++ b/defaults.php @@ -90,7 +90,9 @@ class OC_Theme { * @return string URL */ public function getTermsUrl() { - return 'http://murena.io/apps/terms_of_service/en/termsandconditions'; + $language = \OC::$server->getL10N('core')->getLanguageCode(); + $url = 'http://murena.io/apps/terms_of_service/'.$language.'/termsandconditions'; + return $url; } /** -- GitLab