1041 XOOPS模組開發
<{$toolbar}>
<{$content}>
<h1>編輯文章</h1>
<form action="post.php" method="post" class="form-horizontal">
<div class="control-group">
<label class="control-label" for="page_tag">選擇投稿單元</label>
<div class="controls">
<select name="page_tag" id="page_tag">
<option disabled selected style="display:no-ne;">選擇單元</option>
<option value="小說">小說單元</option>
<option value="散文">散文單元</option>
<option value="笑話">笑話單元</option>
</select>
</div>
</div>
<div class="control-group">
<label class="control-label" for="page_title">文章標題</label>
<div class="controls">
<input type="text" name="page_title" id="page_title" placeholder="請輸入文章標題" class="span12">
</div>
</div>
<div class="control-group">
<label class="control-label" for="page_content">文章內容</label>
<div class="controls">
<{$editor}>
</div>
</div>
<div class="control-group">
<label class="control-label"></label>
<div class="controls text-center">
<input type="hidden" name="op" value="insert_page">
<button type="submit" class="btn btn-primary btn-large">儲存</button>
</div>
</div>
</form>