Commit Graph

122 Commits

Author SHA1 Message Date
Michal Čihař
faffa92f22 Fixed related field selection for native relations
The PMA_getForeigners handles just fine both situations, so there is no
need to check the configuration in advance.

Fixes #12967

Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-01 15:43:33 +01:00
Michal Čihař
308c9d7951 Simplify Response object handling
- always use use and short name
- avoid calling getInstance() several times in one script

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 18:17:59 +01:00
Deven Bansod
ec08844246 Use a forcing parameter to get $the_total records for a foreign key column
Required at some specific places for ex. browse_foreigners.php (reqd for pagination)
This is in continuation of original fix for #12257 (in #12685)

Also fixed an error in an old commit 9880f57344
related to LIMIT clause generation

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
2016-11-10 11:43:19 +05:30
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
Edward Cheng
fb14e92d62 PMA console, history and bookmarks.
Modified: resizer of navigation bar: whole-time-bind events removed.

Signed-off-by: Edward Cheng <c4150221@gmail.com>
2014-06-25 21:22:33 +08:00
Chirayu Chiripal
c3f2abe873 FR #1487: Browse Foreign Values should be modal dialog
Signed-off-by: Chirayu Chiripal <chirayu.chiripal@gmail.com>
2014-05-14 17:30:11 +05:30
Marc Delisle
cbaa45d340 bug #4217 Current value not highlighted when browsing foreign values
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-01-06 09:23:31 -05:00
Madhura Jayaratne
ca16959719 Remove trailing white spaces 2013-10-20 10:21:34 +05:30
Spun Nakandala
aca7522b53 error corrected 2013-09-06 21:43:55 +05:30
Spun Nakandala
c38da98d4a added browse_foreigners.lib.php and extracted methods from browse_foreigners to it. 2013-09-06 21:00:16 +05:30
Marc Delisle
32f4c5568c Directly use request parameter 2013-08-26 06:20:06 -04:00
Marc Delisle
0c6e134d36 Fix merge conflicts 2013-08-07 08:31:38 -04:00
Marc Delisle
c2b2c7b6e9 Bug #4048 Cannot select foreign value in Search 2013-08-07 08:27:34 -04:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Marc Delisle
76133dd007 Directly use the request parameter 2013-08-06 05:42:34 -04:00
Marc Delisle
ecb2aa89d3 Directly use the request parameter 2013-08-06 05:23:48 -04:00
Marc Delisle
03f5339d6f Dead code 2013-08-06 05:20:03 -04:00
Marc Delisle
246cfdb90e Directly use the request parameter 2013-08-05 06:00:53 -04:00
Madhura Jayaratne
e5519859fb Make all string function accessible via $GLOBALS['PMA_String'] 2013-07-17 16:36:13 +05:30
ayushchd
2e542c4f95 Group native and mb string functions into classes 2013-06-20 12:30:04 +05:45
Marc Delisle
cec2f43648 Merge commit '34e12cf' 2013-05-29 09:51:31 -04:00
Marc Delisle
34e12cf77e bug #3956 "Browse foreign values" search filter / page selector not working 2013-05-29 09:47:55 -04:00
Michal Čihař
2fbb4cee0d Consistently include colon in strings to translate
In some languages this makes difference in translating, so it's better
to give translators full context.
2013-04-25 14:22:31 +02:00
Aris Feryanto
ab6e9f0b24 Grid editing: enable edit box for relational value 2012-10-28 23:15:47 +08:00
Chanaka Indrajith
6971295e96 Renamed PMA_CommonFunctions::getInstance()-> with PMA_Util:: 2012-09-16 14:41:47 +05:30
Dieter Adriaenssens
a9dd9acc28 remove whitespace 2012-09-05 18:18:35 +02:00
Dieter Adriaenssens
9beb4b47e4 remove mixed php and html 2012-09-05 18:18:35 +02:00
Madhura Jayaratne
ba16e22315 Coding style improvements 2012-08-31 00:46:35 +05:30
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Rouslan Placella
ae6e50a8a8 Drop display() from Header and Footer classes. The Response class will do all the rendering. 2012-06-11 14:06:04 +01:00
Rouslan Placella
d9bedbd75e Finished integrating the PMA_Footer class 2012-06-11 14:06:03 +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
a14da7bd5a Small code cleanup 2012-06-11 14:06:03 +01:00
Rouslan Placella
753dd1a7d2 Use PMA_Header class in browse_foreigners.php 2012-06-11 14:06:02 +01:00
Rouslan Placella
936f2efb74 Fixed missing parameter in browse_foreigners.php 2012-05-24 00:29:08 +01:00
Rouslan Placella
933ad71021 Merged CSS stylesheets 2012-05-18 19:14:09 +01:00
Willian Gustavo Veiga
d44db6b80a Code readability improved. 2012-05-04 08:42:03 -03:00
Willian Gustavo Veiga
139877978a code readability improved 2012-05-01 19:26:52 -03:00
Willian Gustavo Veiga
ec42cfb96a Some phpcs warnings fixed 2012-05-01 14:49:04 -03:00
Dieter Adriaenssens
543087f54c fix indentation 2012-04-29 00:40:12 +02:00
Michal Čihař
b4b6919746 Little bit of coding style 2012-04-26 16:18:37 +02:00
Jo Michael
20ddd10911 Replaced HTML nowrap attribute with CSS for HTML5 validity 2012-03-31 16:50:33 +02:00
Jo Michael
653f086815 Replaced xml:lang attributes by lang for HTML5 2012-03-18 14:46:59 +01:00
Jo Michael
b2fd866d87 Leading ./ paths for includes can be omitted, part 2 2012-03-16 23:11:57 +01:00
Jo Michael
af0e6c71e7 Use HTML5 DOCTYPE along with new charset meta-tag 2012-03-16 22:54:32 +01:00
Marc Delisle
dcc9b2c71f bug #3411038 Zoom search and inserting foreign values 2012-01-08 07:26:06 -05:00
Madhura Jayaratne
35b18e57a2 Coding style improvements - Multiline assignments 2011-12-07 23:28:50 +05:30
Madhura Jayaratne
c8dbed11b2 Merge branch 'QA_3_4' 2011-11-24 22:48:25 +05:30
Madhura Jayaratne
f414a0ec32 bug #3407235 [interface] Entering the key through a lookup window does not reset NULL 2011-11-24 22:45:51 +05:30