Corrections diverses
darcs-hash:20061216135446-f46e9-bd0514bff5bd4796727f86c460c32dca7a11a1bd.gz
This commit is contained in:
parent
aa7dc31615
commit
57435239cf
3 changed files with 7 additions and 7 deletions
|
@ -432,16 +432,18 @@ class ThemeCrans(ThemeBase):
|
|||
"""
|
||||
# common prefix for static content
|
||||
prefix = self.cfg.url_prefix
|
||||
open_search_desc = """
|
||||
open_search_desc = u"""
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="%(page)s?action=opensearch&searchtype=Titres" title="%(sitename)s, Rechercher dans les titres" />
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="%(page)s?action=opensearch&searchtype=Texte" title="%(sitename)s, Rechercher dans le texte" />
|
||||
""" % {'page':self.request.path_info, 'sitename':d['sitename']}
|
||||
|
||||
#d['page'].request.script_name, 'sitename':d['sitename']}
|
||||
|
||||
classic_head = ThemeBase.html_head(self, d)
|
||||
return classic_head + open_search_desc + str(self.request.path_info)
|
||||
|
||||
return classic_head + open_search_desc
|
||||
|
||||
|
||||
|
||||
|
||||
class Theme(ThemeCrans):
|
||||
|
||||
name = "crans"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue