utilisation d'un theme diffrent pour www.crans.org
darcs-hash:20060424140308-4ec08-9667eaaa85aadd11412e3fab569db37ad247e6c0.gz
This commit is contained in:
parent
a4c3c4b0a1
commit
27858f7a1c
1 changed files with 5 additions and 0 deletions
|
@ -123,8 +123,13 @@ class RequestBase:
|
|||
# Set theme - forced theme, user theme or wiki default
|
||||
if self.cfg.theme_force:
|
||||
theme_name = self.cfg.theme_default
|
||||
#### DEBUT HACK : Utilisation d'un thème différent pour www.crans.org
|
||||
if self.remote_addr == '138.231.136.3':
|
||||
theme_name = self.cfg.theme_www
|
||||
#### FIN DU HACK
|
||||
else:
|
||||
theme_name = self.user.theme_name
|
||||
|
||||
self.loadTheme(theme_name)
|
||||
|
||||
self.args = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue