浏览代码

new productgroups

root 2 年之前
父节点
当前提交
1f96e6186a
共有 8 个文件被更改,包括 52 次插入36 次删除
  1. 3 2
      configure_groupware.tpl
  2. 3 2
      configure_privat_mail.tpl
  3. 3 2
      configure_thurvcloud.tpl
  4. 3 2
      configure_webhosting.tpl
  5. 4 4
      configureproduct.tpl
  6. 3 2
      configureproduct_default.tpl
  7. 2 2
      layouts/head.tpl
  8. 31 20
      products.tpl

+ 3 - 2
configure_groupware.tpl

@@ -65,13 +65,14 @@
                                             {*
                                                 Product Icon set by its group id
                                                 -----------------------------------------
-                                                Mailhosting                     => gid=1
+                                                ThurMail Private                => gid=1
                                                 Thurfiles Private Hosting       => gid=2
                                                 Nextcloud Private Hosting       => gid=3
                                                 ThurVServer                     => gid=4
                                                 ThurVCloud		        => gid=5
                                                 Thurcert Domain Validated       => gid=6
-                                                Groupware Hosting               => gid=7
+                                                ThurMail Zimbra                 => gid=7
+                                                ThurMail Kerio			=> gid=16
                                                 Mailhosting mit Nextcloud       => gid=8
                                                 Nextcloud Business Hosting      => gid=9
                                                 Thurfiles Business Hosting	=> gid=10

+ 3 - 2
configure_privat_mail.tpl

@@ -64,13 +64,14 @@
                                             {*
                                                 Product Icon set by its group id
                                                 -----------------------------------------
-                                                Mailhosting                     => gid=1
+                                                ThurMail Private                => gid=1
                                                 Thurfiles Private Hosting       => gid=2
                                                 Nextcloud Private Hosting       => gid=3
                                                 ThurVServer                     => gid=4
                                                 ThurVCloud                      => gid=5
                                                 Thurcert Domain Validated       => gid=6
-                                                Groupware Hosting               => gid=7
+                                                ThurMail Zimbra		        => gid=7
+                                                ThurMail Kerio		        => gid=16
                                                 Mailhosting mit Nextcloud       => gid=8
                                                 NextCloud Business Hosting      => gid=9
                                                 Thurfiles Business Hosting	=> gid=10

+ 3 - 2
configure_thurvcloud.tpl

@@ -65,13 +65,14 @@
                                             {*
                                                 Product Icon set by its group id
                                                 -----------------------------------------
-                                                Mailhosting                     => gid=1
+                                                ThurMail Private                => gid=1
                                                 Thurfiles Private Hosting       => gid=2
                                                 Nextcloud Private Hosting       => gid=3
                                                 ThurVServer                     => gid=4
                                                 ThurVCloud		        => gid=5
                                                 Thurcert Domain Validated       => gid=6
-                                                Groupware Hosting               => gid=7
+                                                ThurMail Zimbra		        => gid=7
+                                                ThurMail Kerio		        => gid=16
                                                 Mailhosting mit Nextcloud       => gid=8
                                                 Nextcloud Business Hosting      => gid=9
                                                 Thurfiles Business Hosting	=> gid=10

+ 3 - 2
configure_webhosting.tpl

@@ -65,13 +65,14 @@ var _localLang = {
                                         {*
                                             Product Icon set by its group id
                                             -----------------------------------------
-                                            Mailhosting                     => gid=1
+                                            ThurMail Private                => gid=1
                                             Thurfiles Private Hosting       => gid=2
                                             Nextcloud Private Hosting       => gid=3
                                             ThurVServer                     => gid=4
                                             ThurVCloud		            => gid=5
                                             Thurcert Domain Validated       => gid=6
-                                            Groupware Hosting               => gid=7
+                                            ThurMail Zimbra                 => gid=7
+                                            ThurMail Kerio                  => gid=16
                                             Mailhosting mit Nextcloud       => gid=8
                                             Nextcloud Business Hosting      => gid=9
                                             Thurfiles Business Hosting	    => gid=10

+ 4 - 4
configureproduct.tpl

@@ -1,14 +1,14 @@
 {* 
 route configureproduct by group id or name
 *}
-
 {* 
-Mailhosting 			=> gid=1
+ThurMail Private		=> gid=1
 ThurFiles Private Hosting	=> gid=2
 Nextcloud Hosting		=> gid=3
 ThurVServer			=> gid=4
 ThurVCloud Private		=> gid=5
-Groupware Hosting		=> gid=7
+ThurMail Zimbra			=> gid=7
+ThurMail Kerio			=> gid=16
 Mailhosting mit Nextcloud 	=> gid=8
 ThurVCloud Business		=> gid=9
 ThurFiles Business Hosting	=> gid=10
@@ -31,7 +31,7 @@ ThurFiles Business Hosting	=> gid=10
         {include file='./check_configure_thurvserver.tpl'}
     {elseif $productinfo.gid === 5}
         {include file='./configure_thurvcloud.tpl'}
-    {elseif $productinfo.gid === 7}
+    {elseif $productinfo.gid === 7 || $productinfo.gid === 16}
         {include file='./configure_groupware.tpl'}
     {elseif $productinfo.gid === 15}
         {include file='./configure_webhosting.tpl'}

+ 3 - 2
configureproduct_default.tpl

@@ -65,13 +65,14 @@ var _localLang = {
                                         {*
                                             Product Icon set by its group id
                                             -----------------------------------------
-                                            Mailhosting                     => gid=1
+                                            ThurMail Private                => gid=1
                                             Thurfiles Private Hosting       => gid=2
                                             Nextcloud Private Hosting       => gid=3
                                             ThurVServer                     => gid=4
                                             ThurVCloud		            => gid=5
                                             Thurcert Domain Validated       => gid=6
-                                            Groupware Hosting               => gid=7
+                                            ThurMail Zimbra                 => gid=7
+                                            ThurMail Kerio                  => gid=16
                                             Mailhosting mit Nextcloud       => gid=8
                                             Nextcloud Business Hosting      => gid=9
                                             Thurfiles Business Hosting	    => gid=10

+ 2 - 2
layouts/head.tpl

@@ -2,9 +2,9 @@
 	<div>
 	{if $templatefile == "products"}
 		<div class="header-lined">
-			<h1>
+			<h3>
 				{$productGroup.name}
-			</h1>
+			</h3>
 			{if $productGroup.headline}
 				<h4 class="text-muted">{$productGroup.headline}</h4>
 			{/if}

+ 31 - 20
products.tpl

@@ -2,6 +2,13 @@
 
 <!-- Start of Template: orderforms/thurdata/products.tpl -->
 
+<div style="width: 100%;text-align:center; border-bottom:1px solid silver; color:gray;">
+    			<h1>Produkte bestellen</h1>
+
+</div>
+<br />
+
+
 	{if count($products) < 4}
 	<style rel="stylesheet" type="text/css">
 		@media (min-width: 1400px) {
@@ -31,33 +38,15 @@
 	{/if}
 
 
-{if file_exists("templates/orderforms/{$carttpl}/layouts/head.tpl")}
-	{include file="templates/orderforms/{$carttpl}/layouts/head.tpl"}
-{/if}
 	
 <div id="order-standard_cart">
 
     <div class="row">
 	
         <div class="col-md-12">
-			{if file_exists("templates/orderforms/{$carttpl}/layouts/head.tpl")}
-			{else}
-        		    <div class="header-lined">
-				<h1>
-					{$productGroup.name}
-				</h1>
-				{if $productGroup.headline}
-					<h4 class="text-muted">{$productGroup.headline}</h4>
-				{/if}
-				{if $productGroup.tagline}
-					<p class="text-muted">{$productGroup.tagline}</p>
-				{/if}
-			    </div>
-			{/if}
-			
-			<div class="TM-categories-options justify-content-center" style="padding-bottom:20px">
+        	<div class="TM-categories-options justify-content-center" style="padding-bottom:20px">
 				<form>
-					<select name="gid" id="gidForm" onchange="javascript:redirectToCartPage()" class="form-control">
+					Produktgruppe auswählen: <select name="gid" id="gidForm" onchange="javascript:redirectToCartPage()" class="form-control">
 						<optgroup label="Product Categories">
 							{foreach key=num item=productgroup from=$productgroups}
 								<option value="{$productgroup.routePath}"{if $gid eq $productgroup.gid} selected="selected"{/if}>{$productgroup.name}</option>
@@ -83,6 +72,28 @@
 				<br />
 				<br />
 			</div>
+
+
+{if file_exists("templates/orderforms/{$carttpl}/layouts/head.tpl")}
+	{include file="templates/orderforms/{$carttpl}/layouts/head.tpl"}
+{/if}
+
+
+			{if file_exists("templates/orderforms/{$carttpl}/layouts/head.tpl")}
+			{else}
+        		    <div class="header-lined">
+				<h2>
+					TEST {$productGroup.name}
+				</h2>
+				{if $productGroup.headline}
+					<h4 class="text-muted">{$productGroup.headline}</h4>
+				{/if}
+				{if $productGroup.tagline}
+					<p class="text-muted">{$productGroup.tagline}</p>
+				{/if}
+			    </div>
+			{/if}
+
 			
             {if $errormessage}
                 <div class="alert alert-danger">