diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2008-11-14 00:07:38 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2008-11-14 00:07:38 +0100 |
commit | 84bac506a38900563a938ecc97ec638dda736f02 (patch) | |
tree | e3356804331355cc19920d23598bdb21e7bf9198 /.templates | |
parent | 02bcc0768865302843ef96183f825a2453dd5d12 (diff) | |
parent | 8f929bde2919c770b1f26397567526626e0683f2 (diff) | |
download | web-84bac506a38900563a938ecc97ec638dda736f02.tar.gz web-84bac506a38900563a938ecc97ec638dda736f02.tar.bz2 web-84bac506a38900563a938ecc97ec638dda736f02.zip |
Merge branch 'homepage'
Diffstat (limited to '.templates')
-rw-r--r-- | .templates/newsitem.tmpl | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/.templates/newsitem.tmpl b/.templates/newsitem.tmpl new file mode 100644 index 00000000..1c8f2ae8 --- /dev/null +++ b/.templates/newsitem.tmpl @@ -0,0 +1,78 @@ +<div class="newsitem"> + +<div class="newsitemheader"> + +<TMPL_IF NAME="AUTHOR"> +<span class="author"> +<TMPL_IF NAME="AUTHORURL"> +<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a> +<TMPL_ELSE> +<TMPL_VAR AUTHOR> +</TMPL_IF> +</span> +</TMPL_IF> +<span class="header"> +<TMPL_IF NAME="PERMALINK"> +<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a> +<TMPL_ELSE> +<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a> +</TMPL_IF> +</span> +<TMPL_IF NAME="HAVE_ACTIONS"> +<div class="actions"> +<ul> +<TMPL_IF NAME="EDITURL"> +<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li> +</TMPL_IF> +<TMPL_IF NAME="DISCUSSIONLINK"> +<li><TMPL_VAR DISCUSSIONLINK></li> +</TMPL_IF> +</ul> +</div><!--.actions--> +</TMPL_IF> + +</div><!--.newsitemheader--> + +<div class="newsitemcontent"> +<TMPL_VAR CONTENT> +</div><!--.newsitemcontent--> + +<div class="newsitemfooter"> + +<!-- The saved space is more important that the information this provides. + +<span class="pagedate"> +Posted <TMPL_VAR CTIME> +</span> + +--> + +<TMPL_IF NAME="TAGS"> +<span class="tags"> +Tags: +<TMPL_LOOP NAME="TAGS"> +<TMPL_VAR LINK> +</TMPL_LOOP> +</span> +</TMPL_IF> + +<!-- For these tiny snippets we can abstain from displaying this again. It +should match the inlining page's information nevertheless. + +<TMPL_IF COPYRIGHT> +<div class="pagecopyright"> +<TMPL_VAR COPYRIGHT> +</div> +</TMPL_IF> + +<TMPL_IF LICENSE> +<div class="pagelicense"> +License: <TMPL_VAR LICENSE> +</div> +</TMPL_IF> + +--> + +</div><!--.newsitemfooter--> + +</div><!--.newsitem--> |