From 56ef9355da4d6151e72c406d46bb37b4b15c77a3 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Tue, 20 Aug 2024 11:24:42 +0200 Subject: [PATCH] add noopener noreferrer to href with target _blank Signed-off-by: Nicola Murino --- templates/common/login.html | 2 +- templates/webadmin/adminsetup.html | 2 +- templates/webadmin/folder.html | 2 +- templates/webadmin/login.html | 2 +- templates/webadmin/maintenance.html | 2 +- templates/webadmin/user.html | 2 +- templates/webclient/files.html | 6 +++--- templates/webclient/shares.html | 8 ++++---- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/common/login.html b/templates/common/login.html index affc377f..e35fe382 100644 --- a/templates/common/login.html +++ b/templates/common/login.html @@ -90,7 +90,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). {{- end}} {{- if and .Branding.DisclaimerName .Branding.DisclaimerPath}} - + {{.Branding.DisclaimerName}} {{- end}} diff --git a/templates/webadmin/adminsetup.html b/templates/webadmin/adminsetup.html index e6b9e202..5a83b327 100644 --- a/templates/webadmin/adminsetup.html +++ b/templates/webadmin/adminsetup.html @@ -100,7 +100,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). {{- if not .HideSupportLink}} diff --git a/templates/webadmin/folder.html b/templates/webadmin/folder.html index f8b69dd2..8923bbcb 100644 --- a/templates/webadmin/folder.html +++ b/templates/webadmin/folder.html @@ -44,7 +44,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). {{- end}} {{- template "errmsg" .Error}} -
+ {{- if eq .Mode 3}}
diff --git a/templates/webadmin/login.html b/templates/webadmin/login.html index e909dabb..62118b13 100644 --- a/templates/webadmin/login.html +++ b/templates/webadmin/login.html @@ -90,7 +90,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com). {{- end}} {{- if and .Branding.DisclaimerName .Branding.DisclaimerPath}} - + {{.Branding.DisclaimerName}} {{- end}} diff --git a/templates/webadmin/maintenance.html b/templates/webadmin/maintenance.html index 77d9056c..59df4c86 100644 --- a/templates/webadmin/maintenance.html +++ b/templates/webadmin/maintenance.html @@ -76,7 +76,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
diff --git a/templates/webadmin/user.html b/templates/webadmin/user.html index ccaeb537..6af1799b 100644 --- a/templates/webadmin/user.html +++ b/templates/webadmin/user.html @@ -46,7 +46,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
{{- end}} {{- template "errmsg" .Error}} - + {{- if eq .Mode 3}}