|
|
@@ -206,6 +206,7 @@
|
|
|
Bearbeiten
|
|
|
</button>
|
|
|
</form>
|
|
|
+ {if $site.enabled == 1}
|
|
|
<form method="post" action="clientarea.php?action=productdetails" style="display: inline;">
|
|
|
<input type="hidden" name="id" value="{$serviceid}" />
|
|
|
<input type="hidden" name="modop" value="custom" />
|
|
|
@@ -216,6 +217,18 @@
|
|
|
Deaktivieren
|
|
|
</button>
|
|
|
</form>
|
|
|
+ {else}
|
|
|
+ <form method="post" action="clientarea.php?action=productdetails" style="display: inline;">
|
|
|
+ <input type="hidden" name="id" value="{$serviceid}" />
|
|
|
+ <input type="hidden" name="modop" value="custom" />
|
|
|
+ <input type="hidden" name="a" value="enableSite" />
|
|
|
+ <input type="hidden" name="s" value="{$site.name}" />
|
|
|
+ <button class="btn btn-sm btn-link" style="border-color: lightgray; min-width: 130px;">
|
|
|
+ <i class="fas fa-recycle" title="Seite aktivieren"></i>
|
|
|
+ Aktivieren
|
|
|
+ </button>
|
|
|
+ </form>
|
|
|
+ {/if}
|
|
|
<form method="post" action="clientarea.php?action=productdetails" style="display: inline;">
|
|
|
<input type="hidden" name="id" value="{$serviceid}" />
|
|
|
<input type="hidden" name="modop" value="custom" />
|