Trucs a momo qui commite pas.
On vire le patch "IE7". darcs-hash:20060414210756-d1718-063b09f10902fe0578450d60618201c2acb92170.gz
This commit is contained in:
parent
f0da1a6c37
commit
7ba6b598cf
1 changed files with 5 additions and 13 deletions
|
@ -15,7 +15,7 @@ class Theme(ThemeBase):
|
||||||
|
|
||||||
name = "crans-www"
|
name = "crans-www"
|
||||||
|
|
||||||
# Standard set of style sheets
|
# Liste des feuilles de style
|
||||||
stylesheets = (
|
stylesheets = (
|
||||||
# media basename
|
# media basename
|
||||||
('all', 'common'),
|
('all', 'common'),
|
||||||
|
@ -25,6 +25,7 @@ class Theme(ThemeBase):
|
||||||
# ('projection', 'projection'),
|
# ('projection', 'projection'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# liste des liens du menu
|
||||||
menu_links = [
|
menu_links = [
|
||||||
# tire #lien
|
# tire #lien
|
||||||
(u"Accueil", u"http://www.crans.org/"),
|
(u"Accueil", u"http://www.crans.org/"),
|
||||||
|
@ -34,9 +35,10 @@ class Theme(ThemeBase):
|
||||||
(u"Pages persos", u"http://www.crans.org/PagesPerso"),
|
(u"Pages persos", u"http://www.crans.org/PagesPerso"),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Chemin des badges
|
||||||
badgesPath = u'/wiki/common/badges/'
|
badgesPath = u'/wiki/common/badges/'
|
||||||
|
|
||||||
|
# liste des badges
|
||||||
support_badges = [
|
support_badges = [
|
||||||
# page, # image # alt text
|
# page, # image # alt text
|
||||||
(u'http://www.firefox.fr/', u'badges_80x15_firefox.png', u'Get firefox'),
|
(u'http://www.firefox.fr/', u'badges_80x15_firefox.png', u'Get firefox'),
|
||||||
|
@ -46,7 +48,6 @@ class Theme(ThemeBase):
|
||||||
(u'http://www.crans.org/', u'badges_80x15_crans.png', u'Cr@ns powered'),
|
(u'http://www.crans.org/', u'badges_80x15_crans.png', u'Cr@ns powered'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
# Public functions #####################################################
|
# Public functions #####################################################
|
||||||
|
|
||||||
def header(self, d, **kw):
|
def header(self, d, **kw):
|
||||||
|
@ -56,12 +57,6 @@ class Theme(ThemeBase):
|
||||||
making sure the main content arrives first.
|
making sure the main content arrives first.
|
||||||
"""
|
"""
|
||||||
html = [
|
html = [
|
||||||
u'<!-- compliance patch for microsoft browsers -->',
|
|
||||||
u'<!--[if lt IE 7]>',
|
|
||||||
u'<script src="/wiki/crans-www/ie7/ie7-standard-p.js" type="text/javascript">',
|
|
||||||
u'IE7_BOX_MODEL = false; IE7_PNG_SUFFIX = ".png";',
|
|
||||||
u'</script>',
|
|
||||||
u'<![endif]-->',
|
|
||||||
u'<div id="globalWrapper">',
|
u'<div id="globalWrapper">',
|
||||||
self.logo(),
|
self.logo(),
|
||||||
u'<div id="column-content">',
|
u'<div id="column-content">',
|
||||||
|
@ -398,9 +393,6 @@ class Theme(ThemeBase):
|
||||||
""" Override to include the editbar on edit/preview pages.
|
""" Override to include the editbar on edit/preview pages.
|
||||||
(at the risk that the user may accidentally cancel an edit)
|
(at the risk that the user may accidentally cancel an edit)
|
||||||
"""
|
"""
|
||||||
if (page.exists(includeDeleted=1) and
|
|
||||||
self.request.user.may.read(page.page_name)):
|
|
||||||
return True
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue