diff options
author | Michal Čihař <michal@cihar.com> | 2016-07-18 17:11:23 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2016-07-18 17:20:34 +0300 |
commit | 714818f3ad21aa44ed2017ede8009cbc30d4816d (patch) | |
tree | 6c9a02b81151ea9d021f30e49491b37c5ac926c8 /libraries | |
parent | ab26a8fe97be18f854c12ffda704f253c7706dfd (diff) |
Use https to access phpmyadmin.net
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/Util.class.php | 24 | ||||
-rw-r--r-- | libraries/plugins/auth/AuthenticationCookie.class.php | 2 | ||||
-rw-r--r-- | libraries/plugins/export/ExportLatex.class.php | 2 | ||||
-rw-r--r-- | libraries/plugins/export/ExportSql.class.php | 2 | ||||
-rw-r--r-- | libraries/plugins/export/ExportXml.class.php | 4 |
5 files changed, 17 insertions, 17 deletions
diff --git a/libraries/Util.class.php b/libraries/Util.class.php index 0088c30bd2..2f5772fb1c 100644 --- a/libraries/Util.class.php +++ b/libraries/Util.class.php @@ -89,7 +89,7 @@ class PMA_Util /** * Returns an HTML IMG tag for a particular icon from a theme, * which may be an actual file or an icon from a sprite. - * This function takes into account the ActionLinksMode + * This function takes into account the ActionLinksMode * configuration setting and wraps the image tag in a span tag. * * @param string $icon name of icon file @@ -106,19 +106,19 @@ class PMA_Util ) { $include_icon = $include_text = false; if (in_array( - $GLOBALS['cfg'][$control_param], + $GLOBALS['cfg'][$control_param], array('icons', 'both') ) - ) { + ) { $include_icon = true; - } + } if ($force_text || in_array( - $GLOBALS['cfg'][$control_param], + $GLOBALS['cfg'][$control_param], array('text', 'both') ) ) { - $include_text = true; + $include_text = true; } // Sometimes use a span (we rely on this in js/sql.js). But for menu bar // we don't need a span @@ -552,7 +552,7 @@ class PMA_Util /* Check if we have built local documentation */ if (defined('TESTSUITE')) { /* Provide consistent URL for testsuite */ - return PMA_linkURL('http://docs.phpmyadmin.net/en/latest/' . $url); + return PMA_linkURL('https://docs.phpmyadmin.net/en/latest/' . $url); } else if (file_exists('doc/html/index.html')) { if (defined('PMA_SETUP')) { return '../doc/html/' . $url; @@ -561,7 +561,7 @@ class PMA_Util } } else { /* TODO: Should link to correct branch for released versions */ - return PMA_linkURL('http://docs.phpmyadmin.net/en/latest/' . $url); + return PMA_linkURL('https://docs.phpmyadmin.net/en/latest/' . $url); } } @@ -1812,10 +1812,10 @@ class PMA_Util // the text that follows and if browser does not display // images, the text is duplicated $tab['text'] = self::getIcon( - $tab['icon'], - $tab['text'], - false, - true, + $tab['icon'], + $tab['text'], + false, + true, 'TabsMode' ); diff --git a/libraries/plugins/auth/AuthenticationCookie.class.php b/libraries/plugins/auth/AuthenticationCookie.class.php index c650b8c72c..13daf97dc8 100644 --- a/libraries/plugins/auth/AuthenticationCookie.class.php +++ b/libraries/plugins/auth/AuthenticationCookie.class.php @@ -138,7 +138,7 @@ class AuthenticationCookie extends AuthenticationPlugin echo ' <div class="container"> <a href="'; - echo PMA_linkURL('http://www.phpmyadmin.net/'); + echo PMA_linkURL('https://www.phpmyadmin.net/'); echo '" target="_blank" class="logo">'; $logo_image = $GLOBALS['pmaThemeImage'] . 'logo_right.png'; if (@file_exists($logo_image)) { diff --git a/libraries/plugins/export/ExportLatex.class.php b/libraries/plugins/export/ExportLatex.class.php index 0f5c953a8b..02dd1f2cc2 100644 --- a/libraries/plugins/export/ExportLatex.class.php +++ b/libraries/plugins/export/ExportLatex.class.php @@ -213,7 +213,7 @@ class ExportLatex extends ExportPlugin $head = '% phpMyAdmin LaTeX Dump' . $crlf . '% version ' . PMA_VERSION . $crlf - . '% http://www.phpmyadmin.net' . $crlf + . '% https://www.phpmyadmin.net' . $crlf . '%' . $crlf . '% ' . __('Host') . ': ' . $cfg['Server']['host']; if (! empty($cfg['Server']['port'])) { diff --git a/libraries/plugins/export/ExportSql.class.php b/libraries/plugins/export/ExportSql.class.php index 243644663f..c1940bc7a8 100644 --- a/libraries/plugins/export/ExportSql.class.php +++ b/libraries/plugins/export/ExportSql.class.php @@ -614,7 +614,7 @@ class ExportSql extends ExportPlugin } $head = $this->_exportComment('phpMyAdmin SQL Dump') . $this->_exportComment('version ' . PMA_VERSION) - . $this->_exportComment('http://www.phpmyadmin.net') + . $this->_exportComment('https://www.phpmyadmin.net') . $this->_exportComment(); $host_string = __('Host') . ': ' . $cfg['Server']['host']; if (! empty($cfg['Server']['port'])) { diff --git a/libraries/plugins/export/ExportXml.class.php b/libraries/plugins/export/ExportXml.class.php index 6b356e2f87..08a1cd2286 100644 --- a/libraries/plugins/export/ExportXml.class.php +++ b/libraries/plugins/export/ExportXml.class.php @@ -186,7 +186,7 @@ class ExportXml extends ExportPlugin . '<!--' . $crlf . '- phpMyAdmin XML Dump' . $crlf . '- version ' . PMA_VERSION . $crlf - . '- http://www.phpmyadmin.net' . $crlf + . '- https://www.phpmyadmin.net' . $crlf . '-' . $crlf . '- ' . __('Host') . ': ' . htmlspecialchars($cfg['Server']['host']); if (! empty($cfg['Server']['port'])) { @@ -201,7 +201,7 @@ class ExportXml extends ExportPlugin $head .= '<pma_xml_export version="1.0"' . (($export_struct) - ? ' xmlns:pma="http://www.phpmyadmin.net/some_doc_url/"' + ? ' xmlns:pma="https://www.phpmyadmin.net/some_doc_url/"' : '') . '>' . $crlf; |