X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5591d621b90855beeb5460f0ac11279d19835699..5ab0da9b217804ab87019f83d508c7f0ff44680a:/templates/blogpost.tmpl?ds=sidebyside diff --git a/templates/blogpost.tmpl b/templates/blogpost.tmpl index 22253d60b..9e49c474a 100644 --- a/templates/blogpost.tmpl +++ b/templates/blogpost.tmpl @@ -1,9 +1,16 @@ -<form action="<TMPL_VAR CGIURL>" method="get"> -<div id="blogform"> +<form <TMPL_IF POSTFORMID>id="<TMPL_VAR POSTFORMID ESCAPE=HTML>"</TMPL_IF> action="<TMPL_VAR CGIURL>" method="get"> +<div class="blogform"> +<TMPL_IF RSSURL> +<a class="feedbutton" type="application/rss+xml" rel="alternate" title="<TMPL_VAR RSSDESC>" href="<TMPL_VAR RSSURL>">RSS</a> +</TMPL_IF> +<TMPL_IF ATOMURL> +<a class="feedbutton" type="application/atom+xml" rel="alternate" title="<TMPL_VAR ATOMDESC>" href="<TMPL_VAR ATOMURL>">Atom</a> +</TMPL_IF> <input type="hidden" name="do" value="blog" /> <input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>" /> <input type="hidden" name="subpage" value="1" /> -Add a new post titled: <input name="title" size="40" /> +<TMPL_VAR POSTFORMTEXT> +<input name="title" size="40" /> <input type="submit" value="Edit" /> </div> </form>