paymentsetup.tpl 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <script type='text/javascript' src="../js/buycourses.js"></script>
  2. <link rel="stylesheet" type="text/css" href="../resources/css/style.css"/>
  3. {{ curency_form }}
  4. <p class="alert alert-info">
  5. {{ 'PluginInstruction'|get_plugin_lang('BuyCoursesPlugin') }}
  6. <a href="{{ _p.web_main }}admin/configure_plugin.php?name=buycourses">{{ 'ClickHere'|get_plugin_lang('BuyCoursesPlugin') }}</a>
  7. </p>
  8. {% if paypal_enable == "true" %}
  9. <div class="panel panel-default">
  10. <div class="panel-heading">
  11. <h3 class="panel-title">{{ 'PayPalConfig'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
  12. </div>
  13. <div class="panel-body">
  14. <div class="row">
  15. <div class="col-md-5">
  16. <p>{{ 'InfoApiCredentials'|get_plugin_lang('BuyCoursesPlugin') }}</p>
  17. <ul>
  18. <li>{{ 'InfoApiStepOne'|get_plugin_lang('BuyCoursesPlugin') }}</li>
  19. <li>{{ 'InfoApiStepTwo'|get_plugin_lang('BuyCoursesPlugin') }}</li>
  20. <li>{{ 'InfoApiStepThree'|get_plugin_lang('BuyCoursesPlugin') }}</li>
  21. </ul>
  22. </div>
  23. <div class="col-md-7">
  24. {{ paypal_form }}
  25. </div>
  26. </div>
  27. </div>
  28. </div>
  29. {% endif %}
  30. {% if transfer_enable == "true" %}
  31. <div class="panel panel-default">
  32. <div class="panel-heading">
  33. <h3 class="panel-title">{{ 'TransfersConfig'|get_plugin_lang('BuyCoursesPlugin') }}</h3>
  34. </div>
  35. <div class="panel-body">
  36. <div class="row">
  37. <div class="col-md-5">
  38. {{ transfer_form }}
  39. </div>
  40. <div class="col-md-7">
  41. <div class="table-responsive">
  42. <table class="table table-striped table-hover">
  43. <thead>
  44. <tr>
  45. <th>{{ 'Name'|get_lang }}</th>
  46. <th>{{ 'BankAccount'|get_plugin_lang('BuyCoursesPlugin') }}</th>
  47. <th>{{ 'SWIFT'|get_lang }}</th>
  48. <th>{{ 'Actions'|get_lang }}</th>
  49. </tr>
  50. </thead>
  51. <tbody>
  52. {% for account in transfer_accounts %}
  53. <tr>
  54. <td>{{ account.name }}</td>
  55. <td>{{ account.account }}</td>
  56. <td>{{ account.swift }}</td>
  57. <td>
  58. <a href="{{ _p.web_self ~ '?' ~ {'action':'delete_taccount', 'id': account.id}|url_encode() }}" class="btn btn-danger btn-sm">
  59. <em class="fa fa-remove"></em> {{ 'Delete'|get_lang }}
  60. </a>
  61. </td>
  62. </tr>
  63. {% endfor %}
  64. </tbody>
  65. </table>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. {% endif %}