Skip to content

Commit c8be39d

Browse files
committed
New release 4.7.0
1 parent fa809e0 commit c8be39d

File tree

4,574 files changed

+412974
-181396
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,574 files changed

+412974
-181396
lines changed

.gitignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ Please report [bugs on GitHub][1].
2020
## Patches submission
2121

2222
Patches are welcome as [pull requests on GitHub][2]. Please include a
23-
Signed-off-by tag. Note that by submitting patches with the Signed-off-by
24-
tag, you are giving permission to license the patch as GPLv2-or-later. See
25-
[the DCO file][3] for details.
23+
Signed-off-by tag in the commit message (you can do this by passing `--signoff`
24+
parameter to Git). Note that by submitting patches with the Signed-off-by tag,
25+
you are giving permission to license the patch as GPLv2-or-later. See [the DCO
26+
file][3] for details.
2627

2728
[2]: https://github.com/phpmyadmin/phpmyadmin/pulls
2829
[3]: https://github.com/phpmyadmin/phpmyadmin/blob/master/DCO

ChangeLog

Lines changed: 154 additions & 405 deletions
Large diffs are not rendered by default.

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
phpMyAdmin - Readme
22
===================
33

4-
Version 4.6.5.2
4+
Version 4.7.0
55

66
A web interface for MySQL and MariaDB.
77

RELEASE-DATE-4.6.5.2

Lines changed: 0 additions & 1 deletion
This file was deleted.

RELEASE-DATE-4.7.0

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Wed Mar 29 12:13:14 UTC 2017

browse_foreigners.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*
66
* @package PhpMyAdmin
77
*/
8+
use PMA\libraries\Response;
89

910
require_once 'libraries/common.inc.php';
1011
require_once 'libraries/transformations.lib.php';
@@ -26,7 +27,7 @@
2627

2728
PMA\libraries\Util::checkParameters(array('db', 'table', 'field'));
2829

29-
$response = PMA\libraries\Response::getInstance();
30+
$response = Response::getInstance();
3031
$response->getFooter()->setMinimal();
3132
$header = $response->getHeader();
3233
$header->disableMenuAndConsole();
@@ -36,8 +37,7 @@
3637
* Displays the frame
3738
*/
3839

39-
$cfgRelation = PMA_getRelationsParam();
40-
$foreigners = ($cfgRelation['relwork'] ? PMA_getForeigners($db, $table) : false);
40+
$foreigners = PMA_getForeigners($db, $table);
4141
$foreign_limit = PMA_getForeignLimit(
4242
isset($_REQUEST['foreign_showAll']) ? $_REQUEST['foreign_showAll'] : null
4343
);

build.xml

Lines changed: 0 additions & 171 deletions
This file was deleted.

changelog.php

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
*
66
* @package PhpMyAdmin
77
*/
8+
use PMA\libraries\Response;
89

910
/**
1011
* Gets core libraries and defines some variables
1112
*/
1213
require 'libraries/common.inc.php';
1314

14-
$response = PMA\libraries\Response::getInstance();
15+
$response = Response::getInstance();
1516
$response->disable();
1617
$response->getHeader()->sendHttpHeaders();
1718

@@ -35,10 +36,11 @@
3536
} else {
3637
printf(
3738
__(
38-
'The %s file is not available on this system, please visit '
39-
. 'www.phpmyadmin.net for more information.'
39+
'The %s file is not available on this system, please visit ' .
40+
'%s for more information.'
4041
),
41-
$filename
42+
$filename,
43+
'<a href="https://www.phpmyadmin.net/">phpmyadmin.net</a>'
4244
);
4345
exit;
4446
}
@@ -132,6 +134,9 @@
132134
'/( ### )(.*)/'
133135
=> '\\1<b>\\2</b>',
134136

137+
// Links target and rel
138+
'/a href="/' => 'a target="_blank" rel="noopener noreferrer" href="/'
139+
135140
);
136141

137142
header('Content-type: text/html; charset=utf-8');
@@ -151,12 +156,5 @@
151156
echo preg_replace(array_keys($replaces), $replaces, $changelog);
152157
echo '</pre>';
153158
?>
154-
<script type="text/javascript">
155-
var links = document.getElementsByTagName("a");
156-
for(var i = 0; i < links.length; i++) {
157-
links[i].target = "_blank";
158-
links[i].rel = "noopener noreferrer";
159-
}
160-
</script>
161159
</body>
162160
</html>

chk_rel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*
66
* @package PhpMyAdmin
77
*/
8+
use PMA\libraries\Response;
89

910
require_once 'libraries/common.inc.php';
1011

@@ -26,7 +27,7 @@
2627
PMA_fixPMATables($cfgRelation['db']);
2728
}
2829

29-
$response = PMA\libraries\Response::getInstance();
30+
$response = Response::getInstance();
3031
$response->addHTML(
3132
PMA_getRelationsParamDiagnostic($cfgRelation)
3233
);

0 commit comments

Comments
 (0)