Subversion Repositories Applications.papyrus

Rev

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

Rev Author Line No. Line
433 ddelon 1
<?php
2
if ($test=$_REQUEST["text"]) {
3
    print "";
4
}
5
else if ($lines = file($text)) {
6
	foreach ($lines as $line) {
7
	// To avoid loop:ignore inclusion of other raw link
8
		if (!(preg_match("/^\[\[\|(\S*)(\s+(.+))?\]\]$/", $line, $matches)))
9
			print $line;
10
	}
11
}
12
?>