Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Overview of this book

Table of Contents (25 chapters)
Mastering phpMyAdmin 2.11 for Effective MySQL Management
Credits
About the Author
About the Reviewers
Preface

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:

  • layout.inc.php for the theme parameters

  • css directory with the various CSS scripts

  • img directory containing the icons

  • screen.png, a screenshot of this theme

The downloaded kit contains two themes, and more themes are available at http://www.phpmyadmin.net/home_page/downloads.php?themes.

Theme Configuration

In config.inc.php, the $cfg['ThemePath'] parameter contains 'themes' by default, which indicates 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...