1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- {template "common/header"}
- <div class="clearfix">
- <h5 class="page-header">安装 {if $action == 'module'}{$module['title']}{else}模板{/if}</h5>
- <div class="alert alert-info">
- 您正在安装 {if $action == 'module'}{$module['title']} 模块{else}模板{/if}. 请选择哪些公众号服务套餐组可使用
- {if $action == 'module'}{$module['title']} 功能{else}该模板{/if} .
- </div>
- <div class="alert alert-info">
- 默认将{if $action == 'module'}{$module['title']} 模块{else}模板{/if}加入<span class="label label-info">所有服务</span>套餐服务
- </div>
- <form class="form-horizontal form we7-form" action="" method="post" id="form1">
- <h5 class="page-header">可用的公众号服务套餐组 <small>这里来定义哪些公众号服务套餐组可使用 {if $action == 'module'}{$module['title']} 功能{else}该模板{/if}</small></h5>
- <div class="form-group">
- <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">公众号服务套餐组</label>
- <div class="col-sm-10 col-xs-12">
- {loop $module_group $group}
- <div class="checkbox">
- <input id="checkbox-{$group['id']}" type="checkbox" name="group[]" value="{$group['id']}">
- <label for="checkbox-{$group['id']}" class="ng-binding">{$group['name']}</label>
- </div>
- {/loop}
- </div>
- </div>
- <div class="form-group">
- <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label"></label>
- <div class="col-sm-10 col-xs-12">
- <input type="submit" class="btn btn-primary" name="submit" value="确定继续安装 {$module['title']}">
- </div>
- </div>
- <input type="hidden" name="flag" value="1">
- <input type="hidden" name="tid" value="{$tid}">
- </form>
- <script>
- $('#form1').submit(function(){
- var num = $("input[name='group[]']:checked").length;
- if(num == 0) {
- return confirm("您没有选择可使用该模块/模板的公众号服务套餐组,模块/模板安装成功后可在 公众号服务套餐 编辑");
- }
- return true;
- });
- </script>
- </div>
- {template 'common/footer'}
|