本站隆重推出全新栏目“淘宝网购物导航“:实时更新淘宝的各类促销活动、成交排行、优惠充值等信息,让您网购更加安心,放心,省心!

给PJ增加编辑日记UBBeditor和FCKeditor双模式选择功能

只需修改2个文件的4处地方即可,修改方法如下:
----------------------------------
文件class\cls_article.asp
----------------------------------
查找
<a href="blogedit.asp?id=<%=log_ViewArr(0,0)%>" title="编辑该日志" accesskey="E"><img src="images/icon_edit.gif" alt="" border="0" style="margin-bottom:-2px"/></a>
替换成
<a href="blogedit.asp?id=<%=log_ViewArr(0,0)%>&log_editType=1" title="使用UBBeditor编辑该日志" accesskey="E"><img src="images/icon_edit.gif" alt="" border="0" style="margin-bottom:-2px"/></a> <a href="blogedit.asp?id=<%=log_ViewArr(0,0)%>&log_editType=0" title="使用FCKeditor编辑该日志" accesskey="E"><img src="images/icon_edit.gif" alt="" border="0" style="margin-bottom:-2px"/></a>
-----------------
文件blogedit.asp
-----------------
查找
<input name="log_editType" type="hidden" id="log_editType" value="<%=log_editType%>"/>
替换成
<input name="log_editType" type="hidden" id="log_editType" value="<%=Request.QueryString("log_editType")%>"/>
查找
if log_editType=0 then
          Dim sBasePath
替换成
dim log_editType1
log_editType1=Request.QueryString("log_editType")

if log_editType1=0 then
          Dim sBasePath

查找
               if log_editType=0 then
                  Dim oFCKeditor1
替换成
               if log_editType1=0 then
                  Dim oFCKeditor1
评论: 0 | 引用: 0 | 查看次数: -


发表评论
昵 称:
密 码:    游客发言不需要密码.
邮 箱:    支持Gravatar头像
网 址:
验证码:    点击输入框
内 容:
您一共可以输入1000个字
选 项:
不想保留信息请删除cookie
发表评论后您发表的内容自动复制到了剪贴板
字数限制 1000 字 | UBB代码 开启 | [img]标签 关闭