Added support for post modification and time of modification reporting.

svn path=/trunk/boinc/; revision=1744
This commit is contained in:
David Anderson 2003-07-19 00:27:42 +00:00
parent 700b08c992
commit e45ed9f007
1 changed files with 3 additions and 1 deletions

View File

@ -50,7 +50,9 @@ $logged_in_user = get_logged_in_user(false);
</p>
</td>
<td>
<p style="font-size:8pt">Posted: <?php echo date('D M j, Y g:i a', $post->timestamp) ?><?php /*if ($can_edit) echo "&nbsp;<a href=\"edit.php?id=$post->id\">[<i>Edit this post</i>]</a>"*/ ?></p>
<p style="font-size:8pt">Posted: <?php echo date('D M j, Y g:i a', $post->timestamp) ?><?php if ($can_edit) echo "&nbsp;<a href=\"edit.php?id=$post->id\">[<i>Edit this post</i>]</a>" ?>
<?php if ($post->modified) echo "<br>Last Modified: ", date('D M j, Y g:i a', $post->modified) ?>
</p>
<p><?php echo nl2br(stripslashes($post->content)) ?></p>
</td>