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:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-06-02 20:09:23 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-06-03 06:52:22 +0300
commite330402b5b57380587c576d1c03c542176423681 (patch)
treebcd0552fab0be5eb957d053ab32ed7d65c8d4b85 /themes.php
parent2af08b93f10660db3e14884ff792ed153ec9df50 (diff)
Refactor the core functions into static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'themes.php')
-rw-r--r--themes.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/themes.php b/themes.php
index e57e34f37b..e159deedb8 100644
--- a/themes.php
+++ b/themes.php
@@ -5,6 +5,8 @@
*
* @package PhpMyAdmin
*/
+
+use PMA\libraries\Core;
use PMA\libraries\ThemeManager;
use PMA\libraries\Response;
@@ -21,7 +23,7 @@ $header->setTitle('phpMyAdmin - ' . __('Theme'));
$header->disableMenuAndConsole();
$hash = '#pma_' . preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSION);
-$url = PMA_linkURL('https://www.phpmyadmin.net/themes/') . $hash;
+$url = Core::linkURL('https://www.phpmyadmin.net/themes/') . $hash;
$output = '<h1>phpMyAdmin - ' . __('Theme') . '</h1>';
$output .= '<p>';
$output .= '<a href="' . $url . '" rel="noopener noreferrer" target="_blank">';