Explorar o código

Mail user interface fixes

Kristan Kenney %!s(int64=7) %!d(string=hai) anos
pai
achega
06408c4da5

+ 1 - 1
web/templates/admin/edit_mail_acc.html

@@ -205,7 +205,7 @@
                         </tr>
                         </tr>
                         <?
                         <?
                             list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
                             list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
-                            $webmail = "http://mail.".$http_host."/";
+                            $webmail = "http://webmail.".$http_host."/";
                             if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
                             if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
                         ?>
                         ?>
                         <tr>
                         <tr>

+ 2 - 2
web/templates/admin/list_mail.html

@@ -14,7 +14,7 @@
               <td class="step-right">
               <td class="step-right">
                 <?
                 <?
                   list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
                   list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
-                  $webmail = "http://mail.".$http_host."/";
+                  $webmail = "http://webmail.".$http_host."/";
                   if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
                   if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
                 ?>
                 ?>
                 <a class="vst" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
                 <a class="vst" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
@@ -81,7 +81,7 @@
 
 
       <?
       <?
         list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
         list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
-        $webmail = "http://mail.".$http_host."/";
+        $webmail = "http://webmail.".$http_host."/";
         if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
         if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
 
 
         foreach ($data as $key => $value) {
         foreach ($data as $key => $value) {

+ 1 - 4
web/templates/admin/list_mail_acc.html

@@ -13,7 +13,7 @@
               <td class="step-right">
               <td class="step-right">
                 <?
                 <?
                   list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
                   list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"].":");
-                  $webmail = "http://mail.".$http_host."/";
+                  $webmail = "http://webmail.".$http_host."/";
                   if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
                   if (!empty($_SESSION['MAIL_URL'])) $webmail = $_SESSION['MAIL_URL'];
                 ?>
                 ?>
                 <a class="vst" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
                 <a class="vst" href="<?=$webmail?>" target="_blank"><?=__('open webmail')?> <i></i></a>
@@ -56,9 +56,6 @@
     <div class="l-separator"></div>
     <div class="l-separator"></div>
     <!-- /.l-separator -->
     <!-- /.l-separator -->
     <div class="l-center units animated fadeIn">
     <div class="l-center units animated fadeIn">
-        <div class="l-unit header">
-            <div class="subtitle"><?=__('Listing')?>  <?=htmlentities($_GET['domain'])?></div>
-        </div>
         <div class="l-unit header">
         <div class="l-unit header">
             <div class="l-unit__col l-unit__col--left clearfix">
             <div class="l-unit__col l-unit__col--left clearfix">
               <div class="text-center jump-small-top"></div>
               <div class="text-center jump-small-top"></div>