Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-07-12 11:57:23 +0300
committerMichal Čihař <michal@cihar.com>2016-07-12 12:02:53 +0300
commit3c06eede3fda803fb2b931598e26d61563a4502b (patch)
tree9457cc046b31c3693f6fb026ce3b8c3f3e4f8477 /themes.php
parent2090eb57aaada8a2fc1c6e34ceaae657ef2ec404 (diff)
Add rel="noopener noreferrer" to all target="_blank" links
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'themes.php')
-rw-r--r--themes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes.php b/themes.php
index 5c6f2089f2..a8cc0d605d 100644
--- a/themes.php
+++ b/themes.php
@@ -21,7 +21,7 @@ $hash = '#pma_' . preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSI
$url = PMA_linkURL('https://www.phpmyadmin.net/themes/') . $hash;
$output = '<h1>phpMyAdmin - ' . __('Theme') . '</h1>';
$output .= '<p>';
-$output .= '<a href="' . $url . '" class="_blank">';
+$output .= '<a href="' . $url . '" rel="noopener noreferrer" class="_blank">';
$output .= __('Get more themes!');
$output .= '</a>';
$output .= '</p>';