From 089e221c2345c2f016119de9d1cea4b36f97c75e Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Mon, 18 May 2026 09:40:11 +0100 Subject: Rework to use jquery and drop mockikit as yet untested --- includes/view_board_inc.php | 2 -- includes/view_topic_inc.php | 3 --- templates/html_head_inc.tpl | 15 +++++++-------- templates/post_display.tpl | 34 ++++------------------------------ 4 files changed, 11 insertions(+), 43 deletions(-) diff --git a/includes/view_board_inc.php b/includes/view_board_inc.php index 035fae0..90fdd11 100755 --- a/includes/view_board_inc.php +++ b/includes/view_board_inc.php @@ -112,7 +112,5 @@ $gBitSmarty->assign( 'listInfo', $threadsListHash['listInfo'] ); $gBitSmarty->assign( 'board', $gContent ); $gBitSmarty->assign( 'cat_url', BOARDS_PKG_URL."index.php"); //?ct=".urlencode($gContent->mInfo['content_type_guid'])); -$gBitThemes->loadAjax( 'mochikit' ); - // Display the template $gBitSystem->display( 'bitpackage:boards/list_topics.tpl', KernelTools::tra( 'Message Board Threads: ' . $gContent->getField('title') ) , [ 'display_mode' => 'display' ]); \ No newline at end of file diff --git a/includes/view_topic_inc.php b/includes/view_topic_inc.php index 8c76fea..226a4c3 100755 --- a/includes/view_topic_inc.php +++ b/includes/view_topic_inc.php @@ -123,7 +123,4 @@ if (!empty($_REQUEST['warning'])) { } $gBitSmarty->assign('warnings',$warnings); -// ajax support -$gBitThemes->loadAjax( 'mochikit' ); - $gBitSystem->display('bitpackage:boards/list_posts.tpl', "Show Thread: " . $thread->getField('title') , [ 'display_mode' => 'display' ]); diff --git a/templates/html_head_inc.tpl b/templates/html_head_inc.tpl index 1cac695..3ff90f4 100755 --- a/templates/html_head_inc.tpl +++ b/templates/html_head_inc.tpl @@ -1,7 +1,6 @@ {if $gBitSystem->getActivePackage() == 'boards'} - {/if} {/if} -- cgit v1.3