diff options
author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-29 00:36:23 -0500 |
---|---|---|
committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-29 00:36:23 -0500 |
commit | ad6ba256efd1a65fb1bb3951ae6b17b1593205b7 (patch) | |
tree | 19ffc9be7bbd6a542883a5e4dd889ed5c52e6b5e /admin/news | |
parent | 1b435e3b3a66d10b4dcc28d03e90b49d132ba7b5 (diff) | |
download | bayonetcms-ad6ba256efd1a65fb1bb3951ae6b17b1593205b7.tar.gz |
(OC)
Fixed includes/functions::GetBlocks() so that left and right are 0 and 1.
Also fixed the query so that it doesnt get every block, just the active blocks for the defined side.
Re-did some display on the admin side for blocks.
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@408 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'admin/news')
-rw-r--r-- | admin/news/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/news/functions.php b/admin/news/functions.php index e8a7252..6feabcf 100644 --- a/admin/news/functions.php +++ b/admin/news/functions.php @@ -63,7 +63,7 @@ function EditNews($news_id){ <tr><th>Author</th><td><?php SelectAuthor($row['author_id']); ?></td></tr> <tr><th>Title</th><td><input type="text" name="title" value="<?php echo $row['title']; ?>" /></td></tr> <tr><th>Date</th><td><?php SelectDate($row['date']); ?></td></tr> - <tr><th>Time</th><td><input type="text" name="time" value="<?php echo substr($row['time'],0,-3); ?>" maxlength="5" size="5" /></td></tr> + <tr><th>Time</th><td><input type="text" name="time" value="<?php echo date('G:i', strtotime($row['date'])); ?>" maxlength="5" size="5" /></td></tr> <tr><th>Text</th><td><textarea id="markItUp" rows="30" cols="80" name="text"><?php echo $row['message']; ?></textarea></td> <tr><th colspan="2"><input type="submit" name="processed" value="Submit" /></th></tr> </table> |