Commit Graph

86 Commits

Author SHA1 Message Date
Hugues Peccatte
6c8c288067 Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-09-29 21:19:57 +02:00
Marc Delisle
3bc822d626 Fixes #11505 Notice on htmlspecialchars()
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-09-27 08:52:07 -04:00
Hugues Peccatte
e5e447e937 Set namespace on config classes.
Update config classes.
Add @noinspection tag.
Update documentation and script.
Set ConfigGenerator in a namespace.
Rename ConfigGenerator filename.
Remove ConfigGenerator requires.
Fix namespaces of mock objects.
Remove useless require.
Add missing 'use'.
Add missing require.
Update PHPDoc.
Fix class test typo.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:23 +02: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
Hugues Peccatte
340b01b395 Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-08-24 20:00:22 +02: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
Hugues Peccatte
a810409135 Replace require_once by include_once.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-29 19:32:25 +02:00
Marc Delisle
afadbc662b Intermediate variable not needed
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-07-29 10:26:11 -04:00
Hugues Peccatte
caf3695b53 Templating PMA_displayJavascript function.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-28 22:38:56 +02:00
Hugues Peccatte
2efdf5f197 Make PHPCS happy.
Return null values instead of void.
Update PHPDoc.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-07-28 22:36:49 +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
5784566a23 Fix typo
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-06-24 07:15:37 -04:00
Nisarg Jhaveri
03acf47662 Make text and password fields in config forms smaller
The size of these field in config forms was a little too big and was
causing some problems with navigation panel settings dialig box

Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-06-23 18:59:38 +05:30
Nisarg Jhaveri
9c77ec694e Navigation panel settings
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-05-22 17:15:03 +05:30
Nisarg Jhaveri
e115adb533 Page-related settings, rfe#1559
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-05-18 20:38:07 +05:30
Hugues Peccatte
18625f3bbf Update PHPDoc and minor coding style modifications.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-05-17 13:15:08 +02:00
Nisarg Jhaveri
431847b39e Return HTML instead of echo-ing directly in FormDisplay
Signed-off-by: Nisarg Jhaveri <nisargjhaveri@gmail.com>
2015-05-15 00:56:26 +05:30
Hugues Peccatte
42e0bdd47a Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 18:32:42 +01: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
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
45d6f47c84 Incorrect attributes for number fields
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-05-02 08:04:17 -04:00
Piotr Przybylski
858b20d26d Removed wiki links from setup script and user preferences 2013-11-03 13:07:22 +01:00
Alicja Cwierz
e748b7cd60 Replace wiki info icon #1457 2013-09-28 18:57:53 +10:00
J.M
ac05fec3fa Use input type=number 2013-08-18 15:39:51 +02:00
J.M
373d98a9fc [config] Use type="password" for server passwords 2013-08-18 15:35:07 +02:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
ayushchd
8ae544fd13 Validator names fix 2013-07-12 16:12:46 +05:45
ayushchd
b346c0fef8 Condition for testsuite 2013-07-11 14:31:32 +05:45
Michal Čihař
b77f50e610 Do not use "Save" label on setup/preferences forms
It is confusing as it looks like the configuration is actually saved,
but it's not the case. I believe "Apply" is more appropriate here.
2013-06-12 08:54:56 +02:00
Michal Čihař
6c69a9f31d End sentence with full stop 2013-05-24 10:54:54 +02:00
Michal Čihař
bee4a69a7b Merge remote-tracking branch 'origin/QA_4_0' 2013-04-22 14:04:02 +02:00
Kasun Chathuranga
9b9772c1fc Fix bug #3886 Documentation links broken in setup 2013-04-21 00:58:21 +05:30
Madhura Jayaratne
2007eb7ff7 Space after exclamation mark 2013-04-12 22:09:26 +05:30
Rouslan Placella
ae049d253b Disable the ajax page loader on user preferences forms 2012-10-30 20:16:58 +00:00
Edgaras
620c6e6db7 Fix typo 2012-09-25 17:40:40 +03:00
Chanaka Indrajith
6971295e96 Renamed PMA_CommonFunctions::getInstance()-> with PMA_Util:: 2012-09-16 14:41:47 +05:30
Michal Čihař
18b55aae72 More readable code 2012-09-11 10:31:09 +02:00
Michal Čihař
6d674c44b6 Improve phpdoc blocks 2012-09-11 10:30:16 +02:00
Michal Čihař
0100bc2336 Replace inline html with echo statements 2012-09-11 10:25:46 +02:00
Michal Čihař
51b8557604 Better naming of functions 2012-09-11 10:14:42 +02:00
Dieter Adriaenssens
d9bef96b99 simplify code : remove mixed php and html 2012-09-02 20:26:42 +02:00
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Madhura Jayaratne
36644a8365 Arguments with default values must be at the end of the argument list 2012-05-10 21:38:32 +05:30
Madhura Jayaratne
bdc6714c75 Coding style improvements 2012-05-07 22:53:08 +05:30
Madhura Jayaratne
79c54fb2c8 Fix indentation 2012-05-07 22:46:21 +05:30
Jo Michael
cce4f2cd2f Fix checkstyle warnings 2012-04-29 03:33:44 +02:00
Jo Michael
ade270e2b5 Fix checkstyle ScopeClosingBrace warnings 2012-04-29 02:58:32 +02:00
Jo Michael
1923e13ee7 Fix new checkstyle LineLength warnings 2012-04-29 02:56:42 +02:00