Commit Graph

137 Commits

Author SHA1 Message Date
Aditya Sastry
7d7d17333c Fixes the problem with the breadcrumb navigation(Bug 4306)
The global variable table is used by both breadcrumb navigation as
well as the tbl_create.php hence it needs to be set back to zero
after use.

Signed-off-by: Aditya Sastry <ganeshaditya1@gmail.com>
2014-03-06 00:50:51 +05:30
Marc Delisle
0d4cdb38ea Remove unneeded comment 2013-08-19 20:26:35 -04:00
Spun Nakandala
fb05c019cf added possibility of setting the MIME type and transformation 2013-08-18 21:18:52 +05:30
Spun Nakandala
f5b20c9828 phpcs errors corrected 2013-08-17 00:22:08 +05:30
Spun Nakandala
4d988516bf added method PMA_getTableCreationQuery 2013-08-17 00:16:04 +05:30
Spun Nakandala
a26ad78e5d put similar things together 2013-08-17 00:07:38 +05:30
Spun Nakandala
dfb6cdb4ad added method PMA_getNumberOfFieldsFromRequest 2013-08-17 00:05:02 +05:30
Spun Nakandala
971933fee5 dead code removed 2013-08-16 23:55:54 +05:30
Spun Nakandala
9f7878112b variable never used 2013-08-16 23:53:43 +05:30
Spun Nakandala
aace1f41e7 added comment to describe the usage 2013-08-16 23:13:03 +05:30
Spun Nakandala
dddf3d06ac initialization not required 2013-08-16 23:12:13 +05:30
Spun Nakandala
ba9b2e7fa7 removed dead code 2013-08-16 23:06:11 +05:30
Spun Nakandala
b591953003 removed dead code 2013-08-16 22:49:28 +05:30
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02:00
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Madhura Jayaratne
f7d6517f0f Coding style fixes 2013-05-23 22:54:40 +05:30
Samith Dassanayake
485d104662 Renamed the function names, using "column" instead of "field".
Corrected indentation according to cording standards.
2013-05-14 22:48:51 +05:30
Samith Dassanayake
73f674d755 Updated the description of the "create_addfield.lib.php" file 2013-05-12 19:30:36 +05:30
Samith Dassanayake
c2ba8f7a80 Moved duplicated codes in “tbl_addfield.php” and “tbl_create.php” to single a file "create_addfield.lib.php".
Refactored the code using “Extract method” refactoring technique.
2013-05-08 20:28:37 +05:30
Kasun Chathuranga
1c884f0cca PMA_DBI_free_result --> PMA_DBI_freeResult 2013-05-04 08:33:49 +05:30
Kasun Chathuranga
5bcc32999f PMA_DBI_fetch_assoc --> PMA_DBI_fetchAssoc 2013-05-04 08:30:12 +05:30
Kasun Chathuranga
42256b2d0c PMA_DBI_select_db --> PMA_DBI_selectDb 2013-05-04 08:26:27 +05:30
Kasun Chathuranga
6b1f6ae046 Merge branch 'master' into DBI_naming_cleanUp
Conflicts:
	libraries/database_interface.lib.php
	libraries/db_table_exists.lib.php
	libraries/relation.lib.php
	libraries/rte/rte_triggers.lib.php
	libraries/schema/Dia_Relation_Schema.class.php
	libraries/schema/Visio_Relation_Schema.class.php
	tbl_addfield.php
2013-05-01 00:51:15 +05:30
Kasun Chathuranga
32e6c06324 PMA_DBI_get_columns --> PMA_DBI_getColumns 2013-04-30 23:36:47 +05:30
Kasun Chathuranga
d933575811 PMA_DBI_try_query --> PMA_DBI_tryQuery 2013-04-30 23:05:18 +05:30
Marc Delisle
71915bd936 Merge pull request #262 from scnakandala/Refactoring
Refactoring According to pear standard
2013-04-18 12:53:20 -07:00
Spun Nakandala
c84869f85e tbl_create.php refactored according to pear coding standards 2013-04-17 00:13:06 +05:30
Madhura Jayaratne
b3db1f0d6f Change mysqlDie() to return the error message when $exit parameter is false 2013-03-28 17:34:40 +05:30
Marc Delisle
58c6fa955e The term "properties" has another meaning in phpMyAdmin 4.x 2012-12-20 09:46:10 -05:00
Rouslan Placella
9e3a9ee52f Dropped main.php 2012-10-30 20:10:20 +00:00
Madhura Jayaratne
5258523672 bug #3526598 [interface] SQL query not shown when creating table 2012-10-22 23:36:35 +05:30
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
332e1dd2ed Wrap long lines 2012-09-05 22:42:35 +05:30
Marc Delisle
dde8fc471d Merge branch 'QA_3_5' 2012-08-12 09:18:04 -04:00
Marc Delisle
46819b311c Merge branch 'QA_3_4' into MAINT_3_5_2 2012-08-12 09:15:38 -04:00
Dieter Adriaenssens
e094f34bed [security] properly escape name of newly created table, see PMASA-2012-4 2012-08-12 13:52:46 +02:00
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Rouslan Placella
a16e723048 Dropped PMA_ajaxResponse() 2012-06-11 17:58:35 +01:00
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
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
bda568a501 Remove unused parameters 2012-05-10 22:14:00 +05:30
Madhura Jayaratne
968294b08b Arguments with default values must be at the end of the argument list - more instances 2012-05-10 22:09:13 +05:30
Jo Michael
afaa480f49 Fix missing parameters 13 and 14 when tbl_create:112 calls PMA_Table::generateFieldSpec 2012-04-29 19:14:51 +02:00
Madhura Jayaratne
4b8d52d937 Fix CheckStyle warnings, Type:CloseBracketNewLine (Closing parenthesis of a multi-line IF statement must be on a new line) 2012-04-22 21:28:41 +05:30
Madhura Jayaratne
3332151859 Fix Checkstyle Warnings - Type: CloseBracketLine (Closing parenthesis of a multi-line function call must be on a line by itself) 2012-04-14 09:09:21 +05:30
Marc Delisle
1a5adbb7e2 Table type is an older term for storage engine 2012-04-08 10:56:06 -04:00
Jo Michael
20ddd10911 Replaced HTML nowrap attribute with CSS for HTML5 validity 2012-03-31 16:50:33 +02:00