From 0166570fb456deff8b1f11cd378349d6987d0649 Mon Sep 17 00:00:00 2001
From: Cerdic <cedric@yterium.com>
Date: Fri, 15 Sep 2017 13:26:48 +0000
Subject: [PATCH] Pas de onclick ni de popup JS dans le pied de page

---
 ecrire/inc/presentation_mini.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/inc/presentation_mini.php b/ecrire/inc/presentation_mini.php
index bb69dfd78c..7db85dd845 100644
--- a/ecrire/inc/presentation_mini.php
+++ b/ecrire/inc/presentation_mini.php
@@ -246,7 +246,7 @@ function info_copyright() {
 	if ($svn_revision = version_svn_courante(_DIR_RACINE)) {
 		$version .= ' ' . (($svn_revision < 0) ? 'SVN ' : '')
 			. "[<a href='http://core.spip.net/projects/spip/repository/revisions/"
-			. abs($svn_revision) . "' onclick=\"window.open(this.href); return false;\">"
+			. abs($svn_revision) . "' target=\"_blank\">"
 			. abs($svn_revision) . "</a>]";
 	}
 
-- 
GitLab