configureproduct.tpl 2.2 KB

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