diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-10-17 20:47:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-10-17 20:47:32 -0400 |
commit | 7390a7a0721d9985c88efec1fd0e3a19d0368c82 (patch) | |
tree | 5573d9a86849bb3d180ad26132e8f1abf6fdd53c /templates | |
parent | 9a62836d288fbced42b04a172baf52063ef71c61 (diff) |
relativedate: New javascript-alicious plugin that makes all dates display relative, in a very nice way, if I say so myself.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/inlinepage.tmpl | 8 | ||||
-rw-r--r-- | templates/page.tmpl | 14 |
2 files changed, 11 insertions, 11 deletions
diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl index ffcb897a8..3f640fcdd 100644 --- a/templates/inlinepage.tmpl +++ b/templates/inlinepage.tmpl @@ -5,9 +5,9 @@ <TMPL_IF NAME="AUTHOR"> <span class="author"> <TMPL_IF NAME="AUTHORURL"> -<a href="<TMPL_VAR NAME=AUTHORURL>"><TMPL_VAR NAME=AUTHOR></a> +<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a> <TMPL_ELSE> -<TMPL_VAR NAME=AUTHOR> +<TMPL_VAR AUTHOR> </TMPL_IF> </span> </TMPL_IF> @@ -28,14 +28,14 @@ <div class="inlinefooter"> <span class="pagedate"> -Posted <TMPL_VAR CTIME> +Posted <span class="date" title="<TMPL_VAR CTIME_RAW>"><TMPL_VAR CTIME></span> </span> <TMPL_IF NAME="TAGS"> <span class="tags"> Tags: <TMPL_LOOP NAME="TAGS"> -<TMPL_VAR NAME=LINK> +<TMPL_VAR LINK> </TMPL_LOOP> </span> </TMPL_IF> diff --git a/templates/page.tmpl b/templates/page.tmpl index f2f9c34cc..7456e9e41 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -22,7 +22,7 @@ <span> <span class="parentlinks"> <TMPL_LOOP NAME="PARENTLINKS"> -<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a>/ +<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/ </TMPL_LOOP> </span> <span class="title"> @@ -74,7 +74,7 @@ <div class="tags"> Tags: <TMPL_LOOP NAME="TAGS"> -<TMPL_VAR NAME=LINK> +<TMPL_VAR LINK> </TMPL_LOOP> </div> </TMPL_IF> @@ -83,13 +83,13 @@ Tags: <div id="backlinks"> Links: <TMPL_LOOP NAME="BACKLINKS"> -<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a> +<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> </TMPL_LOOP> <TMPL_IF NAME="MORE_BACKLINKS"> <span class="popup">... <span class="balloon"> <TMPL_LOOP NAME="MORE_BACKLINKS"> -<a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a> +<a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> </TMPL_LOOP> </span> </span> @@ -112,13 +112,13 @@ License: <TMPL_VAR LICENSE> </TMPL_IF> <div class="pagedate"> -Last edited <TMPL_VAR NAME=MTIME> -<!-- Created <TMPL_VAR NAME=CTIME> --> +Last edited <span class="date" title="<TMPL_VAR MTIME_RAW>"><TMPL_VAR MTIME></span> +<!-- Created <TMPL_VAR CTIME> --> </div> </div><!-- #pageinfo --> <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF> -<!-- from <TMPL_VAR NAME=WIKINAME> --> +<!-- from <TMPL_VAR WIKINAME> --> </div><!-- .pagefooter #footer --> </body> |