X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;ds=inline;f=plugin%2Ftheme%2Fexodus.py;h=479a258c31c52ce7858eaddbe5fb070f30b3904b;hb=f9748f538ba339b0f52c22266614247d1a412419;hp=e5d854d5e75d6c3f985158e5559c545ac48401f7;hpb=c551e5ac93815a81461dd4fb4e96b94732787033;p=matthijs%2Fprojects%2Fwipi.git diff --git a/plugin/theme/exodus.py b/plugin/theme/exodus.py index e5d854d..479a258 100644 --- a/plugin/theme/exodus.py +++ b/plugin/theme/exodus.py @@ -18,6 +18,12 @@ class Theme(ThemeBase): else: return '' + def searchform(self, d): + if self.request.user.valid: + return ThemeBase.searchform(self, d) + else: + return '' + def header(self, d, **kw): """ Assemble wiki header @@ -32,7 +38,7 @@ class Theme(ThemeBase): # Header u'