人人商城

tplnotice.html 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. {php $newUI = true;}
  2. {template 'common/header'}
  3. <ul class="nav nav-tabs">
  4. <li{if $do == 'set'} class="active"{/if}><a href="{php echo url('mc/tplnotice')}"><i class="icon-group"></i> 设置通知模板</a></li>
  5. </ul>
  6. {if $_W['account']['level'] < ACCOUNT_SUBSCRIPTION_VERIFY}
  7. <div class="alert alert-danger">
  8. <i class="fa fa-info-circle"></i> 由于您的公众号属于非认证帐号,无使用该功能的权限,请在微信公众平台进行“微信认证”
  9. </div>
  10. {else}
  11. {if $_W['account']['level'] == ACCOUNT_SUBSCRIPTION_VERIFY}
  12. <div class="alert alert-info">
  13. <i class="fa fa-info-circle"></i> 系统将通过“客服消息”接口给会员发送信息.使用客服消息发送通知,要求:粉丝过去的“48小时内”必须有过交互,否则将不能发送通知<br>
  14. </div>
  15. {else}
  16. <div class="alert alert-info">
  17. <i class="fa fa-info-circle"></i> 您可以为通知设置个性化通知模板<br>
  18. </div>
  19. {/if}
  20. <div class="clearfix">
  21. <form action="{php echo url('mc/tplnotice');}" method="post" class="form-horizontal">
  22. <div class="panel panel-default">
  23. <div class="panel-heading">
  24. 设置通知模板
  25. </div>
  26. <div class="panel-body">
  27. {loop $tpls $key $tpl}
  28. {if $_W['account']['level'] == ACCOUNT_SERVICE_VERIFY}
  29. <label class="col-xs-12 col-sm-3 col-md-2 control-label">{$tpl['name']}模板</label>
  30. <div class="col-sm-9 col-xs-12">
  31. <input type="text" class="form-control" name="{$key}[tpl]" value="{$set[$key]['tpl']}"/>
  32. <span class="help-block">{$tpl['help']}</span>
  33. </div>
  34. {/if}
  35. {/loop}
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <div class="col-sm-9 col-xs-12">
  40. <input type="hidden" name="token" value="{$_W['token']}"/>
  41. <input type="submit" name="submit" value="提交" class="btn btn-primary"/>
  42. </div>
  43. </div>
  44. </form>
  45. </div>
  46. {/if}
  47. {template 'common/footer'}