I really think that phpMyAdmin needs more configuration variables...It is fine to go ahead and give them defaults which many people will not change, but if someone does want to tune the look, it is really difficult now. Here is a general suggestion to start out...
Everytime a table is used with this code
<table border="<?php echo $cfgBorder; ?>">
It should instead be
<table border="<?php echo $cfgBorder; ?>" cellspacing="<?php echo $cfgSpacing; ?>" cellpadding="<?php echo $cfgPadding; ?>">
Here are my other suggestions:
- Have a variable for font size (and since windows and unix handle font sizes so differently there should be OS sniffing to scale the size)
- Like W3C recommends, font-sizes should be in em and not in pt
- There should be more color preferences...such as link color backgrounds for hover and all that
I have patches for most of this stuff, but phpMyAdmin is changing so fast I just can't get a patch made that will work with the version...obviously I need to learn CVS, but at least I can make suggestions while I am learning. Please comment on the ideas.
Dan Allen