edit.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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_image')}:</label>
  76. <div class="col-xs-12 col-sm-8">
  77. <div class="input-group">
  78. <input id="c-wechat_qrcode_image" class="form-control" size="50" name="row[wechat_qrcode_image]" type="text" value="{$row.wechat_qrcode_image|htmlentities}">
  79. <div class="input-group-addon no-border no-padding">
  80. <span><button type="button" id="faupload-wechat_qrcode_image" class="btn btn-danger faupload" data-input-id="c-wechat_qrcode_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-wechat_qrcode_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  81. <span><button type="button" id="fachoose-wechat_qrcode_image" class="btn btn-primary fachoose" data-input-id="c-wechat_qrcode_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  82. </div>
  83. <span class="msg-box n-right" for="c-wechat_qrcode_image"></span>
  84. </div>
  85. <ul class="row list-inline faupload-preview" id="p-wechat_qrcode_image"></ul>
  86. </div>
  87. </div>
  88. <div class="form-group">
  89. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_weixin_open')}:</label>
  90. <div class="col-xs-12 col-sm-8">
  91. <select id="c-pay_weixin_open" class="form-control selectpicker" name="row[pay_weixin_open]">
  92. {foreach name="payWeixinOpenList" item="vo"}
  93. <option value="{$key}" {in name="key" value="$row.pay_weixin_open"}selected{/in}>{$vo}</option>
  94. {/foreach}
  95. </select>
  96. </div>
  97. </div>
  98. <div class="form-group">
  99. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_weixin_mchid')}:</label>
  100. <div class="col-xs-12 col-sm-8">
  101. <input id="c-pay_weixin_mchid" class="form-control" name="row[pay_weixin_mchid]" type="text" value="{$row.pay_weixin_mchid|htmlentities}">
  102. </div>
  103. </div>
  104. <div class="form-group">
  105. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_weixin_client_certfile')}:</label>
  106. <div class="col-xs-12 col-sm-8">
  107. <div class="input-group">
  108. <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}">
  109. <div class="input-group-addon no-border no-padding">
  110. <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>
  111. <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>
  112. </div>
  113. <span class="msg-box n-right" for="c-pay_weixin_client_certfile"></span>
  114. </div>
  115. <ul class="row list-inline faupload-preview" id="p-pay_weixin_client_certfile"></ul>
  116. </div>
  117. </div>
  118. <div class="form-group">
  119. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_weixin_client_keyfile')}:</label>
  120. <div class="col-xs-12 col-sm-8">
  121. <div class="input-group">
  122. <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}">
  123. <div class="input-group-addon no-border no-padding">
  124. <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>
  125. <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>
  126. </div>
  127. <span class="msg-box n-right" for="c-pay_weixin_client_keyfile"></span>
  128. </div>
  129. <ul class="row list-inline faupload-preview" id="p-pay_weixin_client_keyfile"></ul>
  130. </div>
  131. </div>
  132. <div class="form-group">
  133. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_weixin_key')}:</label>
  134. <div class="col-xs-12 col-sm-8">
  135. <input id="c-pay_weixin_key" class="form-control" name="row[pay_weixin_key]" type="text" value="{$row.pay_weixin_key|htmlentities}">
  136. </div>
  137. </div>
  138. <div class="form-group">
  139. <label class="control-label col-xs-12 col-sm-2">{:__('Routine_appid')}:</label>
  140. <div class="col-xs-12 col-sm-8">
  141. <input id="c-routine_appid" class="form-control" name="row[routine_appid]" type="text" value="{$row.routine_appid|htmlentities}">
  142. </div>
  143. </div>
  144. <div class="form-group">
  145. <label class="control-label col-xs-12 col-sm-2">{:__('Routine_appsecret')}:</label>
  146. <div class="col-xs-12 col-sm-8">
  147. <input id="c-routine_appsecret" class="form-control" name="row[routine_appsecret]" type="text" value="{$row.routine_appsecret|htmlentities}">
  148. </div>
  149. </div>
  150. <div class="form-group">
  151. <label class="control-label col-xs-12 col-sm-2">{:__('Routine_qrcode_image')}:</label>
  152. <div class="col-xs-12 col-sm-8">
  153. <div class="input-group">
  154. <input id="c-routine_qrcode_image" class="form-control" size="50" name="row[routine_qrcode_image]" type="text" value="{$row.routine_qrcode_image|htmlentities}">
  155. <div class="input-group-addon no-border no-padding">
  156. <span><button type="button" id="faupload-routine_qrcode_image" class="btn btn-danger faupload" data-input-id="c-routine_qrcode_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-routine_qrcode_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  157. <span><button type="button" id="fachoose-routine_qrcode_image" class="btn btn-primary fachoose" data-input-id="c-routine_qrcode_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  158. </div>
  159. <span class="msg-box n-right" for="c-routine_qrcode_image"></span>
  160. </div>
  161. <ul class="row list-inline faupload-preview" id="p-routine_qrcode_image"></ul>
  162. </div>
  163. </div>
  164. <div class="form-group">
  165. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_routine_open')}:</label>
  166. <div class="col-xs-12 col-sm-8">
  167. <select id="c-pay_routine_open" class="form-control selectpicker" name="row[pay_routine_open]">
  168. {foreach name="payRoutineOpenList" item="vo"}
  169. <option value="{$key}" {in name="key" value="$row.pay_routine_open"}selected{/in}>{$vo}</option>
  170. {/foreach}
  171. </select>
  172. </div>
  173. </div>
  174. <div class="form-group">
  175. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_routine_mchid')}:</label>
  176. <div class="col-xs-12 col-sm-8">
  177. <input id="c-pay_routine_mchid" class="form-control" name="row[pay_routine_mchid]" type="text" value="{$row.pay_routine_mchid|htmlentities}">
  178. </div>
  179. </div>
  180. <div class="form-group">
  181. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_routine_key')}:</label>
  182. <div class="col-xs-12 col-sm-8">
  183. <input id="c-pay_routine_key" class="form-control" name="row[pay_routine_key]" type="text" value="{$row.pay_routine_key|htmlentities}">
  184. </div>
  185. </div>
  186. <div class="form-group">
  187. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_routine_client_cert')}:</label>
  188. <div class="col-xs-12 col-sm-8">
  189. <input id="c-pay_routine_client_cert" class="form-control" name="row[pay_routine_client_cert]" type="text" value="{$row.pay_routine_client_cert|htmlentities}">
  190. </div>
  191. </div>
  192. <div class="form-group">
  193. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_routine_client_key')}:</label>
  194. <div class="col-xs-12 col-sm-8">
  195. <input id="c-pay_routine_client_key" class="form-control" name="row[pay_routine_client_key]" type="text" value="{$row.pay_routine_client_key|htmlentities}">
  196. </div>
  197. </div>
  198. <div class="form-group">
  199. <label class="control-label col-xs-12 col-sm-2">{:__('Share_title')}:</label>
  200. <div class="col-xs-12 col-sm-8">
  201. <input id="c-share_title" class="form-control" name="row[share_title]" type="text" value="{$row.share_title|htmlentities}">
  202. </div>
  203. </div>
  204. <div class="form-group">
  205. <label class="control-label col-xs-12 col-sm-2">{:__('Share_info')}:</label>
  206. <div class="col-xs-12 col-sm-8">
  207. <input id="c-share_info" class="form-control" name="row[share_info]" type="text" value="{$row.share_info|htmlentities}">
  208. </div>
  209. </div>
  210. <div class="form-group">
  211. <label class="control-label col-xs-12 col-sm-2">{:__('Wx_open_platform')}:</label>
  212. <div class="col-xs-12 col-sm-8">
  213. <select id="c-wx_open_platform" class="form-control selectpicker" name="row[wx_open_platform]">
  214. {foreach name="wxOpenPlatformList" item="vo"}
  215. <option value="{$key}" {in name="key" value="$row.wx_open_platform"}selected{/in}>{$vo}</option>
  216. {/foreach}
  217. </select>
  218. </div>
  219. </div>
  220. <div class="form-group">
  221. <label class="control-label col-xs-12 col-sm-2">{:__('Wx_open_appid')}:</label>
  222. <div class="col-xs-12 col-sm-8">
  223. <input id="c-wx_open_appid" class="form-control" name="row[wx_open_appid]" type="text" value="{$row.wx_open_appid|htmlentities}">
  224. </div>
  225. </div>
  226. <div class="form-group">
  227. <label class="control-label col-xs-12 col-sm-2">{:__('Wx_open_appsecret')}:</label>
  228. <div class="col-xs-12 col-sm-8">
  229. <input id="c-wx_open_appsecret" class="form-control" name="row[wx_open_appsecret]" type="text" value="{$row.wx_open_appsecret|htmlentities}">
  230. </div>
  231. </div>
  232. <div class="form-group layer-footer">
  233. <label class="control-label col-xs-12 col-sm-2"></label>
  234. <div class="col-xs-12 col-sm-8">
  235. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  236. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  237. </div>
  238. </div>
  239. </form>