From 2c9d3b2936e8bb21443f62caed38e2bc12151349 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Thu, 1 Dec 2005 19:47:54 +0000 Subject: [PATCH] Use requireJS* and requireCSS* API to add JS and CSS. --- templates/ktcore/boolean_search.smarty | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/templates/ktcore/boolean_search.smarty b/templates/ktcore/boolean_search.smarty index d66fc64..f92e42a 100644 --- a/templates/ktcore/boolean_search.smarty +++ b/templates/ktcore/boolean_search.smarty @@ -1,25 +1,24 @@ - - - - - - - - - - +{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/Base.js")} +{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/DateTime.js")} +{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/Iter.js")} +{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/DOM.js")} +{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/Async.js")} +{$context->oPage->requireJSResource("presentation/lookAndFeel/knowledgeTree/js/taillog.js")} +{$context->oPage->requireJSResource("presentation/lookAndFeel/knowledgeTree/js/constructed_search.js")} + +{capture assign=sJS} {literal} - - - - - {/literal} +{/capture} +{$context->oPage->requireCSSStandalone($sCSS)}