Commit Graph

110 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
285e38e931 Fix some PSR-2 coding standard errors
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 09:07:56 -03:00
Maurício Meneghini Fauth
b9c0463d96 Use short array syntax instead of long array syntax
Replaces array() with [].

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 01:42:21 -03:00
Maurício Meneghini Fauth
af148ad92b Enable strict mode in PHP files
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-16 04:36:04 -03:00
Maurício Meneghini Fauth
feb200a000 Move DI classes to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-16 15:25:59 -03:00
Maurício Meneghini Fauth
95a409c4f2 Move controllers to PhpMyAdmin namespace
- Move base controllers to PhpMyAdmin namespace
- Move database controllers to PhpMyAdmin namespace
- Move server controllers to PhpMyAdmin namespace
- Move table controllers to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-14 11:18:48 -03:00
Maurício Meneghini Fauth
119563b7ea Move classes to PhpMyAdmin namespace
- Move OpenDocument to PhpMyAdmin namespace
- Move OutputBuffering to PhpMyAdmin namespace
- Move Partition to PhpMyAdmin namespace
- Move Pdf class to PhpMyAdmin namespace
- Move RecentFavoriteTable to PhpMyAdmin namespace
- Move Response to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-30 23:44:10 -03:00
Madhura Jayaratne
8c1ed92460 Move to a sub package for better organization
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-18 10:49:32 +11:00
Madhura Jayaratne
fd098ff80e Refactor server variables page
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-11-17 18:59:17 +11:00
Hugues Peccatte
ba17a655f0 Rename classes' call from merge.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 22:02:40 +02:00
Hugues Peccatte
edf0dfa179 Add missing 'use'.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 22:02:22 +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
Marc Delisle
1c3223fed9 Add MySQL doc to message
Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-08-31 09:32:21 -04:00
Madhura Jayaratne
3c118b8106 Fix #11446 MySQL 5.7 and Variables page for an unprivileged user
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-08-31 22:28:03 +10:00
Rahul Kadyan
4d308ba364 Remove unneeded closing tags
Closing tags at the end of file are not mandatory. It is often
suggested to omit to closing tags at the end of file to prevent
unwanted effects as PHP will start output buffering if there is
any character after closing tag.

Reference: http://php.net/manual/en/language.basic-syntax.phptags.php

Signed-off-by: Rahul Kadyan <hi@znck.me>
2015-03-06 23:37:35 +05:30
Michal Čihař
d1bb142e87 Remove unused param from PMA_Util::showMySQLDocu 2013-08-07 08:48:50 +02:00
xmujay
6e6bd82cd1 remove server_variables_doc.php and add a function to return doc links 2013-08-02 23:08:14 +08:00
xmujay
db39eeb423 refactor server_variables
1. move functions to separated files
2. render HTML at once
3. refactor function name to PMA_getHtmlForSubPageHeader
2013-08-02 20:05:27 +08:00
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
xmujay
191cc35760 make function starting with "PMA" 2013-05-16 00:16:30 +08:00
xmujay
46af1aeb38 refactor server_view:
1. add function for html render
2. code indention
3. split long lines
2013-05-07 21:35:41 +08:00
Kasun Chathuranga
fbe4438628 PMA_DBI_fetch_result --> PMA_DBI_fetchResult 2013-05-01 00:05:16 +05:30
Kasun Chathuranga
7f56c8504d PMA_DBI_fetch_single_row --> PMA_DBI_fetchSingleRow 2013-05-01 00:03:03 +05:30
Rouslan Placella
4146f880e2 Use Response class for ajax responses 2012-11-09 19:29:30 +00:00
Rouslan Placella
f262fd61cd Shortened HTML output of server_variables.php 2012-11-09 19:29:30 +00:00
Rouslan Placella
a9381abb17 Dropped empty div 2012-11-09 15:49:31 +00:00
Rouslan Placella
14a7be6e37 Fixed direct linking to server variable name 2012-11-09 15:13:23 +00:00
Rouslan Placella
f431ab5d90 Dropped inline JS and global JS vars in server variables editor 2012-11-09 13:23:51 +00:00
Rouslan Placella
0120d79d9e Shortened class names 2012-11-09 13:23:51 +00:00
Rouslan Placella
fc9becacb6 Improved layout for server variables page 2012-11-09 13:23:51 +00:00
Rouslan Placella
82bcf5f794 Moved documentation links to first column in server_variables.php 2012-11-09 13:23:51 +00:00
Rouslan Placella
1dd69c3b9f Fixed server variable editor not working in anything other than Firefox' 2012-11-08 20:46:52 +00:00
Rouslan Placella
ecfe35a459 Dropped dead code - JS is manadatory in 4.0 2012-11-07 21:17:30 +00:00
Rouslan Placella
255eb43a92 Got rid of inline JS on server_variables.php 2012-10-30 20:04:51 +00:00
Chanaka Indrajith
e6894be57f Renamed ->method() with PMA_Util::method() 2012-09-16 14:35:45 +05:30
Chanaka Indrajith
0829709064 Remove variable 2012-09-16 14:31:22 +05:30
Dieter Adriaenssens
a9dd9acc28 remove whitespace 2012-09-05 18:18:35 +02:00
Dieter Adriaenssens
853406142d improve coding style 2012-09-05 18:18:35 +02:00
Dieter Adriaenssens
0752198d98 remove mixed php and html 2012-09-05 18:18:35 +02:00
Madhura Jayaratne
7e169fcaef Coding style improvements 2012-08-31 01:27:17 +05:30
Chanaka Indrajith
106265a7f8 Resolve conflicts 2012-06-30 11:30:39 +05:30
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Rouslan Placella
1871e8279e Fixed ajax responses in server_variable.php 2012-06-11 14:06:05 +01:00
Rouslan Placella
eb98110541 Dropped footer.inc.php 2012-06-11 14:06:04 +01:00
Rouslan Placella
a054562100 PMA_Footer and PMA_Header no longer need to be singletons 2012-06-11 14:06:03 +01:00
Rouslan Placella
4a740376c8 Dropped header.inc.php in favor of the PMA_Header class 2012-06-11 14:06:02 +01:00
Madhura Jayaratne
1427b2f2de Fix function names: PMA_AddJSVar -> PMA_addJSVar 2012-05-25 22:43:23 +05:30
Rouslan Placella
7b85c709a8 Dropped server_links.inc.php 2012-05-05 16:44:27 +01:00
Madhura Jayaratne
4ff76ff31c Coding style improvements (Inline control structures are discouraged) 2012-04-25 23:39:04 +05:30
Madhura Jayaratne
fa9aaea8c0 Coding style improvements 2012-04-13 20:57:17 +05:30
Michal Čihař
5d54482c66 Drop $cfg['MainPageIconic']. 2012-04-11 15:34:27 +02:00