资源简介
jsp在线电影网采用了jsp技术开发,实现了在线电影的播放。
代码片段和文件信息
“““
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2008 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 += ““ % (
self.InstanceName
WidthCSS
HeightCSS
HtmlValue
)
return Html
def IsCom
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
..A.SH. 11776 2012-09-21 08:07 #_jsp_001_sqlserver_电影网_\Thumbs.db
文件 1048576 2011-11-03 21:25 #_jsp_001_sqlserver_电影网_\数据库\db_dianbo_Data.MDF
文件 1048576 2011-11-03 21:25 #_jsp_001_sqlserver_电影网_\数据库\db_dianbo_Log.LDF
文件 5186 2011-05-19 18:07 #_jsp_001_sqlserver_电影网_\程序\.classpath
文件 531 2010-12-11 11:21 #_jsp_001_sqlserver_电影网_\程序\.myhibernatedata
文件 297 2011-11-03 21:01 #_jsp_001_sqlserver_电影网_\程序\.myme
文件 1824 2011-05-24 21:38 #_jsp_001_sqlserver_电影网_\程序\.project
文件 500 2011-05-24 21:38 #_jsp_001_sqlserver_电影网_\程序\.settings\.jsdtscope
文件 90 2011-05-24 21:44 #_jsp_001_sqlserver_电影网_\程序\.settings\org.eclipse.core.resources.prefs
文件 330 2010-07-16 17:19 #_jsp_001_sqlserver_电影网_\程序\.settings\org.eclipse.jdt.core.prefs
文件 49 2011-05-24 21:38 #_jsp_001_sqlserver_电影网_\程序\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2011-05-24 21:38 #_jsp_001_sqlserver_电影网_\程序\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 415 2011-05-24 21:35 #_jsp_001_sqlserver_电影网_\程序\.springBeans
文件 9912110 2010-12-11 11:46 #_jsp_001_sqlserver_电影网_\程序\jsp001电影网.exe
文件 2979 2010-10-15 09:37 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\gonggao\gonggaoAdd.jsp
文件 1134 2010-09-05 20:16 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\gonggao\gonggaoDetail.jsp
文件 3040 2010-10-15 09:40 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\gonggao\gonggaoMana.jsp
文件 2812 2010-10-13 02:02 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\index\adminAdd.jsp
文件 2897 2010-11-10 11:43 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\index\adminManage.jsp
文件 2573 2010-10-13 01:46 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\index\sysPro.jsp
文件 1224 2010-10-13 01:11 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\index.jsp
文件 2299 2010-10-15 09:12 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\liuyan\liuyanMana.jsp
文件 4658 2010-12-14 02:40 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\menu.jsp
文件 2949 2010-10-15 09:19 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\news\newsAdd.jsp
文件 1058 2010-09-01 23:00 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\news\newsDetailHou.jsp
文件 3539 2010-10-15 09:40 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\news\newsMana.jsp
文件 5686 2010-12-13 11:46 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\shipin\shipinAdd.jsp
文件 6173 2010-12-13 11:52 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\shipin\shipinEditPre.jsp
文件 4363 2010-12-15 19:24 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\shipin\shipinMana.jsp
文件 1809 2010-12-13 12:29 #_jsp_001_sqlserver_电影网_\程序\WebRoot\admin\shipin\shipinPinglunMana.jsp
............此处省略1145个文件信息
- 上一篇:jfinal-3.6-all
- 下一篇:android 调用系统分享图片,文本和视频
评论
共有 条评论