~jacob-roeland/ignition/trunk

« back to all changes in this revision

Viewing changes to i-show.php

  • Committer: Jacob Roeland
  • Date: 2010-04-05 01:33:24 UTC
  • Revision ID: jacob@jacob-laptop-20100405013324-3pw46ri87ukw8eu7
Sending in the first revision for i-write, the new writing page

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
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
18
 
//TODO - Get a lightbox or something like it
19
 
//$post = preg_replace ("/\[\[([^\|]+)\|([^\]\]]+)\]\]/i", "<a href=\"$1\" title=\"$2\" class=\"thickbox\"><img src=\"$1\" alt=\"$2\" width=\"100\" height=\"100\" /></a>", $post); // Thickbox
20
18
 
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) {