diff options
author | Michal Čihař <michal@cihar.com> | 2016-08-18 18:35:20 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-08-18 18:35:20 +0300 |
commit | 6faa1fe46a4a69c43bb1f9eb8a059a9811700e3c (patch) | |
tree | 3b0137925a18a9b896f08972f1380014913aa82f /themes.php | |
parent | c44f5ab080641765d8a234b791ad75395b932335 (diff) |
Add rel="noopener noreferrer" to all external target="_blank" links
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'themes.php')
-rw-r--r-- | themes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes.php b/themes.php index a8cc0d605d..da38dda17c 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 . '" rel="noopener noreferrer" class="_blank">'; +$output .= '<a href="' . $url . '" rel="noopener noreferrer" target="_blank">'; $output .= __('Get more themes!'); $output .= '</a>'; $output .= '</p>'; |