-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
themes
phpMyAdmin look can be customised using themes, see FAQ 2.7 how to use them.
Themes are distributed on https://www.phpmyadmin.net/themes or you can make your own changes locally.
We try to document any changes in Theme_Changes to make ongoing theme development easier.
Here is a little tutorial how to set up themes per server. I'm not sure if this is the right way to go but works for me. As an Example take an phpMyAdmin Installation that has three server configured in config.inc.php
$i=0;
$i++;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$_COOKIE['pma_theme-' . $i] = 'big_green';
$i++;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['host'] = '127.0.0.2';
$_COOKIE['pma_theme-' . $i] = 'big_blue';
$i++;
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['host'] = '127.0.0.3';
$_COOKIE['pma_theme-' . $i] = 'big_red';
# Needed for server base theme
$cfg['ThemePerServer'] = true;
All that is need to get to see the themes is to create the themes directory see FAQ 2.7 or read on. I just copied themes/original and made some changes to the background color
cd themes
cp ./original ./big_green
vi ./big_green/css/theme_right.css.php
vi ./big_green/css/theme_left.css.php
Now delete the cookies in your browser and login to phpMyAdmin
Popular destinations:
- Team meetings
- GSoC home
- Developer guidelines
- How to install on Debian and Ubuntu
- Issue and pull-request management
User resources: