Hi
I just commited new code to generate URLs and hidden inputs. It adds new functions PMA_generate_common_url and PMA_generate_common_hidden_inputs that should be used anywhere where needed to add common parameter that are needed all over pma (lang, server, optionally convcharset) and optionally also db and table name (optional parameters to these functions). Please use them in new code to avoid problems that were on few places in current code that convcharset was missing in URL. These functions also don't add convcharset when it is not used, so URL became a bit shorter for most users ;-).
Regards Michal Cihar http://cihar.liten.cz
Michal, after I drop a table, I get an Undefined index 'table' in common.lib.php3, line 1147.
The line is $url_qpart = '?' . PMA_generate_common_url($GLOBALS['db'], $GLOBALS['table']);
Can you have a look at this?
Marc
Michal Cihar wrote:
Hi
I just commited new code to generate URLs and hidden inputs. It adds new functions PMA_generate_common_url and PMA_generate_common_hidden_inputs that should be used anywhere where needed to add common parameter that are needed all over pma (lang, server, optionally convcharset) and optionally also db and table name (optional parameters to these functions). Please use them in new code to avoid problems that were on few places in current code that convcharset was missing in URL. These functions also don't add convcharset when it is not used, so URL became a bit shorter for most users ;-).
Regards Michal Cihar http://cihar.liten.cz
This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel