Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Foellmann <foellmann@foe-services.de>2014-07-28 14:13:10 +0400
committerChristian Foellmann <foellmann@foe-services.de>2014-07-28 14:13:10 +0400
commit276394119dfbe117acd411a3862de597ba35a2ad (patch)
tree3dc394a15f459d6324e3452e15e9446e47fe3bd0 /libraries/Header.class.php
parentc8c2e72886de1b71f5abcaa295075da9666096b5 (diff)
UPDATE phpmyadmin 4.2.6 multilanguage
Diffstat (limited to 'libraries/Header.class.php')
-rw-r--r--libraries/Header.class.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/libraries/Header.class.php b/libraries/Header.class.php
index 8b7d9624e9..bc1e4a6f13 100644
--- a/libraries/Header.class.php
+++ b/libraries/Header.class.php
@@ -10,7 +10,7 @@ if (! defined('PHPMYADMIN')) {
}
require_once 'libraries/Scripts.class.php';
-require_once 'libraries/RecentTable.class.php';
+require_once 'libraries/RecentFavoriteTable.class.php';
require_once 'libraries/Menu.class.php';
require_once 'libraries/navigation/Navigation.class.php';
require_once 'libraries/url_generating.lib.php';
@@ -27,14 +27,14 @@ class PMA_Header
* PMA_Scripts instance
*
* @access private
- * @var object
+ * @var PMA_Scripts
*/
private $_scripts;
/**
* PMA_Menu instance
*
* @access private
- * @var object
+ * @var PMA_Menu
*/
private $_menu;
/**
@@ -476,6 +476,7 @@ class PMA_Header
. $GLOBALS['cfg']['CSPAllow'] . ';'
. "script-src 'self' 'unsafe-inline' 'unsafe-eval' "
. ($use_captcha ? 'https://www.google.com ' : ' ')
+ . $GLOBALS['cfg']['CSPAllow'] . ';'
. ";"
. "style-src 'self' 'unsafe-inline' "
. ($use_captcha ? 'https://www.google.com ' : ' ')
@@ -574,7 +575,7 @@ class PMA_Header
$retval .= '<meta name="robots" content="noindex,nofollow" />';
$retval .= '<meta http-equiv="X-UA-Compatible" content="IE=Edge">';
if (! $GLOBALS['cfg']['AllowThirdPartyFraming']) {
- $retval .= '<style>html{display: none;}</style>';
+ $retval .= '<style id="cfs-style">html{display: none;}</style>';
}
return $retval;
}
@@ -680,7 +681,7 @@ class PMA_Header
if ($this->_warningsEnabled) {
$retval .= "<noscript>";
$retval .= PMA_message::error(
- __("Javascript must be enabled past this point")
+ __("Javascript must be enabled past this point!")
)->getDisplay();
$retval .= "</noscript>";
}
@@ -702,7 +703,7 @@ class PMA_Header
&& strlen($table)
&& $GLOBALS['cfg']['NumRecentTables'] > 0
) {
- $tmp_result = PMA_RecentTable::getInstance()->add($db, $table);
+ $tmp_result = PMA_RecentFavoriteTable::getInstance('recent')->add($db, $table);
if ($tmp_result === true) {
$params = array('ajax_request' => true, 'recent_table' => true);
$url = 'index.php' . PMA_URL_getCommon($params);