Commit Graph

83 Commits

Author SHA1 Message Date
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
Hugues Peccatte
7a60853443 Replace $replication_info by a global variable.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-09 19:14:26 +01:00
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
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
Michal Čihař
9310e76a0e Fix indentation 2013-07-30 13:23:51 +02:00
xmujay
239067f35f refactor server_replication
1. refactor session  "Handling control requests"
2. fix code style problems
2013-06-22 15:28:50 +08:00
xmujay
252a392592 1. change the function name
2. fix Div function
3. using $_REQUEST when the variable is in the request list
2013-06-22 01:32:17 +08:00
xmujay
cad22421ae 1. fix the undefine error
2. add function to render same html tags
2013-06-21 00:20:50 +08:00
xmujay
1044df611a refactor server_replication.php
1. render HTML at once
2. split long functions
2013-06-20 01:10:24 +08:00
Madhura Jayaratne
ce85ebd950 Merge branch 'master' into OOP_DBI 2013-05-24 19:06:45 +05:30
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Michal Čihař
ef6cf5a227 End sentence with stop 2013-05-24 10:58:19 +02:00
Madhura Jayaratne
d77f20961a Rename PMA_replication_slave_bin_log_master -> PMA_Replication_Slave_binLogMaster 2013-05-23 23:27:52 +05:30
Madhura Jayaratne
63f6ef3d96 Rename PMA_replication_connect_to_master -> PMA_Replication_connectToMaster 2013-05-23 23:25:25 +05:30
Madhura Jayaratne
93deda5488 Rename PMA_replication_slave_change_master -> PMA_Replication_Slave_changeMaster 2013-05-23 23:24:07 +05:30
Madhura Jayaratne
926fee829b Rename PMA_replication_slave_control -> PMA_Replication_Slave_control 2013-05-23 23:22:52 +05:30
Marc Delisle
d44367e4db Fix merge conflicts 2013-05-15 13:07:22 -04:00
J.M
529903e0dd Fix bug #3907 undefined variables, function parameter problems
Thanks Rasmus Lerdorf for analyzing!
2013-05-13 11:27:56 +02:00
Kasun Chathuranga
d933575811 PMA_DBI_try_query --> PMA_DBI_tryQuery 2013-04-30 23:05:18 +05:30
Marc Delisle
c4ff4bee20 Remove the Synchronize feature 2012-11-07 13:09:47 -05:00
Rouslan Placella
a31140d159 Partial fix for bug #3583312 - Broken replication forms/links 2012-11-04 23:19:56 +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
Madhura Jayaratne
8ce541068c Various coding style changes 2012-08-31 14:37:46 +05:30
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
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
Rouslan Placella
7b85c709a8 Dropped server_links.inc.php 2012-05-05 16:44:27 +01:00
Jo Michael
852ef287f8 Corrected <div> nesting inside <li> in server replication forms for HTML5 validity 2012-03-31 00:20:23 +02:00
Jo Michael
b2fd866d87 Leading ./ paths for includes can be omitted, part 2 2012-03-16 23:11:57 +01:00
Marc Delisle
ac27219916 Improve globalization code 2012-03-07 13:12:46 -05:00
Marc Delisle
ac37be0216 For replication, no longer depend on grab_globals.lib.php for $_GET variables 2012-03-03 06:17:34 -05: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
Rouslan Placella
d17814f463 Replaced use of hard coded images with the sprite-aware PMA_getImage() functions (both PHP and JS). 2011-09-26 20:54:59 +01:00
Madhura Jayaratne
9bcb83af03 File is being conditionally included; use "include" instead 2011-09-23 10:56:30 +05:30
Piotr Przybylski
8cd8760256 Create PMA_is_system_schema() function which checks whether current database server treats it as a system schema 2011-08-23 22:48:14 +02:00
Tyron Madlener
3b3a9fc762 pma spritify part 2 2011-07-15 09:42:16 +03:00
Tyron Madlener
2ee9f03cbb Merge remote-tracking branch 'origin/master' into tyronm 2011-07-05 18:09:55 +02:00
Marc Delisle
f493cd776e Typos 2011-05-16 10:30:22 -04:00
Marc Delisle
b2b1953db1 Start to replace warning level with error level 2011-05-03 18:52:37 -04:00
Michal Čihař
a6fe6ed216 Fix word order in English message.
And avoid composition of the message as it leads to problems in
translations.
2010-12-07 11:18:31 +01:00
Dieter Adriaenssens
d1a6f043e2 Merge branch 'QA_3_3' into MAINT_3_4_0 2010-11-24 16:58:06 +01:00
Craig Duncan
d6a7bd40fa patch #3117535, replication : Add quotes to database in initial statement 2010-11-24 16:56:32 +01:00
Michal Čihař
d17fba309c Fix permissions.
Most files were made executable somewhere in ninadsp tree, reverting
this.
2010-08-30 09:53:37 +02:00
ninadsp
a2f78a6d38 Resolve merge conflicts for upstream merge 2010-07-29 19:17:25 +05:30
Michal Čihař
d291827444 No need to require_once footer
It is the last thing executed anyway (ends with exit).
2010-07-26 16:20:24 +02:00
Marc Delisle
084c0dbcf5 functions.js included automatically 2010-07-24 08:11:48 -04:00
ninadsp
e646a2760c Fixed conflict due to upstream merge 2010-07-23 21:59:15 +05:30