123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- <div class="mb-3 row">
- <label class="col-md-2 col-form-label" >编辑器样式</label>
- <div class=" col-md-10">
- <ul class="list-group">
- <li class='list-group-item'>
- <div class='form-check'>
- <input type='radio' name='setting[tool_bar]' value='simple' class='form-check-input' <?php if(isset($setting['tool_bar'])&&$setting['tool_bar']=='simple'){?> checked <?php }?>>
- <label class='form-check-label'>简约型</label>
- </div>
- </li>
- <li class='list-group-item'>
- <div class='form-check'>
- <input type='radio' name='setting[tool_bar]' value='basic' class='form-check-input' <?php if(isset($setting['tool_bar'])&&$setting['tool_bar']=='basic'){?> checked <?php }?>>
- <label class='form-check-label'>标准型</label>
- </div>
- </li>
- <li class='list-group-item'>
- <div class='form-check'>
- <input type='radio' name='setting[tool_bar]' value='full' class='form-check-input' <?php if(isset($setting['tool_bar'])&&$setting['tool_bar']=='full'){?> checked <?php }?>>
- <label class='form-check-label'>全能型</label>
- </div>
- </li>
- </ul>
- </div>
- </div>
- <div class="mb-3 row">
- <label class="col-md-2 col-form-label" >编辑器样式(前台)</label>
- <div class=" col-md-10">
- <ul class="list-group">
- <li class='list-group-item'>
- <div class='form-check'>
- <input type='radio' name='setting[tool_bar_front]' value='simple' class='form-check-input' <?php if(isset($setting['tool_bar_front'])&&$setting['tool_bar_front']=='simple'){?> checked <?php }?>>
- <label class='form-check-label'>简约型</label>
- </div>
- </li>
- <li class='list-group-item'>
- <div class='form-check'>
- <input type='radio' name='setting[tool_bar_front]' value='basic' class='form-check-input' <?php if(isset($setting['tool_bar_front'])&&$setting['tool_bar_front']=='basic'){?> checked <?php }?>>
- <label class='form-check-label'>标准型</label>
- </div>
- </li>
- <li class='list-group-item'>
- <div class='form-check'>
- <input type='radio' name='setting[tool_bar_front]' value='publish' class='form-check-input' <?php if(isset($setting['tool_bar_front'])&&$setting['tool_bar_front']=='publish'){?> checked <?php }?>>
- <label class='form-check-label'>前台发布</label>
- </div>
- </li>
- <li class='list-group-item'>
- <div class='form-check'>
- <input type='radio' name='setting[tool_bar_front]' value='full' class='form-check-input' <?php if(isset($setting['tool_bar_front'])&&$setting['tool_bar_front']=='full'){?> checked <?php }?>>
- <label class='form-check-label'>全能型</label>
- </div>
- </li>
- </ul>
- </div>
- </div>
- <div class="mb-3 row">
- <label class="col-md-2 col-form-label" >默认值</label>
- <div class="col-md-10">
- <input type="text" name="setting[default_value]" value="<?php echo $setting['default_value'];?>" autocomplete="off" class="form-control" >
- </div>
- </div>
- <div class="mb-3 row">
- <label class="col-md-2 col-form-label">允许上传附件</label>
- <div class="col-md-10">
- <input value="1" id="switch-allow_attachment" type="checkbox" switch="success" class="row-switch" name="setting[allow_attachment]" <?php if(isset($setting['allow_attachment'])&&$setting['allow_attachment']==1){?> checked <?php }?>>
- <label class="switch-check-label " for="switch-allow_attachment" data-on-label="是" data-off-label="否"></label>
- </div>
- </div>
- <div class="mb-3 row">
- <label class="col-md-2 col-form-label">保存远程图片</label>
- <div class="col-md-10">
- <input value="1" id="switch-save_remote_image" type="checkbox" switch="success" class="row-switch" name="setting[save_remote_image]" <?php if(isset($setting['save_remote_image'])&&$setting['save_remote_image']==1){?> checked <?php }?>>
- <label class="switch-check-label " for="switch-save_remote_image" data-on-label="是" data-off-label="否"></label>
- </div>
- </div>
- <div class="mb-3 row">
- <label class="col-md-2 col-form-label" >编辑器高度(px)</label>
- <div class="col-md-10">
- <input type="text" name="setting[height]" value="<?php echo $setting['height'];?>" autocomplete="off" class="form-control" >
- </div>
- </div>
- <div class="mb-3 row">
- <label class="col-md-2 col-form-label">分页符</label>
- <div class="col-md-10">
- <input value="1" id="switch-page_break" type="checkbox" switch="success" class="row-switch" name="setting[page_break]" <?php if(isset($setting['page_break'])&&$setting['page_break']==1){?> checked <?php }?>>
- <label class="switch-check-label " for="switch-page_break" data-on-label="启用" data-off-label="禁用"></label>
- </div>
- </div>
- <div class="mb-3 row">
- <label class="col-md-2 col-form-label">百度地图</label>
- <div class="col-md-10">
- <input value="1" id="switch-map" type="checkbox" switch="success" class="row-switch" name="setting[map]" <?php if(isset($setting['map'])&&$setting['map']==1){?> checked <?php }?>>
- <label class="switch-check-label " for="switch-map" data-on-label="启用" data-off-label="禁用"></label>
- </div>
- </div>
|