16
16
//Custom - Can't use textile to make all html needed such as lightbox and mp3player. Custom code instead used below.
17
17
$post = preg_replace_callback ("/\{\{([a-zA-Z_0-9\.\-\/\:]+)\}\}/", filesys, $post); // Filesys handling this
19
//$post = preg_replace ("/\[\[([^\|]+)\|([^\]\]]+)\]\]/i", "<a href=\"$1\" title=\"$2\" class=\"thickbox\"><img src=\"$1\" alt=\"$2\" width=\"100\" height=\"100\" /></a>", $post); // Thickbox
21
19
// Grab the comments of each post and decide how we should tell them how many comments
22
20
foreach (glob('data/comments/'.$id.'/*.txt') as $nada) {