version 1.34, 2004/10/11 10:01:38
|
version 1.35, 2004/10/11 14:49:46
|
Line 78 class MPIWGRoot(ZSQLExtendFolder):
|
Line 78 class MPIWGRoot(ZSQLExtendFolder):
|
fmJarPath=os.path.join(package_home(globals()), 'updateSQL/fm.jar') |
fmJarPath=os.path.join(package_home(globals()), 'updateSQL/fm.jar') |
xmlPath=os.path.join(package_home(globals()), "updateSQL/%s"%fileName) |
xmlPath=os.path.join(package_home(globals()), "updateSQL/%s"%fileName) |
|
|
os.popen("java -classpath %s Convert %s"%(fmJarPath,xmlPath),"r").read() |
os.popen("java -classpath %s -Djava.awt.headless=true Convert %s"%(fmJarPath,xmlPath),"r").read() |
return 1 |
return 1 |
|
|
def patchProjects(self,RESPONSE): |
def patchProjects(self,RESPONSE): |
Line 579 class MPIWGRoot(ZSQLExtendFolder):
|
Line 579 class MPIWGRoot(ZSQLExtendFolder):
|
proj=None |
proj=None |
|
|
if proj: |
if proj: |
|
if person =="Otto Sibum" : person="H. Otto Sibum" |
|
if person =="Norton Wise" : person="M. Norton Wise" |
#ret.append("<a href=%s >%s</a>"%(proj[0].absolute_url,person.encode('utf-8'))) |
#ret.append("<a href=%s >%s</a>"%(proj[0].absolute_url,person.encode('utf-8'))) |
ret.append("<a href=%s >%s</a>"%(proj[0].absolute_url+"/index.html",person)) |
ret.append("<a href=%s >%s</a>"%(proj[0].absolute_url+"/index.html",person)) |
else: |
else: |
Line 869 class MPIWGProject(Folder):
|
Line 871 class MPIWGProject(Folder):
|
#teste ob WEB_project_description und keine führenden p tags |
#teste ob WEB_project_description und keine führenden p tags |
if (len(text2)>4) and (not text2[0:3]=='<p>') and (field=='WEB_project_description'): |
if (len(text2)>4) and (not text2[0:3]=='<p>') and (field=='WEB_project_description'): |
return "<p>"+text2+"</p>" |
return "<p>"+text2+"</p>" |
|
#if text2=="Otto Sibum": |
|
#text2="H. Otto Sibum" |
return text2 |
return text2 |
|
|
def show_html(self): |
def show_html(self): |