You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
996 B
PHTML
35 lines
996 B
PHTML
9 years ago
|
<div class="row-fluid">
|
||
|
<div class="col-xs-12">
|
||
|
<div class="span2" style="min-height:700px;">
|
||
|
<?php echo $nav_view; ?>
|
||
|
</div>
|
||
|
<div class="span9">
|
||
|
<form role="form" action="<?php echo site_url('author/add_announce'); ?>" method="post" name="question_form" id="question_form">
|
||
|
<fieldset>
|
||
|
<label>标题</label>
|
||
|
<input type="text" name="title" class="span12" id="title" value="">
|
||
|
<label>内容</label>
|
||
|
<textarea name="announce" id="announce" class="span12" ></textarea>
|
||
|
<label></label>
|
||
|
<button type="submit" class="btn btn-primary pull-right offset1" id="addqa"> 提 交 </button>
|
||
|
</fieldset>
|
||
|
</form>
|
||
|
</div>
|
||
|
<div class="span1"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<script type="text/javascript">
|
||
|
$(document).ready(function(){
|
||
|
var editor;
|
||
|
KindEditor.ready(function(K) {
|
||
|
editor = K.create('textarea[name="announce"]', {
|
||
|
resizeType : 1,
|
||
|
height:'450px',
|
||
|
allowPreviewEmoticons : false
|
||
|
});
|
||
|
});
|
||
|
});
|
||
|
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|