diff options
author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-26 15:02:05 -0500 |
---|---|---|
committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-26 15:02:05 -0500 |
commit | 07253dc75c69cf585ad39a218f3f2cf97b773987 (patch) | |
tree | dcb152c85daa4d3d96fb86ac9e6798c40ffeb6cb /modules/page/index.php | |
parent | 512e7ab3acb0fd0463d680eb9fea286f15e4864d (diff) | |
download | bayonetcms-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/page/index.php')
-rw-r--r-- | modules/page/index.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/page/index.php b/modules/page/index.php index 68dbb62..abf559f 100644 --- a/modules/page/index.php +++ b/modules/page/index.php @@ -42,7 +42,7 @@ if(isset($_GET['list'])) } mysql_free_result($result); - OpenTable(); + OpenContent(); echo "<div class=\"contentHeading\">Page Map</div>"; echo "<div class=\"content\">"; echo "<ul>"; @@ -52,7 +52,7 @@ if(isset($_GET['list'])) } echo "</ul>"; echo "</div>"; - CloseTable(); + CloseContent(); /* Kill module execution to prevent odd page results */ return; @@ -76,7 +76,7 @@ if($proceed > 0) while(($row = $db->Fetch($result))!==false) { $page = $row; - OpenTable(); + OpenContent(); echo "<div class=\"content\">"; $aresult = $db->Query("SELECT * FROM `bayonet_articles` WHERE `page_id` = $id ORDER BY `weight` ASC"); while(($article = $db->Fetch($aresult))!==false) @@ -84,10 +84,10 @@ if($proceed > 0) $articleTitle = $article['title']; echo '<h2>'.$articleTitle.'</h2>'; //echo "<h3>".$article['title']."</h3>"; - echo BBCode($article['text']); + echo bbcode_format($article['text']); } echo "</div>"; - CloseTable(); + CloseContent(); } ?> |