erreur de frappe ?
darcs-hash:20061217082944-f46e9-55325525363a3e6080d50c108c960cb62827f4ae.gz
This commit is contained in:
parent
fcb4afe717
commit
78d4ba6338
3 changed files with 10 additions and 11 deletions
|
@ -937,7 +937,7 @@ space between words. Group page name is not allowed.""") % self.user.name
|
|||
|
||||
#### DEBUT HACK : pour le www, on redirige vers du www
|
||||
if self.remote_addr in self.cfg.ip_url_replace.keys():
|
||||
url = url.replace(self.cfg.ip_url_replace[self.remote_addr][0],self.cfg.ip-url_replace[self.remote_addr][1])
|
||||
url = url.replace(self.cfg.ip_url_replace[self.remote_addr][0],self.cfg.ip_url_replace[self.remote_addr][1])
|
||||
#### FIN DU HACK
|
||||
|
||||
self.http_headers(["Status: 302", "Location: %s" % url])
|
||||
|
|
|
@ -34,7 +34,7 @@ pre {
|
|||
#message {
|
||||
background:transparent url(../img/translucide2.png) repeat;
|
||||
border:1px solid #232323;
|
||||
margin:0 auto;
|
||||
margin:1em auto;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
|
|
|
@ -62,14 +62,6 @@ class Theme(ThemeBase):
|
|||
making sure the main content arrives first.
|
||||
"""
|
||||
parent = d['page'].getParentPage()
|
||||
html = [
|
||||
u'<div id="globalWrapper">',
|
||||
self.logo(),
|
||||
u'<div id="column-content">',
|
||||
self.startPage(),
|
||||
self.msg(d)
|
||||
]
|
||||
|
||||
title = [
|
||||
self.title(d)[:-6], # On enlève </h1>
|
||||
parent and wikiutil.link_tag(self.request,
|
||||
|
@ -77,10 +69,17 @@ class Theme(ThemeBase):
|
|||
u'<img src="/wiki/crans-www/img/go-up.png" alt="Haut">') or u'',
|
||||
u'</h1>'
|
||||
]
|
||||
html = [
|
||||
u'<div id="globalWrapper">',
|
||||
self.logo(),
|
||||
u'<div id="column-content">',
|
||||
self.startPage(),
|
||||
]
|
||||
|
||||
|
||||
if d['page'].page_name != 'VieCrans' :
|
||||
html += title
|
||||
|
||||
html += [self.msg(d)]
|
||||
return u'\n'.join(html)
|
||||
|
||||
def footer(self, d, **keywords):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue