configureproduct.tpl 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {assign var="tdtemplate" value="{$orderform.path}/blubb.tpl"}
  2. {if file_exists($tdtemplate)}
  3. {debug}
  4. {else}
  5. <div class="row">
  6. Blubb {$tdtemplate}
  7. </div>
  8. {/if}
  9. {*
  10. route configureproduct by group id or name
  11. *}
  12. {*
  13. ThurMail Private => gid=1
  14. ThurFiles Private Hosting => gid=2
  15. Nextcloud Hosting => gid=3
  16. ThurVServer => gid=4
  17. ThurVCloud Private => gid=5
  18. ThurMail Zimbra => gid=7
  19. ThurMail Kerio => gid=16
  20. Mailhosting mit Nextcloud => gid=8
  21. ThurVCloud Business => gid=9
  22. ThurFiles Business Hosting => gid=10
  23. Website Builder => gid=19
  24. *}
  25. {if ($productinfo.paytype eq 'free') && in_array($productinfo.pid, $clientPids)}
  26. {include file="./nodoubletrial.tpl"}
  27. {else}
  28. {if $productinfo.gid === 1 || $productinfo.gid === 8}
  29. {include file='./configure_privat_mail.tpl'}
  30. {if $productinfo.gid === 19}
  31. {include file='./check_configure_kerio_privat_mail.tpl'}
  32. {else}
  33. {include file='./check_configure_privat_mail.tpl'}
  34. {/if}
  35. {elseif $productinfo.gid === 2}
  36. {include file='./configure_seafile.tpl'}
  37. {include file='./check_configure_seafile.tpl'}
  38. {elseif $productinfo.gid === 3}
  39. {include file='./configure_nextcloud.tpl'}
  40. {include file='./check_configure_nextcloud.tpl'}
  41. {elseif $productinfo.gid === 4}
  42. {include file='./configure_thurvserver.tpl'}
  43. {include file='./check_configure_thurvserver.tpl'}
  44. {elseif $productinfo.gid === 5}
  45. {include file='./configure_thurvcloud.tpl'}
  46. {elseif $productinfo.gid === 7 || $productinfo.gid === 16}
  47. {include file='./configure_groupware.tpl'}
  48. {elseif $productinfo.gid === 15}
  49. {include file='./configure_webhosting.tpl'}
  50. {elseif $productinfo.gid === 19}
  51. {include file='./configure_sitebuilder.tpl'}
  52. {else}
  53. {include file='./configureproduct_default.tpl'}
  54. {/if}
  55. {/if}
  56. {* {elseif $productinfo.gid === 3}
  57. {include file='./configure_nextcloud.tpl'}
  58. {include file='./check_configure_nextcloud.tpl'}
  59. *}