|
@@ -1,11 +1,10 @@
|
|
|
<!-- Start of Template configure_groupware.tpl -->
|
|
<!-- Start of Template configure_groupware.tpl -->
|
|
|
-
|
|
|
|
|
{include file="orderforms/{$carttpl}/common.tpl"}
|
|
{include file="orderforms/{$carttpl}/common.tpl"}
|
|
|
<script>
|
|
<script>
|
|
|
-var _localLang = {
|
|
|
|
|
- 'addToCart': '{$LANG.orderForm.addToCart|escape}',
|
|
|
|
|
- 'addedToCartRemove': '{$LANG.orderForm.addedToCartRemove|escape}'
|
|
|
|
|
-}
|
|
|
|
|
|
|
+ var _localLang = {
|
|
|
|
|
+ 'addToCart': '{$LANG.orderForm.addToCart|escape}',
|
|
|
|
|
+ 'addedToCartRemove': '{$LANG.orderForm.addedToCartRemove|escape}'
|
|
|
|
|
+ }
|
|
|
</script>
|
|
</script>
|
|
|
{if file_exists("templates/orderforms/{$carttpl}/layouts/head.tpl")}
|
|
{if file_exists("templates/orderforms/{$carttpl}/layouts/head.tpl")}
|
|
|
{include file="templates/orderforms/{$carttpl}/layouts/head.tpl"}
|
|
{include file="templates/orderforms/{$carttpl}/layouts/head.tpl"}
|
|
@@ -15,11 +14,10 @@ var _localLang = {
|
|
|
<div class="col-md-12">
|
|
<div class="col-md-12">
|
|
|
{if file_exists("templates/orderforms/{$carttpl}/layouts/head.tpl")}
|
|
{if file_exists("templates/orderforms/{$carttpl}/layouts/head.tpl")}
|
|
|
{else}
|
|
{else}
|
|
|
- <div class="header-lined">
|
|
|
|
|
- <h1>{$LANG.orderconfigure}</h1>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div class="header-lined">
|
|
|
|
|
+ <h1>{$LANG.orderconfigure}</h1>
|
|
|
|
|
+ </div>
|
|
|
{/if}
|
|
{/if}
|
|
|
-
|
|
|
|
|
{include file="orderforms/{$carttpl}/sidebar-categories-collapsed.tpl"}
|
|
{include file="orderforms/{$carttpl}/sidebar-categories-collapsed.tpl"}
|
|
|
</div>
|
|
</div>
|
|
|
<div class="col-md-12">
|
|
<div class="col-md-12">
|
|
@@ -30,60 +28,60 @@ var _localLang = {
|
|
|
<div class="col-md-8 col-lg-9">
|
|
<div class="col-md-8 col-lg-9">
|
|
|
<h3>{$LANG.orderForm.configureDesiredOptions}</h3>
|
|
<h3>{$LANG.orderForm.configureDesiredOptions}</h3>
|
|
|
<div class="panel panel-default">
|
|
<div class="panel panel-default">
|
|
|
- <div class="panel-body">
|
|
|
|
|
- <table width="100%" height="100%">
|
|
|
|
|
- <tr>
|
|
|
|
|
- <td valign="top" style="padding-right: 50px;">
|
|
|
|
|
- {$features = "<br />"|explode:$productinfo.description}
|
|
|
|
|
- <p class="product-title" style="margin-bottom: -2px; font-size:120%;"><strong><i>{$productinfo.group_name}</i> - {$productinfo.name}</strong></p>
|
|
|
|
|
|
|
+ <div class="panel-body">
|
|
|
|
|
+ <table width="100%" height="100%">
|
|
|
|
|
+ <tr>
|
|
|
|
|
+ <td valign="top" style="padding-right: 50px;">
|
|
|
|
|
+ {$features = "<br />"|explode:$productinfo.description}
|
|
|
|
|
+ <p class="product-title" style="margin-bottom: -2px; font-size:120%;"><strong><i>{$productinfo.group_name}</i> - {$productinfo.name}</strong></p>
|
|
|
|
|
+ {foreach $features as $feature}
|
|
|
|
|
+ {$featureParts = ":"|explode:$feature}
|
|
|
|
|
+ {$featureTrim = $feature|trim}
|
|
|
|
|
+ {if !$featureTrim|strstr:':' && $featureTrim ne '' && $featureTrim ne ' ' && $featureTrim ne ' '}
|
|
|
|
|
+ {$feature}<br />
|
|
|
|
|
+ {/if}
|
|
|
|
|
+ {/foreach}
|
|
|
|
|
+ <br />
|
|
|
|
|
+ <!-- {$productinfo.description} -->
|
|
|
|
|
+ <table class="plan-features{if $block.flisticon == "check-list"} check-list{elseif $block.flisticon == "check-circle"} check-circle{elseif $block.flisticon == "check-square"} check-square{elseif $block.flisticon == "arrows"} arrows{else}{/if}" style="padding-top:0px; padding-bottom: 15px;" id="PlanLists{$kk + 1}">
|
|
|
{foreach $features as $feature}
|
|
{foreach $features as $feature}
|
|
|
- {$featureParts = ":"|explode:$feature}
|
|
|
|
|
- {$featureTrim = $feature|trim}
|
|
|
|
|
- {if !$featureTrim|strstr:':' && $featureTrim ne '' && $featureTrim ne ' ' && $featureTrim ne ' '}
|
|
|
|
|
- {$feature}<br />
|
|
|
|
|
- {/if}
|
|
|
|
|
- {/foreach}
|
|
|
|
|
- <br />
|
|
|
|
|
- <!-- {$productinfo.description} -->
|
|
|
|
|
- <table class="plan-features{if $block.flisticon == "check-list"} check-list{elseif $block.flisticon == "check-circle"} check-circle{elseif $block.flisticon == "check-square"} check-square{elseif $block.flisticon == "arrows"} arrows{else}{/if}" style="padding-top:0px; padding-bottom: 15px;" id="PlanLists{$kk + 1}">
|
|
|
|
|
- {foreach $features as $feature}
|
|
|
|
|
- {$featureParts = ":"|explode:$feature}
|
|
|
|
|
- {if $featureParts|@count > 1}
|
|
|
|
|
- <tr>
|
|
|
|
|
|
|
+ {$featureParts = ":"|explode:$feature}
|
|
|
|
|
+ {if $featureParts|@count > 1}
|
|
|
|
|
+ <tr>
|
|
|
<td style="padding-right: 33px;"><b>{$featureParts[0]}:</b></td>
|
|
<td style="padding-right: 33px;"><b>{$featureParts[0]}:</b></td>
|
|
|
- <td>
|
|
|
|
|
- {if $featureParts[1]|trim == "Ja"} <i class="far fa-check-square" style="font-size:14px"></i>
|
|
|
|
|
- {elseif $featureParts[1]|trim == "Nein"} <i class="far fa-square" style="font-size:14px"></i>
|
|
|
|
|
- {elseif $featureParts[1]|trim == "Optional"} <i class="fas fa-plus" style="font-size:14px"></i>
|
|
|
|
|
- {else}
|
|
|
|
|
- {$featureParts[1]}
|
|
|
|
|
- {/if}
|
|
|
|
|
- </td>
|
|
|
|
|
- {/if}
|
|
|
|
|
- {/foreach}
|
|
|
|
|
- </table>
|
|
|
|
|
- </td>
|
|
|
|
|
- <td valign="top" style="text-align:left;">
|
|
|
|
|
- {*
|
|
|
|
|
- Product Icon set by its group id
|
|
|
|
|
- -----------------------------------------
|
|
|
|
|
- Mailhosting => gid=1
|
|
|
|
|
- Thurfiles Private Hosting => gid=2
|
|
|
|
|
- Nextcloud Private Hosting => gid=3
|
|
|
|
|
- ThurVServer => gid=4
|
|
|
|
|
- ThurVCloud => gid=5
|
|
|
|
|
- Groupware Hosting => gid=7
|
|
|
|
|
- Mailhosting mit Nextcloud => gid=8
|
|
|
|
|
- Nextcloud Business Hosting => gid=9
|
|
|
|
|
- Thurfiles Business Hosting => gid=10
|
|
|
|
|
- *}
|
|
|
|
|
- <img src="/templates/croster/thurdata/productgroups/{$productinfo.gid}.svg" class="img-fluid" style="height:150px;">
|
|
|
|
|
- </td>
|
|
|
|
|
- </tr>
|
|
|
|
|
- </table>
|
|
|
|
|
- <!-- <p class="product-title"><strong><i>{$productinfo.group_name}</i> - {$productinfo.name}</strong></p>
|
|
|
|
|
- <p>{$productinfo.description}</p> -->
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <td>
|
|
|
|
|
+ {if $featureParts[1]|trim == "Ja"} <i class="far fa-check-square" style="font-size:14px"></i>
|
|
|
|
|
+ {elseif $featureParts[1]|trim == "Nein"} <i class="far fa-square" style="font-size:14px"></i>
|
|
|
|
|
+ {elseif $featureParts[1]|trim == "Optional"} <i class="fas fa-plus" style="font-size:14px"></i>
|
|
|
|
|
+ {else}{$featureParts[1]}
|
|
|
|
|
+ {/if}
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ {/if}
|
|
|
|
|
+ {/foreach}
|
|
|
|
|
+ </table>
|
|
|
|
|
+ </td>
|
|
|
|
|
+ <td valign="top" style="text-align:left;">
|
|
|
|
|
+ {*
|
|
|
|
|
+ Product Icon set by its group id
|
|
|
|
|
+ -----------------------------------------
|
|
|
|
|
+ Mailhosting => gid=1
|
|
|
|
|
+ Thurfiles Private Hosting => gid=2
|
|
|
|
|
+ Nextcloud Private Hosting => gid=3
|
|
|
|
|
+ ThurVServer => gid=4
|
|
|
|
|
+ ThurVCloud => gid=5
|
|
|
|
|
+ Groupware Hosting => gid=7
|
|
|
|
|
+ Mailhosting mit Nextcloud => gid=8
|
|
|
|
|
+ Nextcloud Business Hosting => gid=9
|
|
|
|
|
+ Thurfiles Business Hosting => gid=10
|
|
|
|
|
+ *}
|
|
|
|
|
+ <img src="/templates/croster/thurdata/productgroups/{$productinfo.gid}.svg" class="img-fluid" style="height:150px;">
|
|
|
|
|
+ </td>
|
|
|
|
|
+ </tr>
|
|
|
|
|
+ </table>
|
|
|
|
|
+ <!-- <p class="product-title"><strong><i>{$productinfo.group_name}</i> - {$productinfo.name}</strong></p>
|
|
|
|
|
+ <p>{$productinfo.description}</p> -->
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="alert alert-danger w-hidden" role="alert" id="containerProductValidationErrors">
|
|
<div class="alert alert-danger w-hidden" role="alert" id="containerProductValidationErrors">
|
|
|
<p>{$LANG.orderForm.correctErrors}:</p>
|
|
<p>{$LANG.orderForm.correctErrors}:</p>
|