From 54d47b89db2bcb2641f59f9ca1941698cb13b549 Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Thu, 24 May 2012 00:11:26 +0100 Subject: Use PMA_Header class in themes.php --- themes.php | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'themes.php') 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'; ?> - - -

phpMyAdmin -