clientareadomainaddons.tpl 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {*
  2. **********************************************************
  3. * Developed by: Team Theme Metro
  4. * Website: http://www.thememetro.com
  5. **********************************************************
  6. *}
  7. <form method="post" action="{$smarty.server.PHP_SELF}?action=domainaddons" class="form-horizontal">
  8. <input type="hidden" name="{$action}" value="{$addon}">
  9. <input type="hidden" name="id" value="{$domainid}">
  10. <input type="hidden" name="confirm" value="1">
  11. <input type="hidden" name="token" value="{$token}">
  12. {if $action eq "buy"}
  13. <input type="hidden" name="buy" value="{$addon}">
  14. {if $addon eq "dnsmanagement"}
  15. <h4>{$LANG.domainaddonsdnsmanagement}</h4>
  16. <p class="desc">{$LANG.domainaddonsdnsmanagementinfo}</p>
  17. {include file="$template/includes/alert.tpl" type="info" msg="Domain: <strong>{$domain}</strong>" textcenter=true}
  18. <div class="form-actions text-center">
  19. <input type="submit" name="enable" value="{$LANG.domainaddonsbuynow} {$addonspricing.dnsmanagement}{$LANG.domainaddonsperyear}" class="btn btn-primary" />
  20. </div>
  21. {elseif $addon eq "emailfwd"}
  22. <h4>{$LANG.domainemailforwarding}</h4>
  23. <p class="desc">{$LANG.domainaddonsemailforwardinginfo}</p>
  24. {include file="$template/includes/alert.tpl" type="info" msg="Domain: <strong>{$domain}</strong>" textcenter=true}
  25. <div class="form-actions text-center">
  26. <input type="submit" name="enable" value="{$LANG.domainaddonsbuynow} {$addonspricing.emailforwarding}{$LANG.domainaddonsperyear}" class="btn btn-primary" />
  27. </div>
  28. {elseif $addon eq "idprotect"}
  29. <h4>{$LANG.domainidprotection}</h4>
  30. <p class="desc">{$LANG.domainaddonsidprotectioninfo}</p>
  31. {include file="$template/includes/alert.tpl" type="info" msg="Domain: <strong>{$domain}</strong>" textcenter=true}
  32. <div class="form-actions text-center">
  33. <input type="submit" name="enable" value="{$LANG.domainaddonsbuynow} {$addonspricing.idprotection}{$LANG.domainaddonsperyear}" class="btn btn-primary" />
  34. </div>
  35. {/if}
  36. {elseif $action eq "disable"}
  37. <input type="hidden" name="disable" value="{$addon}">
  38. {if $addon eq "dnsmanagement"}
  39. <h4>{$LANG.domainaddonsdnsmanagement}</h4>
  40. {elseif $addon eq "emailfwd"}
  41. <h4>{$LANG.domainemailforwarding}</h4>
  42. {elseif $addon eq "idprotect"}
  43. <h4>{$LANG.domainidprotection}</h4>
  44. {/if}
  45. {include file="$template/includes/alert.tpl" type="info" msg="Domain: <strong>{$domain}</strong>" textcenter=true}
  46. {if $success}
  47. {include file="$template/includes/alert.tpl" type="success" msg=$LANG.domainaddonscancelsuccess textcenter=true}
  48. {elseif $error}
  49. {include file="$template/includes/alert.tpl" type="error" msg=$LANG.domainaddonscancelfailed textcenter=true}
  50. {else}
  51. <p class="desc text-center">
  52. {$LANG.domainaddonscancelareyousure}
  53. </p>
  54. <div class="form-actions text-center">
  55. <input type="submit" name="enable" value="{$LANG.domainaddonsconfirm}" class="btn btn-danger" />
  56. </div>
  57. {/if}
  58. {/if}
  59. </form>
  60. <a href="clientarea.php?action=domaindetails&id={$domainid}" class="btn btn-default">
  61. {lang key='clientareabacklink'}
  62. </a>