-
大小: 15.65MB文件類型: .rar金幣: 1下載: 0 次發布日期: 2023-07-04
- 語言: 其他
- 標簽:
資源簡介
安樂居房產網站源碼正式版 二手房源碼 房產中介公司網站源碼模板
代碼片段和文件信息
“““
FCKeditor?-?The?text?editor?for?Internet?-?http://www.fckeditor.net
Copyright?(C)?2003-2009?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
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1556??2010-12-10?23:18??房產網站源碼\房產網站源碼\.htaccess
?????文件????????134??2011-02-27?03:20??房產網站源碼\房產網站源碼\about\copyright.php
?????文件????????127??2011-02-27?03:16??房產網站源碼\房產網站源碼\about\hr.php
?????文件????????130??2011-02-27?03:17??房產網站源碼\房產網站源碼\about\index.php
?????文件???????1194??2011-02-27?02:59??房產網站源碼\房產網站源碼\about\path.inc.php
?????文件????????130??2011-02-27?03:22??房產網站源碼\房產網站源碼\about\state.php
?????文件????????131??2011-02-27?03:17??房產網站源碼\房產網站源碼\about\treaty.php
?????文件??????22594??2011-02-25?22:42??房產網站源碼\房產網站源碼\ad\0110.jpg
?????文件??????57385??2011-02-25?22:42??房產網站源碼\房產網站源碼\ad\0225.jpg
?????文件??????51059??2011-02-25?22:42??房產網站源碼\房產網站源碼\ad\1227.jpg
?????文件??????46971??2011-02-25?22:42??房產網站源碼\房產網站源碼\ad\280x80_16845435.jpg
?????文件??????64147??2011-02-25?22:42??房產網站源碼\房產網站源碼\ad\680X80.jpg
?????文件??????61665??2011-02-25?22:42??房產網站源碼\房產網站源碼\ad\99080.gif
?????文件??????13248??2011-02-25?22:42??房產網站源碼\房產網站源碼\ad\rzbanner.jpg
????..A.SH.?????21504??2011-03-03?01:12??房產網站源碼\房產網站源碼\ad\Thumbs.db
?????文件???????2479??2011-01-04?10:39??房產網站源碼\房產網站源碼\admin\advertise\ads.php
?????文件???????1460??2011-01-04?10:34??房產網站源碼\房產網站源碼\admin\advertise\index.php
?????文件????????217??2010-03-15?14:27??房產網站源碼\房產網站源碼\admin\advertise\path.inc.php
?????文件????????379??2011-01-21?23:57??房產網站源碼\房產網站源碼\admin\areas.php
?????文件????????803??2010-03-15?14:27??房產網站源碼\房產網站源碼\admin\borough\ajax.php
?????文件???????5081??2011-01-06?14:54??房產網站源碼\房產網站源碼\admin\borough\check.php
?????文件???????2514??2011-01-29?15:07??房產網站源碼\房產網站源碼\admin\borough\images\biaozhu.gif
?????文件???????2507??2011-01-29?15:11??房產網站源碼\房產網站源碼\admin\borough\images\modify_note.gif
?????文件???????6665??2011-01-22?02:03??房產網站源碼\房產網站源碼\admin\borough\index.php
?????文件????????240??2010-03-15?14:27??房產網站源碼\房產網站源碼\admin\borough\path.inc.php
?????文件???????2433??2010-03-15?14:27??房產網站源碼\房產網站源碼\admin\crontab\boroughAvg.php
?????文件????????766??2010-03-15?14:27??房產網站源碼\房產網站源碼\admin\crontab\boroughCombine.php
?????文件????????738??2010-03-15?14:27??房產網站源碼\房產網站源碼\admin\crontab\boroughHouseNum.php
?????文件????????583??2010-03-15?14:27??房產網站源碼\房產網站源碼\admin\crontab\boroughPicNum.php
?????文件???????1297??2010-03-15?14:27??房產網站源碼\房產網站源碼\admin\crontab\brokerA+.php
............此處省略4089個文件信息
- 上一篇:NPOISDK(1).rar
- 下一篇:Multisim 12.0 系統元件庫
評論
共有 條評論