Here is a patch for tuning left.php to be more style and option friendly...any global variables that you see that are not in the config.inc.php I have obviously added and you need to to the same if you want to use this left.php... The easiest and must exciting change is the addition of a title attribute to the table links (so that the table name pops up when you fly over the table if you are using even a halfway decent browser)...helpful for long table names.
If anyone is interested in seeing it all in action, or wants to get some ideas about what I came up with, check out
http://65.5.154.16/phpMyAdmin/
There is no real data on the site, so just be polite and view only...
p.s. I patched the rc4 version
Enjoy!
Dan
On 10 Aug 2001, Dan Allen wrote:
If anyone is interested in seeing it all in action, or wants to get some ideas about what I came up with, check out
Some more suggestions: un-javascript your dropdown menus and have a button next to them, as javascript support is not in all browsers.
on db_details.php3: the text in the sum size line of the table should also get a different color, as it's quite unreadable as is.
On Fri, Aug 10, 2001 at 01:53:43AM -0700, Robin Johnson wrote:
Some more suggestions: un-javascript your dropdown menus and have a button next to them, as javascript support is not in all browsers.
uh, with buttons the list (for example on my server with 140 db's) it will become huge!
Other idea for left.php:
what about putting all db's in a <select></select>, and display the tables list just below (with reload of the frame with the correct infos on db change) ? Do you see what I mean ?
[ db_name ] [go] -table 1 -table 2 -table 3
-> smaller frame (could add another frame for docs or proprieties) -> quicker -> less javascript -> better compatibility
Just checked the size of left.php (save as...) when loading phpmyadmin on my server: -rw-r--r-- 1 om users 463400 Aug 10 14:34 left.php
So I think that would be a nice improvement : when working on a db, I usually never need to see all other db's from server.
Greetings, Olivier
On Fri, 10 Aug 2001, Olivier M. wrote:
On Fri, Aug 10, 2001 at 01:53:43AM -0700, Robin Johnson wrote:
Some more suggestions: un-javascript your dropdown menus and have a button next to them, as javascript support is not in all browsers.
uh, with buttons the list (for example on my server with 140 db's) it will become huge!
I meant the language and server dropdowns on main.php3, you just need a 'go' button for them, instead of using the javascript. it would only be one button per dropdown.
So I think that would be a nice improvement : when working on a db, I usually never need to see all other db's from server.
Several of my projects use a couple of databases together, to keep certain data seperate, as it comes from different sources, so while some ppl might might this good, if there are any others like me, we might have a little trouble.
Dan Allen a écrit :
Here is a patch for tuning left.php to be more style and option friendly...any global variables that you see that are not in the config.inc.php I have obviously added and you need to to the same if you want to use this left.php... The easiest and must exciting change is the addition of a title attribute to the table links (so that the table name pops up when you fly over the table if you are using even a halfway decent browser)...helpful for long table names.
If anyone is interested in seeing it all in action, or wants to get some ideas about what I came up with, check out
I like the idea of the drop-down language selection, because just showing the iso codes can be confusing.
Marc