version 1.157, 2004/08/05 12:19:30
|
version 1.159, 2004/08/05 13:32:59
|
Line 274 class BrowserCheck:
|
Line 274 class BrowserCheck:
|
|
|
def writeMetadata(url,metadict,project=None,startpage=None,xslt=None,thumbtemplate=None,topbar=None,digiLibTemplate=None,xmlfrag=None,digiliburlprefix=None): |
def writeMetadata(url,metadict,project=None,startpage=None,xslt=None,thumbtemplate=None,topbar=None,digiLibTemplate=None,xmlfrag=None,digiliburlprefix=None): |
"""Einlesen der Metadaten und und erstellen des geaenderten XML file""" |
"""Einlesen der Metadaten und und erstellen des geaenderten XML file""" |
|
print "url",url |
def updateTextToolNode(tag,value): |
def updateTextToolNode(tag,value): |
#print dom,tag,value |
#print dom,tag,value |
metanode=dom.getElementsByTagName('texttool')[0] |
metanode=dom.getElementsByTagName('texttool')[0] |
Line 3494 class ECHO_support(Folder):
|
Line 3495 class ECHO_support(Folder):
|
|
|
def __init__(self,id,institutions=None): |
def __init__(self,id,institutions=None): |
"""init""" |
"""init""" |
##self.title=title |
|
self.id=id |
self.id=id |
|
self.title='' |
self.institutions=toList(institutions) |
self.institutions=toList(institutions) |
|
|
def getSupporter(self): |
def getSupporter(self): |
Line 3517 class ECHO_support(Folder):
|
Line 3518 class ECHO_support(Folder):
|
|
|
def ECHO_support_config(self,institutions=None,RESPONSE=None): |
def ECHO_support_config(self,institutions=None,RESPONSE=None): |
"""change""" |
"""change""" |
##self.title=title |
|
self.institutions=toList(institutions) |
self.institutions=toList(institutions) |
|
|
if RESPONSE is not None: |
if RESPONSE is not None: |
Line 3529 def manage_addECHO_supportForm(self):
|
Line 3529 def manage_addECHO_supportForm(self):
|
pt=PageTemplateFile('Products/ECHO_content/zpt/AddECHO_support.zpt').__of__(self) |
pt=PageTemplateFile('Products/ECHO_content/zpt/AddECHO_support.zpt').__of__(self) |
return pt() |
return pt() |
|
|
def manage_addECHO_support(self, id,title,institutions=None,RESPONSE=None): |
def manage_addECHO_support(self, id,institutions=None,RESPONSE=None): |
"""add the copyright""" |
"""add the copyright""" |
|
|
meta_type="ECHO_support" |
meta_type="ECHO_support" |