Commit Graph

167 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
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
Madhura Jayaratne
ca16959719 Remove trailing white spaces 2013-10-20 10:21:34 +05:30
xmujay
680f5b1b87 refactor server_databases: add function for drop multiple databases 2013-08-29 09:50:58 +08:00
xmujay
eb368b2fd7 refactor the PMA_getListForSortDatabase 2013-08-26 22:00:21 +08:00
Michal Čihař
0a3d1d5be8 Better names for URL generating functions 2013-08-07 10:58:17 +02: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
xmujay
6bb321670b refactor of server_databases.php 2013-06-24 01:13:14 +08:00
Madhura Jayaratne
650a8cdda3 Convert database interface to a class 2013-05-24 17:30:59 +05:30
Kasun Chathuranga
03fc9b9256 PMA_is_system_schema --> PMA_isSystemSchema 2013-05-12 08:51:54 +05:30
Kasun Chathuranga
d632dd9946 Merge branch 'master' into DBI_naming_cleanUp
Conflicts:
	ChangeLog
2013-05-01 21:33:52 +05:30
J.M
6c8777f604 Don't use id attribute for checkall boxes, use class name 2013-05-01 16:43:23 +02:00
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
ecb1e4f038 PMA_DBI_get_databases_full --> PMA_DBI_getDatabasesFull 2013-04-30 23:31:44 +05:30
Marc Delisle
e9caca2e6c Merge pull request #235 from xmujay/gsoc2013_4
[Refactor] server_databases.php refactor:
2013-04-11 04:46:23 -07:00
xmujay
1871c90072 add $html definition 2013-04-11 09:49:17 +08:00
xmujay
c2685a8b33 fix some indention 2013-04-10 23:32:46 +08:00
xmujay
42fcc5f6f6 merge with $html="" with php statements below 2013-04-10 23:07:02 +08:00
xmujay
7c86aab8f9 [Refactor] server_databases.php refactor:
0.split long lines
1 render the HTML element at once
2 fix code indention
3 use $html for readability
2013-04-10 22:31:18 +08:00
Michal Čihař
3600a5e701 Revert "Count real number of shown databases"
This reverts commit bb317b2fc1.

This forces fetching of all databases again, but we need complete count
(see bug #3870).
2013-04-10 12:23:27 +02:00
Samith Dassanayake
c88420a247 [Contest1] No hard-coded icons in css
Modified "list-style-type" to "none" for the list items that has an image as the bullet point and aligned them
2013-03-02 22:07:48 +05:30
Michal Čihař
bb317b2fc1 Count real number of shown databases 2013-02-14 14:38:57 +01:00
Marc Delisle
2723495a4f Removed the AjaxEnable directive 2012-12-21 16:04:57 -05:00
Rouslan Placella
be231714c2 Fixed drop databases form submission 2012-11-04 22:56:21 +00:00
Rouslan Placella
0d6c1fb175 Drop "Check All/Uncheck All" functionality in PHP, this is already handled in JS 2012-10-30 20:04:51 +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
7e169fcaef Coding style improvements 2012-08-31 01:27:17 +05:30
Chanaka Indrajith
39d37fafcc Resolved conflicts 2012-06-27 21:53:59 +05:30
Chanaka Indrajith
1cc49d32d9 Resolved conflicts 2012-06-27 07:06:34 +05:30
J.M
8eb0f2f22b Use checkbox for checking/unchecking all rows in a table 2012-06-24 17:49:53 +02:00
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Michal Čihař
79ee73fb9b Merge pull request #73 from roccivic/server-databases-ajax-fixes
server_databases.php ajax fixes
2012-06-18 01:11:26 -07:00
Rouslan Placella
8e51382fcd Drop dead code 2012-06-15 20:37:41 +01:00
Rouslan Placella
aac6a9e5bd Don't refresh the whole list when dropping databases in server_databases.php
(Avoids pointless AJAX request)
2012-06-15 20:37:41 +01:00
Chanaka Indrajith
9fba69e73a Modifications to PMA_listNavigator() function in common.lib.php and renamed as PMA_getListNavigator() 2012-06-14 09:02:28 +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
7b85c709a8 Dropped server_links.inc.php 2012-05-05 16:44:27 +01:00
Madhura Jayaratne
4ff76ff31c Coding style improvements (Inline control structures are discouraged) 2012-04-25 23:39:04 +05:30
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
Rouslan Placella
ff66fdbdf9 Remove stray trailing whitespaces 2012-04-22 00:12:30 +01:00
Jo Michael
62b2d09da1 Delete databases with Ajax 2012-04-21 02:13:48 +02:00
Madhura Jayaratne
fa9aaea8c0 Coding style improvements 2012-04-13 20:57:17 +05:30
Michal Čihař
5d54482c66 Drop $cfg['MainPageIconic']. 2012-04-11 15:34:27 +02:00
Marc Delisle
2f17c40f4e Plural form 2012-03-21 12:37:32 -04:00
Jo Michael
b2fd866d87 Leading ./ paths for includes can be omitted, part 2 2012-03-16 23:11:57 +01:00