edit.html 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('Company_name')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-company_name" data-rule="required" class="form-control" name="row[company_name]" type="text" value="{$row.company_name|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Company_tel')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-company_tel" data-rule="required" class="form-control" name="row[company_tel]" type="text" value="{$row.company_tel|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Sys_appid')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-sys_appid" class="form-control" name="row[sys_appid]" type="text" value="{$row.sys_appid|htmlentities}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Sys_appsecret')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-sys_appsecret" class="form-control" name="row[sys_appsecret]" type="text" value="{$row.sys_appsecret|htmlentities}">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_appid')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-wechat_appid" class="form-control" name="row[wechat_appid]" type="text" value="{$row.wechat_appid|htmlentities}">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_appsecret')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-wechat_appsecret" class="form-control" name="row[wechat_appsecret]" type="text" value="{$row.wechat_appsecret|htmlentities}">
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_token')}:</label>
  40. <div class="col-xs-12 col-sm-8">
  41. <input id="c-wechat_token" class="form-control" name="row[wechat_token]" type="text" value="{$row.wechat_token|htmlentities}">
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_encode')}:</label>
  46. <div class="col-xs-12 col-sm-8">
  47. <select id="c-wechat_encode" class="form-control selectpicker" name="row[wechat_encode]">
  48. {foreach name="wechatEncodeList" item="vo"}
  49. <option value="{$key}" {in name="key" value="$row.wechat_encode"}selected{/in}>{$vo}</option>
  50. {/foreach}
  51. </select>
  52. </div>
  53. </div>
  54. <div class="form-group">
  55. <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_encodingaeskey')}:</label>
  56. <div class="col-xs-12 col-sm-8">
  57. <input id="c-wechat_encodingaeskey" class="form-control" name="row[wechat_encodingaeskey]" type="text" value="{$row.wechat_encodingaeskey|htmlentities}">
  58. </div>
  59. </div>
  60. <div class="form-group">
  61. <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_share_image')}:</label>
  62. <div class="col-xs-12 col-sm-8">
  63. <div class="input-group">
  64. <input id="c-wechat_share_image" class="form-control" size="50" name="row[wechat_share_image]" type="text" value="{$row.wechat_share_image|htmlentities}">
  65. <div class="input-group-addon no-border no-padding">
  66. <span><button type="button" id="faupload-wechat_share_image" class="btn btn-danger faupload" data-input-id="c-wechat_share_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-wechat_share_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  67. <span><button type="button" id="fachoose-wechat_share_image" class="btn btn-primary fachoose" data-input-id="c-wechat_share_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  68. </div>
  69. <span class="msg-box n-right" for="c-wechat_share_image"></span>
  70. </div>
  71. <ul class="row list-inline faupload-preview" id="p-wechat_share_image"></ul>
  72. </div>
  73. </div>
  74. <div class="form-group">
  75. <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_qrcode')}:</label>
  76. <div class="col-xs-12 col-sm-8">
  77. <input id="c-wechat_qrcode" class="form-control" name="row[wechat_qrcode]" type="text" value="{$row.wechat_qrcode|htmlentities}">
  78. </div>
  79. </div>
  80. <div class="form-group">
  81. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_weixin_open')}:</label>
  82. <div class="col-xs-12 col-sm-8">
  83. <select id="c-pay_weixin_open" class="form-control selectpicker" name="row[pay_weixin_open]">
  84. {foreach name="payWeixinOpenList" item="vo"}
  85. <option value="{$key}" {in name="key" value="$row.pay_weixin_open"}selected{/in}>{$vo}</option>
  86. {/foreach}
  87. </select>
  88. </div>
  89. </div>
  90. <div class="form-group">
  91. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_weixin_mchid')}:</label>
  92. <div class="col-xs-12 col-sm-8">
  93. <input id="c-pay_weixin_mchid" class="form-control" name="row[pay_weixin_mchid]" type="text" value="{$row.pay_weixin_mchid|htmlentities}">
  94. </div>
  95. </div>
  96. <div class="form-group">
  97. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_weixin_client_certfile')}:</label>
  98. <div class="col-xs-12 col-sm-8">
  99. <div class="input-group">
  100. <input id="c-pay_weixin_client_certfile" class="form-control" size="50" name="row[pay_weixin_client_certfile]" type="text" value="{$row.pay_weixin_client_certfile|htmlentities}">
  101. <div class="input-group-addon no-border no-padding">
  102. <span><button type="button" id="faupload-pay_weixin_client_certfile" class="btn btn-danger faupload" data-input-id="c-pay_weixin_client_certfile" data-multiple="false" data-preview-id="p-pay_weixin_client_certfile"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  103. <span><button type="button" id="fachoose-pay_weixin_client_certfile" class="btn btn-primary fachoose" data-input-id="c-pay_weixin_client_certfile" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  104. </div>
  105. <span class="msg-box n-right" for="c-pay_weixin_client_certfile"></span>
  106. </div>
  107. <ul class="row list-inline faupload-preview" id="p-pay_weixin_client_certfile"></ul>
  108. </div>
  109. </div>
  110. <div class="form-group">
  111. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_weixin_client_keyfile')}:</label>
  112. <div class="col-xs-12 col-sm-8">
  113. <div class="input-group">
  114. <input id="c-pay_weixin_client_keyfile" class="form-control" size="50" name="row[pay_weixin_client_keyfile]" type="text" value="{$row.pay_weixin_client_keyfile|htmlentities}">
  115. <div class="input-group-addon no-border no-padding">
  116. <span><button type="button" id="faupload-pay_weixin_client_keyfile" class="btn btn-danger faupload" data-input-id="c-pay_weixin_client_keyfile" data-multiple="false" data-preview-id="p-pay_weixin_client_keyfile"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  117. <span><button type="button" id="fachoose-pay_weixin_client_keyfile" class="btn btn-primary fachoose" data-input-id="c-pay_weixin_client_keyfile" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  118. </div>
  119. <span class="msg-box n-right" for="c-pay_weixin_client_keyfile"></span>
  120. </div>
  121. <ul class="row list-inline faupload-preview" id="p-pay_weixin_client_keyfile"></ul>
  122. </div>
  123. </div>
  124. <div class="form-group">
  125. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_weixin_key')}:</label>
  126. <div class="col-xs-12 col-sm-8">
  127. <input id="c-pay_weixin_key" class="form-control" name="row[pay_weixin_key]" type="text" value="{$row.pay_weixin_key|htmlentities}">
  128. </div>
  129. </div>
  130. <div class="form-group layer-footer">
  131. <label class="control-label col-xs-12 col-sm-2"></label>
  132. <div class="col-xs-12 col-sm-8">
  133. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  134. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  135. </div>
  136. </div>
  137. </form>