Template:Pod: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
m (fix)
(add new template)
Line 3: Line 3:
  <nowiki>{{pod|Amanda::Changer}}</nowiki> -> {{pod|Amanda::Changer}}
  <nowiki>{{pod|Amanda::Changer}}</nowiki> -> {{pod|Amanda::Changer}}
  <nowiki>{{pod}}</nowiki> -> {{pod}}
  <nowiki>{{pod}}</nowiki> -> {{pod}}
</noinclude>[http://wiki.zmanda.com/pod/redirect.php?pod={{{1}}} {{{1}}}]<noinclude>
</noinclude>[http://github.com/zmanda/amanda/blob/master/{{{1}}} {{{1}}}]
Note that the contents of <tt>redirect.php</tt> are:
<pre>
<?php
if ($_GET['pod']) {
        header("Location: /pod/" . str_replace("::", "/", $_GET['pod']) . ".html");
} else {
        header("Location: /pod/");
}
</pre>
</noinclude>

Revision as of 16:16, 12 April 2010

Use this template like this:

{{pod|Amanda::Changer}} -> Amanda::Changer
{{pod}} -> {{{1}}}

{{{1}}}