|
|
@@ -218,15 +218,27 @@
|
|
|
</td>
|
|
|
<td style="text-align:center;padding:5px;border-left:1px dotted black;">
|
|
|
{if $domain.DNS == 1}
|
|
|
- <form method="post" action="clientarea.php?action=productdetails">
|
|
|
- <input type="hidden" name="id" value="{$serviceid}" />
|
|
|
- <input type="hidden" name="modop" value="custom" />
|
|
|
- <input type="hidden" name="a" value="unsetDNSConfirm" />
|
|
|
- <input type="hidden" name="d" value="{$domain.domain}" />
|
|
|
- <button title="DNS deaktivieren" type="submit" class="fabutton" style="background:none;padding:0px;border:none;">
|
|
|
- <i class="fas fa-power-off fa-fw" style="color:green;"></i>
|
|
|
- </button>
|
|
|
- </form>
|
|
|
+ {if $domain.domainNS == 'self'}
|
|
|
+ <form method="post" action="clientarea.php?action=productdetails">
|
|
|
+ <input type="hidden" name="id" value="{$serviceid}" />
|
|
|
+ <input type="hidden" name="modop" value="custom" />
|
|
|
+ <input type="hidden" name="a" value="unsetDNSConfirm" />
|
|
|
+ <input type="hidden" name="d" value="{$domain.domain}" />
|
|
|
+ <button title="DNS deaktivieren" type="submit" class="fabutton" style="background:none;padding:0px;border:none;">
|
|
|
+ <i class="fas fa-power-off fa-fw" style="color:green;"></i>
|
|
|
+ </button>
|
|
|
+ </form>
|
|
|
+ {else}
|
|
|
+ <form method="post" action="clientarea.php?action=productdetails">
|
|
|
+ <input type="hidden" name="id" value="{$serviceid}" />
|
|
|
+ <input type="hidden" name="modop" value="custom" />
|
|
|
+ <input type="hidden" name="a" value="infoDNS" />
|
|
|
+ <input type="hidden" name="d" value="{$domain.domain}" />
|
|
|
+ <button title="DNS Info" type="submit" class="fabutton" style="background:none;padding:0px;border:none;">
|
|
|
+ <i class="fas fa-power-off fa-fw" style="color:green;"></i>
|
|
|
+ </button>
|
|
|
+ </form>
|
|
|
+ {/if}
|
|
|
{else}
|
|
|
{if $domain.domainNS == 'self'}
|
|
|
<form method="post" action="clientarea.php?action=productdetails">
|