|
|
@@ -1,104 +1,90 @@
|
|
|
{include file="orderforms/{$carttpl}/common.tpl"}
|
|
|
-
|
|
|
<!-- Start of Template: configure_thurvserver.tpl -->
|
|
|
-
|
|
|
<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>
|
|
|
-
|
|
|
{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>{$LANG.orderconfigure}</h1>
|
|
|
- </div>
|
|
|
+ <div class="header-lined">
|
|
|
+ <h1>{$LANG.orderconfigure}</h1>
|
|
|
+ </div>
|
|
|
{/if}
|
|
|
-
|
|
|
{include file="orderforms/{$carttpl}/sidebar-categories-collapsed.tpl"}
|
|
|
</div>
|
|
|
-
|
|
|
<div class="col-md-12">
|
|
|
-
|
|
|
<form id="frmConfigureProduct">
|
|
|
<input type="hidden" name="configure" value="true" />
|
|
|
<input type="hidden" name="i" value="{$i}" />
|
|
|
-
|
|
|
<div class="row ajaxcart_cont">
|
|
|
<div class="col-md-8 col-lg-9">
|
|
|
-
|
|
|
<h3>{$LANG.orderForm.configureDesiredOptions}</h3>
|
|
|
-
|
|
|
<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}
|
|
|
- {$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>
|
|
|
- {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>
|
|
|
- </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>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-
|
|
|
<div class="alert alert-danger w-hidden" role="alert" id="containerProductValidationErrors">
|
|
|
<p>{$LANG.orderForm.correctErrors}:</p>
|
|
|
<ul id="containerProductValidationErrorsList"></ul>
|
|
|
</div>
|
|
|
-
|
|
|
{if $pricing.type eq "recurring"}
|
|
|
<div class="field-container">
|
|
|
<div class="form-group">
|
|
|
@@ -138,14 +124,11 @@ var _localLang = {
|
|
|
</div>
|
|
|
</div>
|
|
|
{/if}
|
|
|
-
|
|
|
{if count($metrics) > 0}
|
|
|
<div class="sub-heading">
|
|
|
<span>{$LANG.metrics.title}</span>
|
|
|
</div>
|
|
|
-
|
|
|
<p>{$LANG.metrics.explanation}</p>
|
|
|
-
|
|
|
<ul>
|
|
|
{foreach $metrics as $metric}
|
|
|
<li>
|
|
|
@@ -164,17 +147,13 @@ var _localLang = {
|
|
|
</li>
|
|
|
{/foreach}
|
|
|
</ul>
|
|
|
-
|
|
|
<br>
|
|
|
{/if}
|
|
|
-
|
|
|
{if $productinfo.type eq "server"}
|
|
|
<div class="sub-heading">
|
|
|
<span>{$LANG.cartconfigserver}</span>
|
|
|
</div>
|
|
|
-
|
|
|
<div class="field-container">
|
|
|
-
|
|
|
<div class="row">
|
|
|
<div class="col-sm-6">
|
|
|
<div class="form-group">
|
|
|
@@ -189,7 +168,6 @@ var _localLang = {
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
<div class="row">
|
|
|
<div class="col-sm-6">
|
|
|
<div class="form-group">
|
|
|
@@ -204,10 +182,8 @@ var _localLang = {
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
{/if}
|
|
|
-
|
|
|
{if $configurableoptions}
|
|
|
<div class="sub-heading">
|
|
|
<span>{$LANG.orderconfigpackage}</span>
|
|
|
@@ -324,7 +300,6 @@ var _localLang = {
|
|
|
</div>
|
|
|
|
|
|
{/if}
|
|
|
-
|
|
|
{if $customfields}
|
|
|
<div class="sub-heading">
|
|
|
<span>{$LANG.orderadditionalrequiredinfo}</span>
|
|
|
@@ -399,20 +374,15 @@ var _localLang = {
|
|
|
</div>
|
|
|
</div>
|
|
|
{/if}
|
|
|
-
|
|
|
{if $addons || count($addonsPromoOutput) > 0}
|
|
|
-
|
|
|
<div class="sub-heading">
|
|
|
<span>{$LANG.cartavailableaddons}</span>
|
|
|
</div>
|
|
|
-
|
|
|
{foreach $addonsPromoOutput as $output}
|
|
|
<div>
|
|
|
{$output}
|
|
|
</div>
|
|
|
{/foreach}
|
|
|
-
|
|
|
-
|
|
|
<div class="row addon-products">
|
|
|
{foreach $addons as $addon}
|
|
|
<div class="col-sm-{if count($addons) > 1}6{else}12{/if}"">
|
|
|
@@ -420,21 +390,21 @@ var _localLang = {
|
|
|
<div class="panel-body">
|
|
|
<input type="checkbox" name="addons[{$addon.id}]"{if $addon.status} checked{/if} />
|
|
|
<span class="panel-addon-name">{$addon.name}</span>
|
|
|
- <span class="panel-addon-price">{$addon.pricing}</span>
|
|
|
+ <span class="panel-addon-price">{$addon.pricing}</span>
|
|
|
<p class="text-muted">{$addon.description}</p>
|
|
|
</div>
|
|
|
+ {if $addon.allowsQuantity === 2}
|
|
|
+ {include file="templates/orderforms/{$carttpl}/addon-hint.tpl"}
|
|
|
+ {/if}
|
|
|
</div>
|
|
|
</div>
|
|
|
{/foreach}
|
|
|
</div>
|
|
|
-
|
|
|
{/if}
|
|
|
-
|
|
|
<div class="alert alert-warning text-center">
|
|
|
<i class="fas fa-question-circle"></i>
|
|
|
{$LANG.orderForm.haveQuestionsContact} <a href="contact.php" target="_blank" class="alert-link">{$LANG.orderForm.haveQuestionsClickHere}</a>
|
|
|
</div>
|
|
|
-
|
|
|
</div>
|
|
|
{include file="templates/orderforms/{$carttpl}/sidebar-price.tpl"}
|
|
|
</div>
|
|
|
@@ -442,20 +412,14 @@ var _localLang = {
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
{if file_exists("templates/orderforms/{$carttpl}/layouts/foot.tpl")}
|
|
|
{include file="templates/orderforms/{$carttpl}/layouts/foot.tpl"}
|
|
|
{/if}
|
|
|
-
|
|
|
-
|
|
|
<script language="javascript">
|
|
|
recalctotals();
|
|
|
</script>
|
|
|
-
|
|
|
-
|
|
|
<script type="text/javascript" src="{$WEB_ROOT}/templates/orderforms/{$carttpl}/js/ResizeSensor.js"></script>
|
|
|
<script type="text/javascript" src="{$WEB_ROOT}/templates/orderforms/{$carttpl}/js/jquery.sticky-sidebar.min.js"></script>
|
|
|
-
|
|
|
<script>
|
|
|
jQuery('#sidebar').stickySidebar({
|
|
|
topSpacing: 60,
|
|
|
@@ -465,5 +429,3 @@ var _localLang = {
|
|
|
innerWrapperSelector: '.sidebar__inner'
|
|
|
});
|
|
|
</script>
|
|
|
-
|
|
|
-<!-- End of Template: configure_thurvserver.tpl -->
|