projects
/
matthijs
/
projects
/
wipi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
1369fb9
)
Don't show the navibar to non-logged in users.
author
Matthijs Kooijman
<matthijs@stdio.flexvps.nl>
Wed, 26 Nov 2008 17:44:46 +0000
(18:44 +0100)
committer
Matthijs Kooijman
<matthijs@stdio.flexvps.nl>
Wed, 26 Nov 2008 17:44:46 +0000
(18:44 +0100)
plugin/theme/site.py
patch
|
blob
|
history
diff --git
a/plugin/theme/site.py
b/plugin/theme/site.py
index 21d8aa66c017d01608a633a9b5e0cdaf3a97b65c..91c4c262a95dceb5abe19a7bdb8e00ba2ed2807d 100644
(file)
--- a/
plugin/theme/site.py
+++ b/
plugin/theme/site.py
@@
-25,6
+25,12
@@
class SiteTheme(ThemeBase):
return ThemeBase.searchform(self, d)
else:
return ''
return ThemeBase.searchform(self, d)
else:
return ''
+
+ def navibar(self, d):
+ if self.request.user.valid:
+ return ThemeBase.navibar(self, d)
+ else:
+ return ''
def header(self, d, **kw):
""" Assemble wiki header
def header(self, d, **kw):
""" Assemble wiki header