Commit Graph

125 Commits

Author SHA1 Message Date
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
Madhura Jayaratne
05c5ba753c Distinguish between index type and index choice
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-28 11:50:21 +05:30
Ashutosh Dhundhara
91e9a4d46c RFE#908: Improvements for the table editor (index creation).
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix coding styles.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Make index columns sortable.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix failing test.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix drag icon in Firefox.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-07-22 15:29:06 +05:30
Spun Nakandala
69f5145eda removed display_indexes.lib.php. added tbl_display.lib.php and extracted methods from tbl_indexes.php to tbl_indexes.lib.php 2013-08-21 20:06:43 +05:30
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Spun Nakandala
2adebbce58 libraries/display_indexes.lib.php file added. HTML generation for the create/edit indexes form into display_indexes.lib.php 2013-05-03 00:04:24 +05:30
Kasun Chathuranga
2becd65b1d PMA_DBI_get_columns_full --> PMA_DBI_getColumnsFull 2013-04-30 23:33:00 +05:30
Marc Delisle
a1344cffe2 Bug #3839 Index comment is supported only starting with MySQL 5.5 2013-03-25 19:43:29 -04:00
Rouslan Placella
bc7bb2d038 Implemented rfe #3599046 - Added comments for indexes 2013-01-07 23:44:58 +00:00
Marc Delisle
2723495a4f Removed the AjaxEnable directive 2012-12-21 16:04:57 -05:00
Michal Čihař
ffb01442cf Unify string for adding colums to index 2012-11-15 09:47:25 +01:00
Rouslan Placella
ecc4ba6426 Added ajax behaviour to indexes in the navigation tree 2012-10-30 20:10:23 +00:00
Chanaka Indrajith
6971295e96 Renamed PMA_CommonFunctions::getInstance()-> with PMA_Util:: 2012-09-16 14:41:47 +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
9d281ef330 Fix indentation 2012-09-05 23:03:51 +05:30
Dieter Adriaenssens
f1a90f78b1 coding style : fix indenting 2012-08-31 14:51:04 +02:00
Madhura Jayaratne
35f29764f0 Fix multi line conditions 2012-08-30 22:35:56 +05:30
Madhura Jayaratne
9a47688dc6 Various coding style improvements 2012-07-29 19:25:52 +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
a16e723048 Dropped PMA_ajaxResponse() 2012-06-11 17:58:35 +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
Chanaka Indrajith
bf15800089 Remove HTML rendering inside the functions in display_tbl.lib.php file itselves 2012-05-11 16:05:55 +05:30
Rouslan Placella
28923b496e Renamed tbl_common.php to tbl_common.inc.php for better consistency 2012-05-05 16:44:27 +01:00
Rouslan Placella
2c805ade8b Dropped tbl_links.inc.php 2012-05-05 16:44:27 +01:00
Jo Michael
2466594cb7 Fix checkstyle ControlStructures warnings 2012-04-29 02:07:56 +02:00
Rouslan Placella
6281b4f941 Fixed query generation for index editor (was broken in 03cb361420) 2012-04-28 10:14:53 +01:00
Michal Čihař
03cb361420 Add trailing ; after ALTER TABLE (rfe #2009500) 2012-04-19 13:48:30 +02:00
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
Jo Michael
b2fd866d87 Leading ./ paths for includes can be omitted, part 2 2012-03-16 23:11:57 +01:00
Jo Michael
3b56f6a53b Leading ./ paths for links and favicons can be omitted, part 1 2012-03-16 23:04:12 +01:00
Madhura Jayaratne
35b18e57a2 Coding style improvements - Multiline assignments 2011-12-07 23:28:50 +05:30
Marc Delisle
96dd071a5f Fix merge conflicts 2011-11-24 16:54:25 -05:00
Dieter Adriaenssens
90bd76540c coding style : correct use of includeonce() 2011-11-24 14:47:45 +01:00
Rouslan Placella
bc45a1048d [security] Self-XSS on column type (Create index), see PMASA-2011-18 2011-11-22 12:38:22 -05:00
Rouslan Placella
af322da95a Fixed IE bug in the new index editor 2011-11-20 15:04:09 +00:00
Rouslan Placella
fc22faa6e1 Improved index editor 2011-11-19 14:43:52 +00:00
Rouslan Placella
f607d8a93c table structure: Do not send #topmenucontainer in ajax requests 2011-11-19 14:43:52 +00:00
Rouslan Placella
a97eeae7ad Ajaxified "Create index" dialog 2011-11-19 14:43:52 +00: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
Madhura Jayaratne
13adb5adf7 Use lower case for true, false and null 2011-09-23 11:11:41 +05:30
Madhura Jayaratne
9bcb83af03 File is being conditionally included; use "include" instead 2011-09-23 10:56:30 +05:30
Marc Delisle
e4169358f6 Improve message 2011-09-11 06:57:49 -04:00
Michal Čihař
25bda8e991 Fix spacing on opening code block 2011-07-22 09:18:02 +02:00
Michal Čihař
219ec73d69 Spacing around if 2011-07-22 09:10:37 +02:00
Thilanka Kaushalya
ddb7769013 Fixed bugs od index edit in table structure 2011-07-08 14:04:57 +05:30
Thilanka Kaushalya
ba6e1fc879 Moved checkIndexName function to functions js file and rewrite it using jquery 2011-07-07 23:52:22 +05:30