summaryrefslogtreecommitdiff
path: root/ajax.php
diff options
context:
space:
mode:
authorHash9 <hash9@users.sourceforge.net>2006-07-12 17:00:33 +0000
committerHash9 <hash9@users.sourceforge.net>2006-07-12 17:00:33 +0000
commit08bf61461f4a7138f2a9fa1721ee80691032d32b (patch)
tree3caaac62ed46d8feb56c19fd2adac24c49a330b0 /ajax.php
parent89324a0abef2594c09965cb0e3166e3e7121b596 (diff)
downloadboards-08bf61461f4a7138f2a9fa1721ee80691032d32b.tar.gz
boards-08bf61461f4a7138f2a9fa1721ee80691032d32b.tar.bz2
boards-08bf61461f4a7138f2a9fa1721ee80691032d32b.zip
allow content to be assigned to boards and get some extra data for the queries, also get more templates for comments from liberty
Diffstat (limited to 'ajax.php')
-rw-r--r--ajax.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/ajax.php b/ajax.php
index 3160654..6d11b07 100644
--- a/ajax.php
+++ b/ajax.php
@@ -1,9 +1,9 @@
<?php
/**
* AJAX Function Call Stuff
- *
+ *
* reqs:
- * 1 - list all boards
+ * 1 - list all boards
* 2 - switch lock state on a given thread
* 3 - switch sticky state on a given thread
*/
@@ -13,6 +13,7 @@ require_once( '../bit_setup_inc.php' );
require_once( BITBOARDS_PKG_PATH.'BitBoardTopic.php' );
require_once( BITBOARDS_PKG_PATH.'BitBoardPost.php' );
require_once( BITBOARDS_PKG_PATH.'BitBoard.php' );
+require_once( BITBOARDS_PKG_PATH.'BitBoardForum.php' );
// Is package installed and enabled
$gBitSystem->verifyPackage( 'bitboards' );
@@ -86,7 +87,7 @@ set_error_handler("ajax_nice_error");
switch ($_GET['req']) {
case 1:
- $board = new BitBoard();
+ $board = new BitBoardForum();
$boardList=$board->getForumBoardSelectList();
$gBitSmarty->assign_by_ref('boardList',$boardList);
$gBitSmarty->display('bitpackage:bitboards/ajax.tpl');