Commit Graph

32 Commits

Author SHA1 Message Date
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
2e52c0f1f8 Refactor rte_events functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-08 13:09:13 -03: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
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
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
Rouslan Placella
69bf128936 Moved all the JS functionality for RTE into a single file 2012-10-30 20:10:22 +00:00
Chanaka Indrajith
a6234ae0a3 Renamed the file to Util.class.php and modify the relavant files 2012-09-16 13:48:21 +05:30
Chanaka Indrajith
74de5e3fd3 common.lib.php file renamed to CommonFunctions.class.php 2012-06-28 06:00:58 +05:30
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
Rouslan Placella
49a7f12e4e Include CodeMirror globally 2012-04-25 23:47:24 +01:00
Jo Michael
8744f8cf66 + rfe #3517354 [interface] Allow disabling CodeMirror with $cfg['CodemirrorEnable'] = false 2012-04-13 01:43:32 +02:00
Marc Delisle
dd5aae9a67 jQuery UI is already included from common.inc.php 2012-04-09 09:09:07 -04:00
Jo Michael
b2fd866d87 Leading ./ paths for includes can be omitted, part 2 2012-03-16 23:11:57 +01:00
Michal Čihař
e56949f160 Use package name PhpMyAdmin
Needed to match phpdoc rules as package name must begin with upper case.
2011-10-25 10:13:17 +02:00
Piotr Przybylski
4a5cb00df5 Fix jQuery UI version number
It's 1.8.16, not 1.8.6
2011-10-11 02:00:45 +02:00
Piotr Przybylski
ac365e0262 Upgrade jQuery UI to 1.8.6 2011-10-10 22:35:36 +02:00
Michal Čihař
fc387fe531 Load codemirror only when needed
This needs verification with ajax requests.
2011-07-20 15:12:30 +02:00
Rouslan Placella
526419d1a1 Renamed some functions to avoid conflicts of redefinition in unit tests 2011-07-14 13:57:05 +01:00
Rouslan Placella
b3b7d45e78 Dropping useless rte_common.lib.php 2011-07-06 18:08:22 +01:00
Rouslan Placella
7857a05de3 Removed pointless constant 'ITEM' 2011-07-05 16:04:08 +01:00
Rouslan Placella
3b19b53934 Move JS code for Routines, Triggers and Events into a separate folder 2011-07-05 12:40:33 +01:00
Rouslan Placella
55d2358359 Factored out the JS for the editor of Routines, Triggers and Events and moved it into a namespace. 2011-07-05 11:30:22 +01:00
Rouslan Placella
8c13805344 Prototype imlementation of the events editor 2011-07-01 16:46:17 +01:00
Rouslan Placella
cbafdb9a1f Refactored some routine, trigger and event manipulation code 2011-06-28 17:11:53 +01:00
Rouslan Placella
ef3a45b596 Merge branch 'master' into rte
Conflicts:
	libraries/db_events.inc.php
	libraries/display_triggers.inc.php
2011-06-27 11:27:21 +01:00
Rouslan Placella
3b1edd95e6 Renamed db_events.inc.php to db_events.lib.php 2011-06-24 13:52:33 +01:00
Rouslan Placella
8c15a1d25c Imporved event functionality code and moved it into functions 2011-06-24 13:44:24 +01:00
Michal Čihař
b49a6b8f42 Add docblocks 2011-06-24 14:10:19 +02:00
Rouslan Placella
3ae8cba7dc Removed some redundant includes in Routines, Triggers and Events files. 2011-05-27 17:43:23 +01:00
Rouslan
0c6cceef13 E_ALL fixes 2011-05-21 19:33:42 +01:00
Rouslan
d2728442f8 Recycled old Events functionality and linked it to the new entry in the menu 2011-05-21 17:50:14 +01:00