Subversion Repositories Applications.papyrus

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

<?php
if ($test=$_REQUEST["text"]) {
    print "";
}
else if ($lines = file($text)) {
        foreach ($lines as $line) {
        // To avoid loop:ignore inclusion of other raw link
                if (!(preg_match("/^\[\[\|(\S*)(\s+(.+))?\]\]$/", $line, $matches)))
                        print $line;
        }
}
?>