讯时网站管理系统4.9免费版


讯时网站管理系统4.9免费版
资源截图
代码片段和文件信息
“““
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2010 Frederico Caldeira Knabben

== BEGIN LICENSE ==

Licensed under the terms of any of the following licenses at your
choice:

 - GNU General Public License Version 2 or later (the “GPL“)
   http://www.gnu.org/licenses/gpl.html

 - GNU Lesser General Public License Version 2.1 or later (the “LGPL“)
   http://www.gnu.org/licenses/lgpl.html

 - Mozilla Public License Version 1.1 or later (the “MPL“)
   http://www.mozilla.org/MPL/MPL-1.1.html

== END LICENSE ==

This is the integration file for Python.
“““

import cgi
import os
import re
import string

def escape(text replace=string.replace):
    “““Converts the special characters ‘<‘ ‘>‘ and ‘&‘.

    RFC 1866 specifies that these characters be represented
    in HTML as < > and & respectively. In Python
    1.5 we use the new string.replace() function for speed.
    “““
    text = replace(text ‘&‘ ‘&‘) # must be done 1st
    text = replace(text ‘<‘ ‘<‘)
    text = replace(text ‘>‘ ‘>‘)
    text = replace(text ‘“‘ ‘"‘)
    text = replace(text “‘“ ‘‘‘)
    return text

# The FCKeditor class
class FCKeditor(object):
def __init__(self instanceName):
self.InstanceName = instanceName
self.basePath = ‘/fckeditor/‘
self.Width = ‘100%‘
self.Height = ‘200‘
self.ToolbarSet = ‘Default‘
self.Value = ‘‘;

self.Config = {}

def Create(self):
return self.CreateHtml()

def CreateHtml(self):
HtmlValue = escape(self.Value)
Html = ““

if (self.IsCompatible()):
File = “fckeditor.html“
link = “%seditor/%s?InstanceName=%s“ % (
self.basePath
File
self.InstanceName

if (self.ToolbarSet is not None):
link += “&Toolbar=%s“ % self.ToolbarSet

# Render the linked hidden field
Html += “yle=“display:none“ />“ % (
self.InstanceName
self.InstanceName
HtmlValue


# Render the configurations hidden field
Html += “yle=“display:none“ />“ % (
self.InstanceName
self.GetConfigFieldString()


# Render the editor iframe
Html += “rame id=“%s\__frame“ src=“%s“ width=“%s“ height=“%s“ frameborder=“0“ scrolling=“no“>rame>“ % (
self.InstanceName
link
self.Width
self.Height

else:
if (self.Width.find(“%%“) < 0):
WidthCSS = “%spx“ % self.Width
else:
WidthCSS = self.Width
if (self.Height.find(“%%“) < 0):
HeightCSS = “%spx“ % self.Height
else:
HeightCSS = self.Height

Html += “yle=“width: %s; height: %s;“ wrap=“virtual“>%s“ % (
self.InstanceName
WidthCSS
HeightCSS
HtmlValue

return Html

def IsCom

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       7749  2010-05-13 18:15  Utg.asp

     文件       6572  2010-04-21 00:22  user2.asp

     文件        718  2010-04-19 10:28  index.asp

     文件       6211  2010-03-01 11:29  News_zt.asp

     文件       5202  2009-11-19 11:54  Neeao_SqlIn.Asp

     文件       5352  2009-10-12 15:05  JS-user-stat.asp

     文件       1443  2009-09-24 21:03  JS-PlayFLV.asp

     文件      62385  2009-09-24 20:49  js-playflv.swf

     文件       6249  2009-09-24 20:21  js-pic5.asp

     文件       6465  2009-09-22 11:47  JS-NewsSO.asp

     文件        255  2009-09-01 21:01  初始密码.asp

     文件       3650  2009-06-18 11:02  JS-TP2.asp

     文件       1243  2009-05-31 10:25  admin_chk.asp

     文件       1435  2009-05-06 16:20  ggjs.asp

     文件       2179  2009-04-24 16:42  JS-ShangXiaTiao.asp

     文件       4337  2009-04-15 21:08  RssNews.ASP

     文件       1469  2009-03-26 12:40  JS-XGXX.asp

     文件       3603  2009-03-26 11:08  admin_htmlsc.asp

     文件       2836  2009-02-28 09:41  js-Pro-pic.asp

     文件       2314  2009-02-09 19:07  js-pic4.swf

     文件       6212  2009-02-05 20:34  link-ShenQing.asp

     文件       4282  2009-01-05 22:38  Css0.Css

     文件       1060  2009-01-05 22:00  newsPhoto.js

     文件       1074  2008-12-24 21:29  js01.asp

     文件        450  2008-08-26 20:31  js-pls.asp

     文件      10920  2008-08-26 10:59  ly-write.asp

     文件       2270  2008-08-25 20:02  js-zt-pic.asp

     文件       5899  2008-06-18 23:02  ly.asp

     文件       4484  2008-06-18 23:02  lyview.asp

     文件       1316  2008-06-04 12:36  JS-ZT.asp

............此处省略1174个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)