]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/blob - lib/editlinks.php
The line-breaks in the file were screwed up somehow.
[SourceForge/phpwiki.git] / lib / editlinks.php
1 <!-- $Id: editlinks.php,v 1.1 2000-10-08 17:33:26 wainstead Exp $ -->
2 <?php
3    // Thanks to Alister <alister@minotaur.nu> for this code.
4    // This allows an arbitrary number of reference links.
5
6    $pagename = rawurldecode($links);
7    if (get_magic_quotes_gpc()) {
8       $pagename = stripslashes($pagename);
9    }
10    $pagehash = RetrievePage($dbi, $pagename, $WikiPageStore);
11    settype ($pagehash, 'array');
12
13    GeneratePage('EDITLINKS', "", $pagename, $pagehash);
14 ?>