Template:Pod: Difference between revisions

From wiki.zmanda.com
Jump to navigation Jump to search
(pod link with redirect)
(Undo revision 7345 by Dustin (Talk))
 
(2 intermediate revisions by the same user not shown)
Line 13: Line 13:
}
}
</pre>
</pre>
</nowiki>
</noinclude>

Latest revision as of 16:18, 12 April 2010

Use this template like this:

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

{{{1}}} Note that the contents of redirect.php are:

<?php
if ($_GET['pod']) {
        header("Location: /pod/" . str_replace("::", "/", $_GET['pod']) . ".html");
} else {
        header("Location: /pod/");
}