Commit Graph

45 Commits

Author SHA1 Message Date
Hugues Peccatte
42c0ebac85 Merge branch 'master' into useNamespaces_master 2015-09-09 22:05:00 +02:00
Madhura Jayaratne
d16bc93ff1 Remove Drizzle support from functionalities in server level
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-10 01:02:33 +10:00
Hugues Peccatte
7f8f34e89d Remove classes require_once.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:22 +02:00
Hugues Peccatte
0761fb1801 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:21 +02:00
Hugues Peccatte
f0ba28fc1d Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
Madhura Jayaratne
d0fe37bbc7 Use sentence case
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-25 21:21:11 +10:00
Hugues Peccatte
6a93a350cc Templating ul tag.
Templating li tag.
Use li template in getHtmlTab.
Use ul/li templates in libraries/user_preferences.inc.php.
Add/update PHPDoc of templates.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-09 14:24:44 +02:00
Dan Ungureanu
91b97fadc2 Remove unneeded closing tags.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Marc Delisle
2c6f5e7efb This variable is needed for multiple db dropping
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-05 17:41:34 -04:00
Madhura Jayaratne
0065c7c452 Remove unused variables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-18 11:47:21 +05:30
Marc Delisle
3169c5f48d Fix parameter type
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-06-08 08:40:11 -04:00
Madhura Jayaratne
3bdb1a367f Having the notice just before 'enable statistics' makes more sense
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-05-04 07:21:32 +05:30
Madhura Jayaratne
7332dbbdc0 Remove more duplicate code
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-26 18:34:06 +05:30
Hugues Peccatte
49836e6e6f Use $replication_info everywhere, instead of $server_* variables.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-09 16:30:07 +01:00
Hugues Peccatte
42e0bdd47a Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 18:32:42 +01:00
Hugues Peccatte
270b9e7a5d Add and update PHPDoc.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 14:44:46 +01:00
Marc Delisle
d0bbf58d6f Cleanup
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-11-02 06:34:37 -05:00
Hugues Peccatte
e17de11c74 Improve multibytes string manipulation performances.
Review SQL import process.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-10-30 17:40:09 +01:00
Ann + J.M
a540e6ba87 More fixes to new PMA_URL_getCommon style
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-10-18 19:42:39 +02:00
Ann + J.M
b1a7039ae3 Convert PMA_URL_getCommon calls to new style
Rewritten tests need validation
Signed-Off-By: Ann + J.M. <phpMyAdmin@ZweiSteinSoft.de>
2014-10-18 19:42:29 +02:00
Hugues Peccatte
3de88162ff Replace PMA_String uses by mb_* calls.
Remove part of unused  variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-28 20:53:01 +02:00
Hugues Peccatte
5985894160 Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-07 00:31:45 +02:00
Hugues Peccatte
9b77d746ab Mass modifications to use PMA_String.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-06 10:44:03 +02:00
Marc Delisle
df5f002268 Avoid execution path notice
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-07-26 09:47:19 -04:00
Madhura Jayaratne
84e9ce4946 Spaces around . operator
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-08 17:26:27 +05:30
Hugues Peccatte
6b01f835cb Rename too short variables.
Remove useless initializations.
Rename too long variables.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-01-04 20:46:18 +01:00
Hugues Peccatte
473d3cd4a2 PHPDoc update. 2013-11-11 18:12:46 +01:00
Hugues Peccatte
f062d67797 Update types in PHPDoc. 2013-11-11 16:43:55 +01:00
Madhura Jayaratne
20608589c3 Remove trailing white spaces 2013-10-19 14:29:05 +05:30
Marc Delisle
629b0b6162 Clarify that this was a temporary variable 2013-09-30 07:49:02 -04:00
xmujay
1f65853719 fix bug 4110: PMA_getHtmlForDatabaseList will change the value of $column_order 2013-09-30 14:18:06 +08:00
xmujay
680f5b1b87 refactor server_databases: add function for drop multiple databases 2013-08-29 09:50:58 +08:00
Marc Delisle
66da35776b Fix merge conflicts 2013-08-28 08:30:05 -04:00
xmujay
eb368b2fd7 refactor the PMA_getListForSortDatabase 2013-08-26 22:00:21 +08:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Michal Čihař
c0ce163e05 Drop some unused local variables
Found by PMD on our CI server
2013-07-10 14:53:05 +02:00
xmujay
1b70534892 fix code style warnings 2013-06-27 22:35:09 +08:00
xmujay
0ad6da277d fix the code style of function definition 2013-06-27 22:01:19 +08:00
xmujay
dd24a87dd5 fix code style 2013-06-26 23:55:17 +08:00
xmujay
8340c3993d change $cfg['TabsMode'] to $cfg['ActionLinksMode'] 2013-06-25 22:57:53 +08:00
xmujay
a35e214e2e change $cfg['PropertiesIconic'] to $cfg['TabsMode'] 2013-06-25 22:28:49 +08:00
xmujay
2a32fd0b11 refactor function names 2013-06-25 22:13:26 +08:00
xmujay
1c6d98f196 fix code style 2013-06-24 23:20:29 +08:00
xmujay
d33075352e split long function to small functions 2013-06-24 21:02:35 +08:00
xmujay
6bb321670b refactor of server_databases.php 2013-06-24 01:13:14 +08:00