updated links to phpMyAdmin, phpPgAdmin, webmail to use https

This commit is contained in:
Jeroen Derks 2013-04-06 20:40:56 +02:00
commit 1113cd721e
4 changed files with 6 additions and 6 deletions

View file

@ -43,9 +43,9 @@
}
if ($data[$key]['HOST'] != 'localhost' ) $http_host = $data[$key]['HOST'];
if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin";
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "https://".$http_host."/phpMyAdmin/";
if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin";
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "https://".$http_host."/phpPgAdmin/";
?>
<tr class="data-row">
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">

View file

@ -79,7 +79,7 @@
<?php print _('edit');?>
</span>
</a>
<a href="<?php echo "http://".$http_host."/webmail/"; ?>" target="_blank" class="data-controls">
<a href="<?php echo "https://".$http_host."/webmail/"; ?>" target="_blank" class="data-controls">
<span>
<img src="/images/new_window.png" width="8px" height="8px">
<?php print _('open webmail');?>

View file

@ -41,9 +41,9 @@
}
if ($data[$key]['HOST'] != 'localhost' ) $http_host = $data[$key]['HOST'];
if ($data[$key]['TYPE'] == 'mysql') $db_admin = "phpMyAdmin";
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/";
if ($data[$key]['TYPE'] == 'mysql') $db_admin_link = "https://".$http_host."/phpMyAdmin/";
if ($data[$key]['TYPE'] == 'pgsql') $db_admin = "phpPgAdmin";
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "http://".$http_host."/phpPgAdmin/";
if ($data[$key]['TYPE'] == 'pgsql') $db_admin_link = "https://".$http_host."/phpPgAdmin/";
?>
<tr class="data-row">
<td class="data-dotted" style="padding: 0px 10px 0px 0px" width="150">

View file

@ -68,7 +68,7 @@
<?php print _('edit');?>
</span>
</a>
<a href="<?php echo "http://".$http_host."/webmail/"; ?>" target="_blank" class="data-controls">
<a href="<?php echo "https://".$http_host."/webmail/"; ?>" target="_blank" class="data-controls">
<span>
<img src="/images/new_window.png" width="8px" height="8px">
<?php print _('open webmail');?>