Skip to content

Commit

Permalink
Item113: the first 16 css classes
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/RedirectPlugin@1090 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ArthurClemens authored and ArthurClemens committed Nov 30, 2008
1 parent da40955 commit a9ae04b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/TWiki/RedirectPlugin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ A redirect now appends the =redirectedfrom= parameter to the url which contains
Below is an example you can put in your template:

<verbatim>
%IF{ "$'URLPARAM{redirectedfrom}'" then="<span class='twikiGrayText'>(Redirected from <a href='%SCRIPTURLPATH{view}%/%URLPARAM{redirectedfrom}%?noredirect=on'>%URLPARAM{redirectedfrom}%</a>)</span>"}%
%IF{ "$'URLPARAM{redirectedfrom}'" then="<span class='foswikiGrayText'>(Redirected from <a href='%SCRIPTURLPATH{view}%/%URLPARAM{redirectedfrom}%?noredirect=on'>%URLPARAM{redirectedfrom}%</a>)</span>"}%
</verbatim>

Which will display the following on topics that have been redirected:

<span class="twikiGrayText">(Redirected from <a href="?noredirect=on">Web.Topic</a>)</span>
<span class="foswikiGrayText">(Redirected from <a href="?noredirect=on">Web.Topic</a>)</span>

---++ Related Topics
* http://twiki.org/cgi-bin/view/Codev/RedirectPage
Expand Down

0 comments on commit a9ae04b

Please sign in to comment.