version 1.56, 2005/06/08 07:07:26
|
version 1.59, 2005/10/23 09:46:26
|
Line 314 class ECHO_pageTemplate(ZopePageTemplate
|
Line 314 class ECHO_pageTemplate(ZopePageTemplate
|
|
|
security.declarePublic('content_html') |
security.declarePublic('content_html') |
|
|
|
def addChanges(self): |
|
"""do nothing leere methode, notwendig, da bei veerbung |
|
von dieser klasse nur ueberschrieben werden kann, |
|
falls methode per url aufgerufen werden soll""" |
|
|
|
return True |
|
|
def content_html(self): |
def content_html(self): |
"""content_html""" |
"""content_html""" |
Line 414 class ECHO_navigation(Folder):
|
Line 420 class ECHO_navigation(Folder):
|
"""Navigations Element""" |
"""Navigations Element""" |
meta_type="ECHO_Navigation" |
meta_type="ECHO_Navigation" |
|
|
|
def getNavInfo(self): |
|
"""root informationen""" |
|
if hasattr(self,'logo_image'): |
|
if hasattr(self.logo_image,'tag'): |
|
imageTag=self.logo_image.tag() |
|
else: |
|
imageTag='' |
|
return (self.title,imageTag) |
|
|
def linkBar(self,parent): |
def linkBar(self,parent): |
"""linkbarer balken""" |
"""linkbarer balken""" |
str="" |
str="" |
Line 478 class ECHO_navigation(Folder):
|
Line 493 class ECHO_navigation(Folder):
|
if not obj: |
if not obj: |
obj = self |
obj = self |
|
|
entries=obj.ZopeFind(obj,obj_metatypes=['ECHO_collection'],search_sub=1) |
entries=obj.ZopeFind(obj,obj_metatypes=['ECHO_collection','VLP_resource'],search_sub=1) |
|
|
for entry in entries: |
for entry in entries: |
#print entry[0] |
|
entry[1].ZCacheable_setManagerId(managerName) |
entry[1].ZCacheable_setManagerId(managerName) |
|
|
|
|
Line 716 class ECHO_navigation(Folder):
|
Line 730 class ECHO_navigation(Folder):
|
return 0 |
return 0 |
|
|
|
|
|
def getPathStyle(self, item, style=""): |
|
"""returns a string with the given style + 'sel' if the path is already selected.""" |
|
|
|
if self.isSelectedPath(item): |
|
return style + 'sel' |
|
else: |
|
return style |
|
|
|
|
def buttonsFromHash(self,hash,start=None,orientation="horizontal"): |
def buttonsFromHash(self,hash,start=None,orientation="horizontal"): |
Line 797 class ECHO_navigation(Folder):
|
Line 818 class ECHO_navigation(Folder):
|
return nr+1 |
return nr+1 |
|
|
def secondNavElements(self): |
def secondNavElements(self): |
"""Zweite Ordnung Navigationselemente |
"""Zweite Ordnung Navigationselemente""" |
|
|
""" |
|
|
|
hash=self.createNavHash(2,checkOnly="no") |
hash=self.createNavHash(2,checkOnly="no") |
actual_url=self.REQUEST['URL'] |
actual_url=self.REQUEST['URL'] |