diff options
| author | Hash9 <hash9@users.sourceforge.net> | 2006-07-12 17:00:33 +0000 |
|---|---|---|
| committer | Hash9 <hash9@users.sourceforge.net> | 2006-07-12 17:00:33 +0000 |
| commit | 08bf61461f4a7138f2a9fa1721ee80691032d32b (patch) | |
| tree | 3caaac62ed46d8feb56c19fd2adac24c49a330b0 /ajax.php | |
| parent | 89324a0abef2594c09965cb0e3166e3e7121b596 (diff) | |
| download | boards-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.php | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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'); |
