File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed
Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 6464
6565 < ?
6666 list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
67- $webmail = "http:// webmail.".$http_host."/ ";
67+ $webmail = "webmail";
6868 if (!empty($_SESSION['WEBMAIL_ALIAS'])) $webmail = $_SESSION['WEBMAIL_ALIAS'];
6969
7070 foreach ($data as $key => $value) {
101101 < div class ="actions-panel clearfix ">
102102 < div class ="actions-panel__col actions-panel__logs shortcut-n " key-action ="href "> < a href ="/add/mail/?domain=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('Add Mail Account')?> "> < i class ="fas fa-plus-circle status-icon green status-icon dim "> </ i > </ a > </ div >
103103 < div class ="actions-panel__col actions-panel__edit shortcut-l " key-action ="href "> < a href ="?domain=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('mail accounts')?> "> < i class ="fas fa-users status-icon blue status-icon dim "> </ i > </ a > </ div >
104- < div class ="actions-panel__col actions-panel__edit " key-action ="href "> < a href ="http://webmail.<?=$key?>/ " target ="_blank " title ="<?=_('open webmail')?> "> < i class ="fas fa-paper-plane status-icon lightblue status-icon dim "> </ i > </ a > </ div >
104+ < div class ="actions-panel__col actions-panel__edit " key-action ="href "> < a href ="http://<?=$ webmail;?> .<?=$key?>/ " target ="_blank " title ="<?=_('open webmail')?> "> < i class ="fas fa-paper-plane status-icon lightblue status-icon dim "> </ i > </ a > </ div >
105105 < div class ="actions-panel__col actions-panel__logs shortcut-enter " key-action ="href "> < a href ="/edit/mail/?domain=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('Editing Mail Domain')?> "> < i class ="fas fa-pencil-alt status-icon orange status-icon dim "> </ i > </ a > </ div >
106106
107107 < div class ="actions-panel__col actions-panel__suspend shortcut-s " key-action ="js ">
Original file line number Diff line number Diff line change 1+ < ?php
2+ $v_webmail_alias = "webmail";
3+ if (!empty($_SESSION['WEBMAIL_ALIAS'])) $v_webmail_alias = $_SESSION['WEBMAIL_ALIAS'];
4+ ?>
15 < div class ="l-center ">
26 < div class ="l-sort clearfix noselect ">
37 < div class ="l-unit-toolbar__buttonstrip ">
9397 < div class ="clearfix l-unit__stat-col--left text-right compact-4 ">
9498 < div class ="l-unit-toolbar__col l-unit-toolbar__col--right noselect ">
9599 < div class ="actions-panel clearfix ">
96- < div class ="actions-panel__col actions-panel__edit " key-action ="href "> < a href ="http://mail .<?=htmlspecialchars($_GET['domain'])?>/?_user=<?=$key?>@<?=htmlspecialchars($_GET['domain'])?> " target ="_blank " title ="<?=_('open webmail')?> "> < i class ="fas fa-envelope-open-text status-icon maroon status-icon dim "> </ i > </ a > </ div >
100+ < div class ="actions-panel__col actions-panel__edit " key-action ="href "> < a href ="http://<?=$v_webmail_alias;?> .<?=htmlspecialchars($_GET['domain'])?>/?_user=<?=$key?>@<?=htmlspecialchars($_GET['domain'])?> " target ="_blank " title ="<?=_('open webmail')?> "> < i class ="fas fa-envelope-open-text status-icon maroon status-icon dim "> </ i > </ a > </ div >
97101 < div class ="actions-panel__col actions-panel__logs shortcut-enter " key-action ="href "> < a href ="/edit/mail/?domain=<?=htmlspecialchars($_GET['domain'])?>&account=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('Editing Mail Account')?> "> < i class ="fas fa-pencil-alt status-icon orange status-icon dim "> </ i > </ a > </ div >
98102
99103 < div class ="actions-panel__col actions-panel__suspend shortcut-s " key-action ="js ">
Original file line number Diff line number Diff line change 6363
6464 < ?
6565 list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
66- $webmail = "http:// webmail.".$http_host."/ ";
66+ $webmail = "webmail";
6767 if (!empty($_SESSION['WEBMAIL_ALIAS'])) $webmail = $_SESSION['WEBMAIL_ALIAS'];
6868
6969 foreach ($data as $key => $value) {
100100 < div class ="actions-panel clearfix ">
101101 < div class ="actions-panel__col actions-panel__logs shortcut-n " key-action ="href "> < a href ="/add/mail/?domain=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('Add Mail Account')?> "> < i class ="fas fa-plus-circle status-icon green status-icon dim "> </ i > </ a > </ div >
102102 < div class ="actions-panel__col actions-panel__edit shortcut-l " key-action ="href "> < a href ="?domain=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('mail accounts')?> "> < i class ="fas fa-users status-icon blue status-icon dim "> </ i > </ a > </ div >
103- < div class ="actions-panel__col actions-panel__edit " key-action ="href "> < a href ="http://webmail.<?=$key?>/ " target ="_blank " title ="<?=_('open webmail')?> "> < i class ="fas fa-paper-plane status-icon lightblue status-icon dim "> </ i > </ a > </ div >
103+ < div class ="actions-panel__col actions-panel__edit " key-action ="href "> < a href ="http://<?=$ webmail;?> .<?=$key?>/ " target ="_blank " title ="<?=_('open webmail')?> "> < i class ="fas fa-paper-plane status-icon lightblue status-icon dim "> </ i > </ a > </ div >
104104 < div class ="actions-panel__col actions-panel__logs shortcut-enter " key-action ="href "> < a href ="/edit/mail/?domain=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('Editing Mail Domain')?> "> < i class ="fas fa-pencil-alt status-icon orange status-icon dim "> </ i > </ a > </ div >
105105
106106 < div class ="actions-panel__col actions-panel__suspend shortcut-s " key-action ="js ">
Original file line number Diff line number Diff line change 1+ < ?php
2+ $v_webmail_alias = "webmail";
3+ if (!empty($_SESSION['WEBMAIL_ALIAS'])) $v_webmail_alias = $_SESSION['WEBMAIL_ALIAS'];
4+ ?>
15 < div class ="l-center ">
26 < div class ="l-sort clearfix noselect ">
37 < div class ="l-unit-toolbar__buttonstrip ">
9397 < div class ="clearfix l-unit__stat-col--left text-right compact-4 ">
9498 < div class ="l-unit-toolbar__col l-unit-toolbar__col--right noselect ">
9599 < div class ="actions-panel clearfix ">
96- < div class ="actions-panel__col actions-panel__edit " key-action ="href "> < a href ="http://mail .<?=htmlspecialchars($_GET['domain'])?>/?_user=<?=$key?>@<?=htmlspecialchars($_GET['domain'])?> " target ="_blank " title ="<?=_('open webmail')?> "> < i class ="fas fa-envelope-open-text status-icon maroon status-icon dim "> </ i > </ a > </ div >
100+ < div class ="actions-panel__col actions-panel__edit " key-action ="href "> < a href ="http://<?=$v_webmail_alias;?> .<?=htmlspecialchars($_GET['domain'])?>/?_user=<?=$key?>@<?=htmlspecialchars($_GET['domain'])?> " target ="_blank " title ="<?=_('open webmail')?> "> < i class ="fas fa-envelope-open-text status-icon maroon status-icon dim "> </ i > </ a > </ div >
97101 < div class ="actions-panel__col actions-panel__logs shortcut-enter " key-action ="href "> < a href ="/edit/mail/?domain=<?=htmlspecialchars($_GET['domain'])?>&account=<?=$key?>&token=<?=$_SESSION['token']?> " title ="<?=_('Editing Mail Account')?> "> < i class ="fas fa-pencil-alt status-icon orange status-icon dim "> </ i > </ a > </ div >
98102
99103 < div class ="actions-panel__col actions-panel__suspend shortcut-s " key-action ="js ">
You can’t perform that action at this time.
0 commit comments