资源简介
采用ASP.Net 2.0技术架构,使用了微软最新的ASP.NET 2.0 AJAX技术,适合学校、小区、企业内部使用,可利用单位局域网通过网上进行设备、水电等故障报修,减轻相关工作人员的工作量,加快报修的流程和效率
代码片段和文件信息
#!/usr/bin/env python
“““
FCKeditor - The text editor for Internet - http://www.fckeditor.net
Copyright (C) 2003-2007 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 ==
Connector for Python.
Tested With:
Standard:
Python 2.3.3
Zope:
Zope Version: (Zope 2.8.1-final python 2.3.5 linux2)
Python Version: 2.3.5 (#4 Mar 10 2005 01:40:25)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)]
System Platform: linux2
“““
“““
Author Notes (04 December 2005):
This module has gone through quite a few phases of change. Obviously
I am only supporting that part of the code that I use. Initially
I had the upload directory as a part of zope (ie. uploading files
directly into Zope) before realising that there were too many
complex intricacies within Zope to deal with. Zope is one ugly piece
of code. So I decided to complement Zope by an Apache server (which
I had running anyway and doing nothing). So I mapped all uploads
from an arbitrary server directory to an arbitrary web directory.
All the FCKeditor uploading occurred this way and I didn‘t have to
stuff around with fiddling with Zope objects and the like (which are
terribly complex and something you don‘t want to do - trust me).
Maybe a Zope expert can touch up the Zope components. In the end
I had FCKeditor loaded in Zope (probably a bad idea as well) and
I replaced the connector.py with an alias to a server module.
Right now all Zope components will simple remain as is because
I‘ve had enough of Zope.
See notes right at the end of this file for how I aliased out of Zope.
Anyway most of you probably wont use Zope so things are pretty
simple in that regard.
Typically SERVER_DIR is the root of WEB_DIR (not necessarily).
Most definitely SERVER_USERFILES_DIR points to WEB_USERFILES_DIR.
“““
import cgi
import re
import os
import string
“““
escape
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.
“““
def escape(text replace=string.replace):
text = replace(text ‘&‘ ‘&‘) # must be done 1st
text = replace(text ‘<‘ ‘<‘)
text = replace(text ‘>‘ ‘>‘)
text = replace(text ‘“‘ ‘"‘)
return text
“““
getFCKeditorConnector
Creates a new instance of an FCKeditorConnector and runs it
“““
def getFCKeditorConnector(context=None):
# Called from Zope. Passes the context through
connector = FCKeditorC
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 894 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Bottom.aspx
文件 8263 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Case.aspx
文件 5923 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Class.aspx
文件 5911 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Config.aspx
文件 2947 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Develop.aspx
文件 11061 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Fixer.aspx
文件 2169 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Gonggaoadd.aspx
文件 6693 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Gonggaoedit.aspx
文件 4391 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Login.aspx
文件 1606 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Loginout.aspx
文件 1935 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Main.aspx
文件 6293 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Menu.aspx
文件 2890 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Message_Add.aspx
文件 4312 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Message_Edit.aspx
文件 8855 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Report.aspx
文件 4382 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_ReportEdit.aspx
文件 854 2007-04-03 21:53 在线报修管理系统免费版\Admin\Admin_Top.aspx
文件 96 2007-04-03 21:53 在线报修管理系统免费版\Admin\Default.aspx
目录 0 2007-04-03 21:56 在线报修管理系统免费版\Admin
文件 164 2007-04-03 21:53 在线报修管理系统免费版\bin\App_Code.compiled
文件 7168 2007-04-03 21:53 在线报修管理系统免费版\bin\App_Code.dll
文件 3584 2007-03-26 01:07 在线报修管理系统免费版\bin\App_Licenses.dll
文件 9728 2007-04-03 21:53 在线报修管理系统免费版\bin\App_Web_13uzs255.dll
文件 32768 2007-04-03 21:53 在线报修管理系统免费版\bin\App_Web_2de4qqid.dll
文件 24576 2007-04-03 21:53 在线报修管理系统免费版\bin\App_Web_tty86oeo.dll
文件 7168 2007-04-03 21:53 在线报修管理系统免费版\bin\App_Web__-eylntw.dll
文件 61440 2007-01-12 00:56 在线报修管理系统免费版\bin\AspNetPager.dll
文件 1167360 2007-02-02 14:41 在线报修管理系统免费版\bin\C1.Web.Command.2.dll
文件 119355 2007-02-02 14:41 在线报修管理系统免费版\bin\C1.Web.Command.2.xm
文件 36864 2005-10-07 17:20 在线报修管理系统免费版\bin\FredCK.FCKeditorV2.dll
............此处省略511个文件信息
评论
共有 条评论