master
Joey Hess 2008-04-10 19:54:38 -04:00
parent 92e39d7391
commit 2718fc2b25
2 changed files with 3 additions and 1 deletions

View File

@ -23,3 +23,5 @@ Errr... That is not a solution, that is a work around. ikiwiki does not hard cod
I noticed the links to the images on <http://ikiwiki.info/recentchanges/> are also absolute, that is <http://ikiwiki.info/wikiicons/diff.png>; this seems surprising, as the change.tmpl file uses &lt;TMPL_VAR BASEURL&gt;
which seems to do the right thing in page.tmpl, but not for change.tmpl. Where is BASEURL set? -- Brian May
> The use of an absolute baseurl in change.tmpl is a special case. --[[Joey]]

View File

@ -7,7 +7,7 @@
<span class="desc"><br />Changed pages:</span>
<span class="pagelinks">
<TMPL_LOOP NAME="PAGES">
<TMPL_IF NAME="DIFFURL"><a href="<TMPL_VAR DIFFURL>"><img alt="diff" src="<TMPL_VAR BASEURL>wikiicons/diff.png" /></a><TMPL_VAR LINK>
<TMPL_IF NAME="DIFFURL"><a href="<TMPL_VAR DIFFURL>">[[diff|wikiicons/diff.png]]</a><TMPL_VAR LINK>
<TMPL_ELSE>
<TMPL_VAR LINK>
</TMPL_IF>