[Phpmyadmin-devel] Zoom Search

Marc Delisle marc at infomarc.info
Mon May 23 16:41:07 CEST 2011


Ammar Yasir a écrit :
> Hi,
> I pushed my work. I just tried to add a sub-tab on the table search 
> page, one for the normal search and the other for zoom search. I just 
> wanted to get back feedback on whether the design will be okay to proceed?
> Please don't mind how I have coded for now, just coded very quickly to 
> get a basic design of the interface. I'll code it properly after 
> suggestions.
> 
> Since user needs to select only two columns in the zoom search page, 
> instead of listing out all columns I provided two select boxes where 
> user will select the two columns first and I'll display the field type, 
> collation, operator and value based on that later. Also since we don't 
> need to display the results, the options link on that page was removed.
> 
> One more thing: For tabs, if I am not providing any link then the mouse 
> cursor changes to X and they appear as disabled. How to change that?
> 
> Regards,
> Ammar Yasir
> http://repo.or.cz/w/phpmyadmin/ammaryasirr.git

Ammar,
I think that the two-tabbed interface will do the job.

A few remarks:

- you have a few undefined variables; in case you are not seeing them, 
please use "$cfg['Error_Handler']['display'] = true" in your config.inc.php

- please merge the original master to your repository, today and 
regularly; from 
http://wiki.phpmyadmin.net/pma/Git#Publishing_changes_for_merge

You should also regularly merge back the changes done in official 
repository:

git checkout yourbranch
git remote update origin # assuming official repository is called origin
git merge origin/master

- in your jQuery you are comparing with "Table Search" and this won't 
work with localization

- in pmahomme theme, labels "Table Search", "Zoom search" are difficult 
to read

- the red X comes from the "error" class so try to find out why your 
element has this class

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list