configureproduct.tpl 1.9 KB

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