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:
authorRouslan Placella <rouslan@placella.com>2012-05-24 03:11:26 +0400
committerRouslan Placella <rouslan@placella.com>2012-06-11 17:06:02 +0400
commit54d47b89db2bcb2641f59f9ca1941698cb13b549 (patch)
tree07d495617dff59536e1c39227ade9e1ca3424ed4 /themes.php
parent372335a8cad0295c170ccfdb36c42972a389eadc (diff)
Use PMA_Header class in themes.php
Diffstat (limited to 'themes.php')
-rw-r--r--themes.php17
1 files changed, 5 insertions, 12 deletions
diff --git a/themes.php b/themes.php
index 9c6d6731f2..eb587beceb 100644
--- a/themes.php
+++ b/themes.php
@@ -10,20 +10,13 @@
*/
require './libraries/common.inc.php';
-/* Theme Select */
-$path_to_themes = $cfg['ThemePath'] . '/';
+$header = PMA_Header::getInstance();
+$header->setBodyId('bodythemes');
+$header->setTitle('phpMyAdmin - ' . __('Theme'));
+$header->disableMenu();
+$header->display();
-/* set language and charset */
-require './libraries/header_http.inc.php';
-
-/* HTML header */
-$page_title = 'phpMyAdmin - ' . __('Theme');
-require './libraries/header_meta_style.inc.php';
-require './libraries/header_scripts.inc.php';
?>
-</head>
-
-<body id="bodythemes">
<h1>phpMyAdmin - <?php echo __('Theme'); ?></h1>
<p><a href="<?php echo PMA_linkURL('http://www.phpmyadmin.net/home_page/themes.php'); ?>#pma_<?php echo preg_replace('/([0-9]*)\.([0-9]*)\..*/', '\1_\2', PMA_VERSION); ?>" class="_blank"><?php echo __('Get more themes!'); ?></a></p>
<?php