Skip to content

Commit 345178a

Browse files
author
Kristan Kenney
committed
Remove webmail link from toolbar
If logged in via server iP address, the variable points to the wrong address. Connecting to 0.0.0.0/webmail/ is also not supported. Webmail access link will be moved into the quick action toolbar, which can generate the correct URL based on domain name.
1 parent 9c8c727 commit 345178a

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

web/templates/admin/list_mail.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
$webmail = "http://webmail.".$http_host."/";
1818
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
1919
?>
20-
<a class="vst" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
2120
</td>
2221
<td class="l-sort-toolbar__search-box step-left">
2322
<form action="/search/" method="get">

web/templates/admin/list_mail_acc.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
$webmail = "http://webmail.".$http_host."/";
1717
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
1818
?>
19-
<a class="vst" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
2019
</td>
2120
<td class="l-sort-toolbar__search-box step-left">
2221
<form action="/search/" method="get">

web/templates/user/list_mail.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
$webmail = "http://".$http_host."/webmail/";
1818
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
1919
?>
20-
<a class="vst" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
2120
</td>
2221
<td class="l-sort-toolbar__search-box step-left">
2322
<form action="/search/" method="get">

web/templates/user/list_mail_acc.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
$webmail = "http://".$http_host."/webmail/";
1717
if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
1818
?>
19-
<a class="vst" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
2019
</td>
2120
<td class="l-sort-toolbar__search-box step-left">
2221
<form action="/search/" method="get">

0 commit comments

Comments
 (0)