diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-05-11 20:09:58 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-05-11 20:09:58 +0000 |
commit | 190202dd4ee8c11dc60d5fa801ca19b4b7b0e3f6 (patch) | |
tree | e9a6f619bee6f43fd762cb186b8791ca59b39e8d /templates | |
parent | 02fd4b9f337dc8d88c47c13be7591f6e4b8949de (diff) | |
download | ikiwiki-190202dd4ee8c11dc60d5fa801ca19b4b7b0e3f6.tar ikiwiki-190202dd4ee8c11dc60d5fa801ca19b4b7b0e3f6.tar.gz |
* Make all templates have a footer div to ease themeing. Required template
and style sheet updates, and unless you're using customised versions,
you'll want to rebuild wikis on upgrade to this version to avoid
inconsistencies.
* Allow WIKINAME to to used in footers, as an example of something to put
there.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/editpage.tmpl | 3 | ||||
-rw-r--r-- | templates/inlinepage.tmpl | 2 | ||||
-rw-r--r-- | templates/misc.tmpl | 4 | ||||
-rw-r--r-- | templates/page.tmpl | 6 | ||||
-rw-r--r-- | templates/recentchanges.tmpl | 2 |
5 files changed, 14 insertions, 3 deletions
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl index 02951210f..08f160881 100644 --- a/templates/editpage.tmpl +++ b/templates/editpage.tmpl @@ -86,5 +86,8 @@ Optional comment about this change:<br /> <TMPL_VAR PAGE_PREVIEW> </div> </TMPL_IF> +<div id="footer"> +<!-- from <TMPL_VAR NAME=WIKINAME> --> +</div> </body> </html> diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl index 26889ac93..e1943baec 100644 --- a/templates/inlinepage.tmpl +++ b/templates/inlinepage.tmpl @@ -17,7 +17,7 @@ </span> <TMPL_VAR CONTENT> -<span class="pageinfo"> +<span class="pagedate"> Posted <TMPL_VAR CTIME> </span> diff --git a/templates/misc.tmpl b/templates/misc.tmpl index 56be11107..32e2c934e 100644 --- a/templates/misc.tmpl +++ b/templates/misc.tmpl @@ -23,5 +23,9 @@ <TMPL_VAR PAGEBODY> </div> +<div id="footer"> +<!-- from <TMPL_VAR NAME=WIKINAME> --> +</div> + </body> </html> diff --git a/templates/page.tmpl b/templates/page.tmpl index 5b3c90b5b..fd44a53be 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -59,6 +59,7 @@ </div> <div id="footer"> +<div id="pageinfo"> <TMPL_IF NAME="TAGS"> <div class="tags"> @@ -87,12 +88,13 @@ Links: </div> </TMPL_IF> -<div class="pageinfo"> -<!-- from <TMPL_VAR NAME=WIKINAME> --> +<div class="pagedate"> Last edited <TMPL_VAR NAME=MTIME> </div> +</div> <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF> +<!-- from <TMPL_VAR NAME=WIKINAME> --> </div> </body> diff --git a/templates/recentchanges.tmpl b/templates/recentchanges.tmpl index b02ac4bf5..e954503f8 100644 --- a/templates/recentchanges.tmpl +++ b/templates/recentchanges.tmpl @@ -63,7 +63,9 @@ </table> </div> +<div id="footer"> <!-- from <TMPL_VAR NAME=WIKINAME> --> +</div> </body> </html> |