Browse Source

Merge branch 'bugfix-ui-0305'

Kristan Kenney 6 years ago
parent
commit
197e238f5f

+ 6 - 3
web/templates/admin/edit_mail.html

@@ -96,14 +96,17 @@
                                     <table style="display:<?php if ($v_ssl == 'no' ) { echo 'none';} else {echo 'block';}?> ;" id="ssltable">
                                     <table style="display:<?php if ($v_ssl == 'no' ) { echo 'none';} else {echo 'block';}?> ;" id="ssltable">
                                         <tr>
                                         <tr>
                                             <td class="input-label vst-text">
                                             <td class="input-label vst-text">
+                                                <label><input type="checkbox" size="20" class="vst-checkbox" name="v_letsencrypt" <?php if($v_letsencrypt == 'yes' || $v_letencrypt == 'on') echo "checked=yes" ?> onclick="App.Actions.MAIL.toggle_letsencrypt(this)"> <?php print __('Lets Encrypt Support');?></label>
+                                            </td>
+                                        </tr>
+                                        <tr>
+                                            <td>
                                                 <span class="alert alert-info alert-with-icon">
                                                 <span class="alert alert-info alert-with-icon">
                                                     <i class="fas fa-exclamation"></i>
                                                     <i class="fas fa-exclamation"></i>
-                                                    <?=__("Let's Encrypt for mail needs a dns record for mail.$v_domain and $v_webmail_alias!")?><br/>
+                                                    <?=__("To enable Let's Encrypt SSL, ensure that DNS records exist for mail.$v_domain and $v_webmail_alias!")?><br/>
                                                 </span>
                                                 </span>
-                                                <label><input type="checkbox" size="20" class="vst-checkbox" name="v_letsencrypt" <?php if($v_letsencrypt == 'yes' || $v_letencrypt == 'on') echo "checked=yes" ?> onclick="App.Actions.MAIL.toggle_letsencrypt(this)"> <?php print __('Lets Encrypt Support');?></label>
                                             </td>
                                             </td>
                                         </tr>
                                         </tr>
-                                      
                                         <tr>
                                         <tr>
                                             <td class="vst-text input-label">
                                             <td class="vst-text input-label">
                                                 <?php print __('SSL Certificate');?>
                                                 <?php print __('SSL Certificate');?>

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

@@ -125,13 +125,13 @@ sort-star="<? if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] =
             <div class="clearfix l-unit__stat-col--left text-center"><b>
             <div class="clearfix l-unit__stat-col--left text-center"><b>
                       <? if($data[$key]['SUSPENDED'] == 'no'){ ?>
                       <? if($data[$key]['SUSPENDED'] == 'no'){ ?>
                           <? if($data[$key]['ALIAS'] == ''){ ?>
                           <? if($data[$key]['ALIAS'] == ''){ ?>
-                            0
+                            <i class="fas fa-minus-circle"></i>
                           <? } else {?>
                           <? } else {?>
                             <i class="fas fa-check-circle status-icon green"></i>
                             <i class="fas fa-check-circle status-icon green"></i>
                           <? } ?>
                           <? } ?>
                       <? } else {?>
                       <? } else {?>
                         <? if($data[$key]['ALIAS'] == ''){ ?>
                         <? if($data[$key]['ALIAS'] == ''){ ?>
-                          0
+                          <i class="fas fa-minus-circle"></i>
                         <? } else {?>
                         <? } else {?>
                           <i class="fas fa-check-circle"></i>
                           <i class="fas fa-check-circle"></i>
                         <? } ?>
                         <? } ?>

+ 2 - 2
web/templates/user/list_mail_acc.html

@@ -125,13 +125,13 @@ sort-star="<? if($_SESSION['favourites']['MAIL_ACC'][$key."@".$_GET['domain']] =
             <div class="clearfix l-unit__stat-col--left text-center"><b>
             <div class="clearfix l-unit__stat-col--left text-center"><b>
                       <? if($data[$key]['SUSPENDED'] == 'no'){ ?>
                       <? if($data[$key]['SUSPENDED'] == 'no'){ ?>
                           <? if($data[$key]['ALIAS'] == ''){ ?>
                           <? if($data[$key]['ALIAS'] == ''){ ?>
-                            0
+                            <i class="fas fa-minus-circle"></i>
                           <? } else {?>
                           <? } else {?>
                             <i class="fas fa-check-circle status-icon green"></i>
                             <i class="fas fa-check-circle status-icon green"></i>
                           <? } ?>
                           <? } ?>
                       <? } else {?>
                       <? } else {?>
                         <? if($data[$key]['ALIAS'] == ''){ ?>
                         <? if($data[$key]['ALIAS'] == ''){ ?>
-                          0
+                          <i class="fas fa-minus-circle"></i>
                         <? } else {?>
                         <? } else {?>
                           <i class="fas fa-check-circle"></i>
                           <i class="fas fa-check-circle"></i>
                         <? } ?>
                         <? } ?>