Database Reference
In-Depth Information
Themes
A theme system is available in phpMyAdmin starting with version 2.6.0. The color
parameters and the various icons are located in a directory structure under the
themes
subdirectory. For each available theme, there is a subdirectory named after
the theme. It contains:
•
for the theme parameters
layout.inc.php
•
directory with the various CSS scripts
css
•
directory containing the icons
screen.png
img
•
, a screenshot of this theme
The downloaded kit contains two themes, and more themes are available at
http://phpmyadmin.net/home_page/themes.php
.
Theme configuration
In
config.inc.php
, the
$cfg['ThemePath']
parameter contains
'themes'
by
default, indicating which subdirectory the required structure is located in. This
could be changed to point to another directory where our company's specific
phpMyAdmin themes are located.
The default chosen theme is specified in
$cfg
[
'ThemeDefault'
], and is set to
'original'
. If no theme selection is available for users, this theme will be used.
The
original
subdirectory should never be deleted; phpMyAdmin
relies on it for normal operations.
Theme selection
On the
Home
page, we can offer a theme selector to users. Setting
$cfg['ThemeManager']
to
TRUE
(the default) shows the selector:
Search WWH ::
Custom Search