{if $sEditor=='kindeditor'} {/if} {if $sEditor=='ubb'} {/if} {if $sEditor=='quicktags'} {/if} {script} {/script} {script} {if $sEditor=='kindeditor'} var editor; var editor1; KindEditor.ready(function(K) { editor = K.create('textarea[name="blog_content"]', { allowPreviewEmoticons : false, allowImageUpload : false, allowFlashUpload :false, allowMediaUpload:false, allowFileManager : false, resizeMode : 1, items : ['source', '|', 'undo', 'redo', '|', 'preview', 'print', 'template', 'cut', 'copy', 'paste', 'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright', 'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript', 'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/', 'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image', 'flash', 'media', 'insertfile', 'table', 'hr','map', 'code', 'pagebreak', 'link', 'unlink'], }); editor1 = K.create('textarea[name="blog_excerpt"]', { resizeType : 1, allowPreviewEmoticons : false, allowImageUpload : false, allowFlashUpload :false, allowMediaUpload:false, allowFileManager : false, items : [ 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', 'insertunorderedlist', '|','image', 'link'] }); }); {/if} function ajaxAddCategory(){ $("#new_category_bubmit").attr("disabled", "disabled"); $("#new_category_bubmit").val( D.L('分类添加中') ); Dyhb.AjaxSend('{:G::U('category/blog_ajax_insert')}','ajax=1&category_compositor='+encodeURIComponent( $('#new_category_compositor').val() ) +'&category_parentid='+ $('#new_category_parentid').val() +'&category_name='+encodeURIComponent( $('#new_category_name').val()) +'&category_introduce='+encodeURIComponent( $('#new_category_introduce').val()) +'&category_urlname='+encodeURIComponent( $('#new_category_urlname').val()) +'&category_logo='+encodeURIComponent( $('#new_category_logo').val()) +'&category_description='+encodeURIComponent( $('#new_category_description').val()) +'&category_keyword='+encodeURIComponent( $('#new_category_keyword').val()),'', function(data,status){ $("#new_category_bubmit").attr("disabled", false); $("#new_category_bubmit").val(D.L("添加分类")); if(status==1){ $("#category_id").find("option:selected").val( data.category_id ); $("#category_id").find("option:selected").text( data.category_name ); document.getElementById('add_newcategory').style.display='none'; } }); } {/script} {if $sEditor=='ubb'} {script} function insertemot (emotcode) { var emot="[emot]"+emotcode+"[/emot]"; AddText(emot); document.getElementById('emotid').style.display='none'; } function showemot () { if (document.getElementById('emotid').style.display=='block') document.getElementById('emotid').style.display='none'; else document.getElementById('emotid').style.display='block'; } {/script} {/if}
添加日志编辑日志 ( 返回日志列表 )
{:G::U('blog/insert')}{:G::U('blog/update')}" method="post" id="blogAdd"> {script}$("#blog_title").focus();{/script} {~$arrBlogTypes=isset($oValue)?explode( ',',$oValue->blog_type ):array()}
{$oValue:blog_title}请输入标题" mixlength="300"/>
文件管理器 插入分页符 图片本地化:  日志别名:{$oValue:blog_urlname}"/> 
{if $sEditor=='ubb'}

字体:   字号:   颜色:
{/if} {if $sEditor=='kindeditor'} {/if} {if $sEditor=='quicktags'} {script}edToolbar();{/script} {script}var edCanvas = document.getElementById('blog_content');{/script}
如何只在首页显示一部分内容?
要在首页只显示一部分内容,并在点击“阅读全文”后才能看到完整内容,请在需要截断日志的地方插入[separator]标记。或者,您可以点击QuickTags编辑栏上的SEPAR按钮。
如何给文章分页?
请在需要分页的地方插入[newpage]标记。或者,您可以点击QuickTags编辑栏上的PAGE按钮。一篇文章可包含多个分页符。
{/if} {if $sEditor=='no' || empty( $sEditor )}

不喜欢这个空白的编辑器?请点击上方的“显示选项”更换编辑器吧!


{/if}
禁止自动保存 暂停 - 开始 - 禁止 - 立即保存
  {if isset($oValue)&&empty($oValue->blog_dateline )}{~$oValue->blog_dateline=CURRENT_TIMESTAMP}{/if} 更改发布时间 {$oValue:blog_dateline|date='Y',**}{$nCurrentTimestamp|date='Y',**}" maxlength="4" style="width:30px">年 {$oValue:blog_dateline|date='m',**}{$nCurrentTimestamp|date='m',**}" maxlength="2" style="width:20px"> 月 {$oValue:blog_dateline|date='d',**}{$nCurrentTimestamp|date='d',**}" maxlength="2" style="width:20px"> 日 {$oValue:blog_dateline|date='H',**}{$nCurrentTimestamp|date='H',**}" maxlength="2" style="width:20px"> 时 {$oValue:blog_dateline|date='i',**}{$nCurrentTimestamp|date='i',**}" maxlength="2" style="width:20px"> 分 {$oValue:blog_dateline|date='s',**}{$nCurrentTimestamp|date='s',**}" maxlength="2" style="width:20px"> 秒  
{$oValue:blog_thumb}"/>
日志缩略图为一篇日志的图像效果,这非常酷。
{$sBlogTag}"/>
日志标签请用英文半角‘,’或者空格隔开!
头条[h] 推荐[c] 幻灯[f] 特荐[a] 滚动[s] 加粗[b] 图片[p]

{$nId}"/> update(1)add(1)" class="button button-green" value=" 更新草稿保存草稿 " /> update(0)add(0)" class="button button-blue" value=" 更 新发 布 " />