root/trunk/includes/formatters/raw.php
| Revision 1, 263 bytes (checked in by anonymous, 7 years ago) |
|---|
| Line | |
|---|---|
| 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 | ?> |
Note: See TracBrowser
for help on using the browser.
