summaryrefslogtreecommitdiff
path: root/doc/bugs/Add_a_footer_div_on_all_pages_to_improve_theming.mdwn
blob: c694599bf24d2e5ea126abd138ac57e2f8387dfe (plain)

The following patch adds a footer div on all pages to ease CSS themeing. Indeed, the misc.tmpl, recentchanges.tmpl and editpage.tmpl templates lack such a div.

So, the problem with this is that the default css inserts a horizontal line at the top of the footer div, and putting an empty footer on these other pages looks a bit weird. Any idea how to get around that? --[[Joey]]

This patch is against current svn.

Index: templates/recentchanges.tmpl
===================================================================
--- templates/recentchanges.tmpl        (révision 3543)
+++ templates/recentchanges.tmpl        (copie de travail)
@@ -64,6 +64,8 @@
 </div>
 
 <!-- from <TMPL_VAR NAME=WIKINAME> -->
+<div id="footer">
+</div>
 
 </body>
 </html>
Index: templates/editpage.tmpl
===================================================================
--- templates/editpage.tmpl     (révision 3543)
+++ templates/editpage.tmpl     (copie de travail)
@@ -86,5 +86,7 @@
 <TMPL_VAR PAGE_PREVIEW>
 </div>
 </TMPL_IF>
+<div id="footer">
+</div>
 </body>
 </html>
Index: templates/misc.tmpl
===================================================================
--- templates/misc.tmpl (révision 3543)
+++ templates/misc.tmpl (copie de travail)
@@ -22,6 +22,8 @@
<div id="content">
 <TMPL_VAR PAGEBODY>
 </div>
+<div id="footer">
+</div>
 
 </body>
 </html>