andre 3 лет назад
Родитель
Сommit
248dbbd2e9
2 измененных файлов с 5 добавлено и 2 удалено
  1. 1 1
      clientarea.tpl
  2. 4 1
      cwp7.php

+ 1 - 1
clientarea.tpl

@@ -211,7 +211,7 @@
                                 {$domain.path}
                               </td>
                               <td style="text-align:center;padding:5px;">
-                                <i class="fas fa-times fa-fw"></i>
+                                <i class="fas {if $domain.DNS == 1}fa-check{else}fa-times{/if} fa-fw"></i>
                               </td>
                               <td style="text-align:center;padding:5px;">
                                 <i class="fas fa-power-off fa-fw"></i>

+ 4 - 1
cwp7.php

@@ -233,7 +233,7 @@ function cwp7_ClientArea($params){
 		__FUNCTION__,
 		$response,
 		'debug',
-		$clientInfo
+		$params
 	);
 	return array(
         'tabOverviewReplacementTemplate' => 'clientarea',
@@ -338,6 +338,9 @@ function cwp7CheckDNS($domain) {
 		);
 	}
 	$domainA = $result->answer;
+	if($domainA[0]->address == '85.25.4.56'){
+		return true;
+	}
 	logModuleCall(
 		'cwp7',
 		__FUNCTION__,