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.
29 lines
1.6 KiB
PHP
29 lines
1.6 KiB
PHP
<script src="/min?f=/js/editor.md/editormd.min.js,/js/editor.md/lib/marked.min.js,/js/editor.md/lib/prettify.min.js,/js/editor.md/lib/raphael.min.js,/js/editor.md/lib/flowchart.min.js,/js/editor.md/lib/jquery.flowchart.min.js,/js/editor.md/lib/underscore.min.js,/js/editor.md/lib/sequence-diagram.min.js"></script>
|
|
<link rel="stylesheet" href="/js/editor.md/css/editormd.css" />
|
|
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
$(function () {
|
|
markdown_editor = editormd({
|
|
id: 'isd_html_markdown',
|
|
width: '100%',
|
|
height: 640,
|
|
path: '/js/editor.md/lib/'
|
|
});
|
|
});
|
|
</script>
|
|
|
|
<div class="row-fluid">
|
|
<div class="span1"></div>
|
|
<div class = "span10" >
|
|
<form id = "form_edit_title_box" name = "form_edit_title_box" method = "post" action = "<?php echo site_url('infoshare/update') ?>" >
|
|
<input type = "text" class = "span6" name = "isd_title" id = "isd_title" value = "<?php echo $infoshare->isd_title; ?>" />
|
|
<div id="isd_html_markdown">
|
|
<textarea id = "isd_html" name = "isd_html" class = "infoCon" ><?php echo $infoshare->isd_html; ?> </textarea>
|
|
</div>
|
|
<textarea name = "isd_memo" class = "span12" id = "isd_memo" rows = "8" ><?php echo $infoshare->isd_memo; ?> </textarea>
|
|
<input type = "hidden" name = "isd_id" id = "isd_id" value = "<?php echo $infoshare->isd_id; ?>" />
|
|
</form>
|
|
<a class = "btn btn-primary btn-large pull-right" href = "javascript:void(0);" onclick = "submitForm('form_edit_title_box')" > 提交保存 </a>
|
|
</div>
|
|
<div class = "span1" > </div>
|
|
</div>
|