from AdminSecurity import AdminSecurity class PlugIns(AdminSecurity): def writeContent(self): # @@ 2000-06-02 ce: We should allow a custom admin link # for each plug-in (if it provides one) # @@ 2001-01-25 ce: We should pick up more of the info # in plugIn.properties() wr = self.writeln plugIns = self.application().server().plugIns() if plugIns: wr('

' 'The following Plug-ins were found:

') path = self.request().servletPath() wr('') wr('' '') wr('' '') for plugIn in plugIns: name, dir, ver = plugIn.name(), plugIn.directory(), \ plugIn.properties()['versionString'] wr('' '' '' '' % locals()) self.writeln('
Plug-ins
NameVersionDirectory
' '%(name)s%(ver)s%(dir)s
') else: wr('

No Plug-ins found.

')