فهرست منبع

added webmail

Serghey Rodin 13 سال پیش
والد
کامیت
20e407d6d8
3فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 1 0
      web/templates/admin/list_mail.html
  2. 2 0
      web/templates/header.html
  3. 1 0
      web/templates/user/list_mail.html

+ 1 - 0
web/templates/admin/list_mail.html

@@ -69,6 +69,7 @@ foreach ($data as $key => $value) {
             <td></td>
             <td class="data-controls" width="100px"><img src="/images/more.png" width="8px" height="8px"><a href="?domain=<?php echo $key ?>"> list accounts</a></td>
             <td class="data-controls" width="98px"><img src="/images/add.png" width="8px" height="8px"><a href="/add/mail/?domain=<?php echo $key ?>"> add account</a></td>
+            <td class="data-controls" width="104px"><img src="/images/new_window.png" width="8px" height="8px"> <a href="<?php echo "http://".$_SERVER["HTTP_HOST"]."/webmail/"; ?>" target="_blank"> open webmail</a></td>
             <td class="data-controls" width="50px"><img src="/images/edit.png" width="8px" height="8px"><a href="/edit/mail/?domain=<?php echo $key ?>"> edit</a></td>
             <td class="data-controls" width="80px">
                 <img src="/images/suspend.png" width="7px" height="8px">

+ 2 - 0
web/templates/header.html

@@ -537,6 +537,7 @@ if (!empty($_SESSION['look'])) {
         color: #9ba68c;
     }
 
+
     .add-advanced {
         color: #34536A;
         font-size: 10pt;
@@ -548,6 +549,7 @@ if (!empty($_SESSION['look'])) {
         color: #9ba68c;
     }
 
+
     </style>
     <link type="text/css" href="/css/jquery-custom-dialogs.css" rel="stylesheet" />
     <script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>

+ 1 - 0
web/templates/user/list_mail.html

@@ -51,6 +51,7 @@ foreach ($data as $key => $value) {
             <td></td>
             <td class="data-controls" width="100px"><img src="/images/more.png" width="8px" height="8px"><a href="?domain=<?php echo $key ?>"> list accounts</a></td>
             <td class="data-controls" width="98px"><img src="/images/add.png" width="8px" height="8px"><a href="/add/mail/?domain=<?php echo $key ?>"> add account</a></td>
+            <td class="data-controls" width="104px"><img src="/images/new_window.png" width="8px" height="8px"> <a href="<?php echo "http://".$_SERVER["HTTP_HOST"]."/webmail/"; ?>" target="_blank"> open webmail</a></td>
             <td class="data-controls" width="50px"><img src="/images/edit.png" width="8px" height="8px"><a href="/edit/mail/?domain=<?php echo $key ?>"> edit</a></td>
             <td class="data-controls" width="70px">
                 <img src="/images/delete.png" width="7px" height="7px">