fix the way we interpolate the URL

This commit is contained in:
Antoine Beaupr�� 2014-06-18 14:40:07 +00:00
parent dbd029d8cf
commit 954ffc2ab0
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ if ( empty($logo) || ! $logo ) {
<?php
if (isset($_GET['authip_token'])) $authip_token=$_GET['authip_token'];
if (variable_get('https_warning', true, 'warn users to switch to HTTPS') && !isset($_SERVER['HTTPS'])) {
echo __('<h4>WARNING: you are trying to access the control panel insecurely, click <a href="%s">here</a> to go to secure mode</h4>', $_SERVER["HTTP_HOST"]);
echo '<h4>' . sprintf(_('WARNING: you are trying to access the control panel insecurely, click <a href="https://%s">here</a> to go to secure mode'), $_SERVER["HTTP_HOST"]) . '</h4>';
}
?>
<div style="margin: 0 auto 30px auto; width: 700px;">