Bläddra i källkod

redirect already used trial version

andre 4 år sedan
förälder
incheckning
80b697c812
2 ändrade filer med 19 tillägg och 20 borttagningar
  1. 0 3
      configure_thurvcloud.tpl
  2. 19 17
      configureproduct.tpl

+ 0 - 3
configure_thurvcloud.tpl

@@ -1,6 +1,3 @@
-{if ($productinfo.paytype eq 'free') && in_array($productinfo.pid, $clientPids)}
-    {include file="orderforms/{$carttpl}/nodoubletrial.tpl"}
-{else}
 {include file="orderforms/{$carttpl}/common.tpl"}
 
 <script>

+ 19 - 17
configureproduct.tpl

@@ -14,26 +14,28 @@ ThurVCloud Business		=> gid=9
 ThurFiles Business Hosting	=> gid=10
 
 *}
-
-{if $productinfo.gid === 1 || $productinfo.gid === 8}
-    {include file='./configure_privat_mail.tpl'}
-    {include file='./check_configure_privat_mail.tpl'}
-{elseif $productinfo.gid === 2}
-    {include file='./configure_seafile.tpl'}
-    {include file='./check_configure_seafile.tpl'}
-{elseif $productinfo.gid === 3}
-    {include file='./configure_nextcloud.tpl'}
-    {include file='./check_configure_nextcloud.tpl'}
-{elseif $productinfo.gid === 4}
-    {include file='./configure_thurvserver.tpl'}
-    {include file='./check_configure_thurvserver.tpl'}
-{elseif $productinfo.gid === 5}
-    {include file='./configure_thurvcloud.tpl'}
+{if ($productinfo.paytype eq 'free') && in_array($productinfo.pid, $clientPids)}
+    {include file="orderforms/{$carttpl}/nodoubletrial.tpl"}
 {else}
-    {include file='./configureproduct_default.tpl'}
+    {if $productinfo.gid === 1 || $productinfo.gid === 8}
+        {include file='./configure_privat_mail.tpl'}
+        {include file='./check_configure_privat_mail.tpl'}
+    {elseif $productinfo.gid === 2}
+        {include file='./configure_seafile.tpl'}
+        {include file='./check_configure_seafile.tpl'}
+    {elseif $productinfo.gid === 3}
+        {include file='./configure_nextcloud.tpl'}
+        {include file='./check_configure_nextcloud.tpl'}
+    {elseif $productinfo.gid === 4}
+        {include file='./configure_thurvserver.tpl'}
+        {include file='./check_configure_thurvserver.tpl'}
+    {elseif $productinfo.gid === 5}
+        {include file='./configure_thurvcloud.tpl'}
+    {else}
+        {include file='./configureproduct_default.tpl'}
+    {/if}
 {/if}
 
-
 {* {elseif $productinfo.gid === 3} 
     {include file='./configure_nextcloud.tpl'}
     {include file='./check_configure_nextcloud.tpl'}