2015-07-28 15:15:57 +08:00
|
|
|
<extend name="Public:common" />
|
|
|
|
|
<block name="main">
|
|
|
|
|
<div class="gallery">
|
|
|
|
|
<div class="col-md-offset-2">
|
|
|
|
|
<h2><strong>提交漏洞</strong></h2>
|
|
|
|
|
<hr style="width:80%" class="col-md-offset-0"/>
|
|
|
|
|
<h5><strong>您的每个漏洞报告我们将会有专人跟进,漏洞处理流程和报告详情请见平台公告。</strong></h5><br/>
|
|
|
|
|
|
|
|
|
|
<form method="post" action="{:U('post/add')}" style="width:80%;">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="post-title">报告标题</label>
|
|
|
|
|
<input type="text" name="title" class="form-control" id="post-title" placeholder="输入文章标题">
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="post-cate">漏洞分类</label>
|
|
|
|
|
<select name="cate_id" id="post-cate" class="form-control">
|
|
|
|
|
<foreach name="category" item="v">
|
|
|
|
|
<option value="{$v.id}">{$v.html} {$v.title}</option>
|
|
|
|
|
</foreach>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="post-content">漏洞内容</label>
|
|
|
|
|
<script id="post-content" name="content" type="text/plain"></script>
|
|
|
|
|
</div>
|
|
|
|
|
<!--<div class="form-group">
|
|
|
|
|
<input type="hidden" name="type" id="type" value="1" checked="checked">
|
|
|
|
|
</div>-->
|
|
|
|
|
<button type="submit" class="btn btn-default">提交</button>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 配置文件 -->
|
|
|
|
|
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
|
|
|
|
|
<!-- 编辑器源码文件 -->
|
|
|
|
|
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
|
|
|
|
|
<!-- 实例化编辑器 -->
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
var ue = UE.getEditor('post-content',{
|
|
|
|
|
toolbars: [
|
2016-12-02 12:24:27 +08:00
|
|
|
['source', '|','simpleupload','emotion','link','unlink', '|', 'selectall', 'cleardoc'],
|
2015-07-28 15:15:57 +08:00
|
|
|
],
|
|
|
|
|
initialFrameHeight:500,
|
|
|
|
|
zIndex:100
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</block>
|