mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 14:24:07 -07:00
updated links to phpMyAdmin, phpPgAdmin, webmail to use https
This commit is contained in:
parent
8fe82e990e
commit
1113cd721e
4 changed files with 6 additions and 6 deletions
|
@ -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">
|
||||
|
|
|
@ -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');?>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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');?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue