andre 2 жил өмнө
parent
commit
eb3e17f007

+ 8 - 6
kerioEmail_help_mx.tpl

@@ -205,7 +205,7 @@
 						</div>
 						<div class="col-md-4">
 							<form method="post" action="clientarea.php?action=domaindns&domainid={$domainId}">
-								<button type="submit" class="btn btn-default btn-block">
+								<button type="submit" class="btn btn-default btn-block" title="DNS überprüfen">
 									{$LANG.domaindnsmanagement}
 								</button>
 							</form>
@@ -229,11 +229,7 @@
 							Ein fehlender SPF Eintrag führt zu Zustellungsproblemen bei einigen E-Mail Providern. 
 							Bitte prüfen Sie die Einstellungen und korrigieren Sie diese gegebenenfalls.
 						</div>
-						<form method="post" action="clientarea.php?action=domaindns&domainid={$domainId}">
-							<button type="submit" class="btn btn-primary">
-								{$LANG.domaindnsmanagement}
-							</button>
-						</form>
+						<div class="col-md-4">
 						<form method="post" action="clientarea.php?action=productdetails">
 							<input type="hidden" name="id" value="{$id}" />
 							<input type="hidden" name="modop" value="custom" />
@@ -242,6 +238,12 @@
 								SPF {$LANG.orderconfigure}
 							</button>
 						</form>
+						<form method="post" action="clientarea.php?action=domaindns&domainid={$domainId}">
+							<button type="submit" class="btn btn-default" title="DNS überprüfen">
+								{$LANG.domaindnsmanagement}
+							</button>
+						</form>
+						</div>
 					{elseif $spf === 'wrong' && $selfDNS == true && $multiSPF == false}
 						<div class="alert alert-warning" style="width:90%">
 							Der SPF Eintrag für <b>{$maildomain}</b> ist falsch oder entspricht nicht unser Empfehlung.

+ 0 - 18
kerioEmail_mx.php

@@ -40,15 +40,6 @@ function KerioEmail_DNS($params)
 
 function KerioEmail_setMX($params)
 {
-
-    logModuleCall(
-        'kerioEmail',
-        __FUNCTION__,
-        $params,
-        'Debug DNS',
-        $_POST
-    );
-
     $zoneIDcollection = Capsule::table('dns_manager2_zone')
         ->select('id')
         ->where('name', '=', $params['domain'])
@@ -86,15 +77,6 @@ function KerioEmail_setMX($params)
             'records' => $zoneRecords,
         )
     );
-
-    logModuleCall(
-        'kerioEmail',
-        __FUNCTION__,
-        $result,
-        'Debug DNS',
-        $zoneRecords
-    );
-
     if($result['result'] != 'success') {
         return 'Error: cloud not update zone for ID ' . $zoneID;
     }