Subversion Repositories taios

Compare Revisions

Ignore whitespace Rev 67 → Rev 69

/_taios.php
115,7 → 115,7
function drawBlogPostTree($id)
{
$post = $this->getBlogPost($id);
write('<h3>' . $post->title. '</h3>');
write('<a href="' . $id . '"><h3>' . $post->title. '</h3></a>');
write('<h5 style="color: #666666;">Posted On ' . date('l j F Y', $post->datePosted) . ' by ' . $post->user->name . ' (' . $post->user->username . ')</h5>');
write('<p>' . $post->content . '</p>');
 
/blog/index.php
18,7 → 18,7
if (isset($_GET['cat']))
{
$query = $query . ' AND Category = "' . $_GET['cat'] . '"';
write('<p>Only showing blog posts from the ' . $_GET['cat'] . ' category.</p><br />');
write('<p>Only showing blog posts from the ' . $_GET['cat'] . ' category. <a href="index.php">Reset Filtering</a></p><br />');
}
 
$ids = $page->findIDs('BlogPosts', $query);