--- MPIWGWeb/MPIWGStaff.py 2005/10/17 20:37:05 1.10.2.11 +++ MPIWGWeb/MPIWGStaff.py 2005/10/18 13:00:04 1.10.2.12 @@ -239,6 +239,14 @@ class MPIWGStaff(CatalogAware,ZSQLExtend mainEditFile=PageTemplateFile(os.path.join(package_home(globals()),'zpt','editMPIWGStaff_main.zpt')) + def getPathStyle(self, path, selected, style=""): + """returns a string with the given style + 'sel' if path == selected.""" + + if path == selected: + return style + 'sel' + else: + return style + security.declareProtected('View management screens','changeResearch') def changeResearch(self,noredirect=None): """change the research entries"""