1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- {template 'common/header'}
- <form action="" method="post" class="we7-form sms-sign-page" id="js-sms-sign" ng-controller="SmsSignCtrl" ng-cloak>
- <div class="form-group">
- <label for="" class="control-label col-sm-2" >注册/绑定短信签名设置</label>
- <div class="form-controls col-sm-8">
- <select class="" ng-model="site_sms_sign.register" >
- <option value="" ng-selected="site_sms_sign.register == ''">请选择短信签名</option>
- <option ng-repeat="row in all_signatures" value="{{row}}" ng-bind="row" ng-selected="site_sms_sign.register == row"></option>
- </select>
- <span class="help-block">请选择短信签名。未审核签名可以通过云短信审核签名</span>
- </div>
- </div>
- <div class="form-group">
- <label for="" class="control-label col-sm-2" >找回密码短信签名设置</label>
- <div class="form-controls col-sm-8">
- <select class="" ng-model="site_sms_sign.find_password">
- <option value="" ng-selected="site_sms_sign.find_password == ''">请选择短信签名</option>
- <option ng-repeat="row in all_signatures" value="{{row}}" ng-bind="row" ng-selected="site_sms_sign.find_password == row"></option>
- </select>
- <span class="help-block">请选择短信签名。未审核签名可以通过云短信审核签名</span>
- </div>
- </div>
- <div class="form-group">
- <label for="" class="control-label col-sm-2" >用户过期短信签名设置</label>
- <div class="form-controls col-sm-8">
- <select class="" ng-model="site_sms_sign.user_expire">
- <option value="" ng-selected="site_sms_sign.user_expire == ''">请选择短信签名</option>
- <option ng-repeat="row in all_signatures" value="{{row}}" ng-bind="row" ng-selected="site_sms_sign.user_expire == row"></option>
- </select>
- <span class="help-block">请选择短信签名。未审核签名可以通过云短信审核签名</span>
- </div>
- </div>
- <div class="col-sm-offset-2">
- <button type="button" class="btn btn-primary" ng-click="saveSms()" >确定</button>
- </div>
-
- </form>
- <script>
- angular.module('systemApp').value('config', {
- 'all_signatures' : {php echo !empty($cloud_sms_signs) ? json_encode($cloud_sms_signs) : 'null'},
- 'site_sms_sign' : {php echo !empty($setting_sms_sign) ? json_encode($setting_sms_sign) : 'null'},
- 'links' : {
- 'site_sms_sign_link' : "{php echo url('cloud/sms-sign/save_sms_sign')}"
- }
- });
- angular.bootstrap($('#js-sms-sign'), ['systemApp']);
- </script>
- {template 'common/footer'}
|