人人商城

reply-setting.html 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {template 'common/header'}
  2. <div class="we7-page-title">
  3. 自动回复
  4. </div>
  5. <ul class="we7-page-tab">
  6. <li><a href="{url 'platform/reply' array('m' => 'keyword')}">关键字自动回复 </a></li>
  7. <li><a href="{url 'platform/reply' array('m' => 'special')}">非文字自动回复</a></li>
  8. <li><a href="{url 'platform/reply' array('m' => 'welcome')}">首次访问自动回复</a></li>
  9. <li><a href="{url 'platform/reply' array('m' => 'default')}">默认回复</a></li>
  10. {if !in_array($_W['account']['type'], array(ACCOUNT_TYPE_XZAPP_NORMAL, ACCOUNT_TYPE_XZAPP_AUTH))}
  11. <li><a href="{url 'platform/reply' array('m' => 'service')}">常用服务</a></li>
  12. <li><a href="{url 'platform/reply' array('m' => 'userapi')}">自定义接口回复</a></li>
  13. {/if}
  14. <li class="active"><a href="{url 'profile/reply-setting'}">回复设置</a></li>
  15. </ul>
  16. <div class="alert alert-info">
  17. <p><i class="fa fa-exclamation-circle"></i> 设置回复次数,则对于每一个用户,在当天内,某一个关键字连续并重复回复超过设置次数后,自动回复失效;</p>
  18. <p><i class="fa fa-exclamation-circle"></i> 为0表示不限制,最大可设置50。</p>
  19. </div>
  20. <form class="form-horizontal form" action="{php echo url('profile/reply-setting/post', array('m' => $m))}" method="post" enctype="multipart/form-data">
  21. <table class="table we7-table table-hover table-form we7-form">
  22. <col width="150px " />
  23. <col />
  24. <tr>
  25. <th class="text-left" colspan="2">回复设置</th>
  26. </tr>
  27. <tr>
  28. <td class="table-label">设置回复次数</td>
  29. <td>
  30. <input type="number" name="times" min="0" max="50" value="{$times}" class="form-control">
  31. </td>
  32. </tr>
  33. </table>
  34. <input type="submit" name="submit" value="保存" class="btn btn-primary" style="padding: 6px 50px;"/>
  35. <input type="hidden" name="token" value="{$_W['token']}">
  36. <input type="hidden" name="m" value="{$m}">
  37. </form>
  38. {template 'common/footer'}