aboutsummaryrefslogtreecommitdiff
path: root/modules/news
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-26 15:02:05 -0500
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2009-12-26 15:02:05 -0500
commit07253dc75c69cf585ad39a218f3f2cf97b773987 (patch)
treedcb152c85daa4d3d96fb86ac9e6798c40ffeb6cb /modules/news
parent512e7ab3acb0fd0463d680eb9fea286f15e4864d (diff)
downloadbayonetcms-07253dc75c69cf585ad39a218f3f2cf97b773987.tar.gz
commit before joe fucks shit
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@401 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'modules/news')
-rw-r--r--modules/news/functions.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/news/functions.php b/modules/news/functions.php
index ee4345d..b76a53e 100644
--- a/modules/news/functions.php
+++ b/modules/news/functions.php
@@ -49,7 +49,7 @@ function getNewsComments($id){
function displayComments($data){
date_default_timezone_set("America/New_York");
- OpenTable();
+ OpenContent();
?>
<div id="comments">
@@ -104,7 +104,7 @@ function displayComments($data){
commentForm();
- CloseTable();
+ CloseContent();
}
/**
@@ -164,7 +164,7 @@ function displayNews($data){
{
$numComments = getNumOfComments($news['news_id']);
- OpenTable(); ?>
+ OpenContent(); ?>
<div class="contentHeading">
<table width="100%">
@@ -190,7 +190,7 @@ function displayNews($data){
</div>
<?php
- CloseTable();
+ CloseContent();
echo "<br />";
}
}
@@ -245,7 +245,7 @@ function commentForm(){
?>
<br><span><?php echo date('F jS', time()); ?></span></p>
</div>
- <form action="<?php $_SERVER['PHP_SELF']?>" method="POST" id="comment_form">
+ <form action="<?php $_SERVER['PHP_SELF']; ?>" method="POST" id="comment_form">
<!-- <fieldset> -->
<textarea name="comment" id="comment" rows="8" cols="10" tabindex="1" class="input textarea required"></textarea>
<input type="hidden" value="<?php echo $cur_user_id; ?>" name="author" />