configureproduct.tpl 1.8 KB

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