From af876e0f3a66464588552eb95ab99f204fac2e65 Mon Sep 17 00:00:00 2001 From: nbm Date: Thu, 1 Dec 2005 19:21:53 +0000 Subject: [PATCH] Use requireJS* and requireCSS* to include css and javascript --- templates/ktcore/metadata/conditional/editsimple.smarty | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/templates/ktcore/metadata/conditional/editsimple.smarty b/templates/ktcore/metadata/conditional/editsimple.smarty index bcafe27..9755a8d 100644 --- a/templates/ktcore/metadata/conditional/editsimple.smarty +++ b/templates/ktcore/metadata/conditional/editsimple.smarty @@ -1,7 +1,5 @@ +{capture assign=sCSS} {literal} - +{/literal} +{/capture} +{$context->oPage->requireCSSStandalone($sCSS)} - - - - - +{$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/Async.js")} +{$context->oPage->requireJSResource("thirdpartyjs/MochiKit/DOM.js")} - - +{$context->oPage->requireJSResource("presentation/lookAndFeel/knowledgeTree/js/taillog.js")} +{$context->oPage->requireJSResource("presentation/lookAndFeel/knowledgeTree/js/conditional_simple_edit.js")} - - - +{/capture} +{$context->oPage->requireJSStandalone($sJS)} -{/literal}

Editing Fieldset Rules (Simple)

-- libgit2 0.21.4