]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/Add_a_footer_div_on_all_pages_to_improve_theming.mdwn
response
[ikiwiki.git] / doc / bugs / Add_a_footer_div_on_all_pages_to_improve_theming.mdwn
1 The following patch adds a footer div on all pages to ease CSS themeing.
2 Indeed, the misc.tmpl, recentchanges.tmpl and editpage.tmpl templates lack such a div.
3
4 > So, the problem with this is that the default css inserts a horizontal
5 > line at the top of the footer div, and putting an empty footer on these
6 > other pages looks a bit weird. Any idea how to get around that?
7 > --[[Joey]]
8
9 This patch is against current svn.
10
11         Index: templates/recentchanges.tmpl
12         ===================================================================
13         --- templates/recentchanges.tmpl        (révision 3543)
14         +++ templates/recentchanges.tmpl        (copie de travail)
15         @@ -64,6 +64,8 @@
16          </div>
17          
18          <!-- from <TMPL_VAR NAME=WIKINAME> -->
19         +<div id="footer">
20         +</div>
21          
22          </body>
23          </html>
24         Index: templates/editpage.tmpl
25         ===================================================================
26         --- templates/editpage.tmpl     (révision 3543)
27         +++ templates/editpage.tmpl     (copie de travail)
28         @@ -86,5 +86,7 @@
29          <TMPL_VAR PAGE_PREVIEW>
30          </div>
31          </TMPL_IF>
32         +<div id="footer">
33         +</div>
34          </body>
35          </html>
36         Index: templates/misc.tmpl
37         ===================================================================
38         --- templates/misc.tmpl (révision 3543)
39         +++ templates/misc.tmpl (copie de travail)
40         @@ -22,6 +22,8 @@
41         <div id="content">
42          <TMPL_VAR PAGEBODY>
43          </div>
44         +<div id="footer">
45         +</div>
46          
47          </body>
48          </html>