configureproduct.tpl 2.1 KB

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