From 2a30e4325c61db4205ee5d48a9918e6d32e8f02b Mon Sep 17 00:00:00 2001 From: charlmert Date: Thu, 11 Feb 2010 18:54:47 +0200 Subject: [PATCH] Brand server without requiring access to FS PT: 1243391 --- plugins/ktcore/KTWidgets.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/ktcore/KTWidgets.php b/plugins/ktcore/KTWidgets.php index 35d8dab..5ba2dd4 100755 --- a/plugins/ktcore/KTWidgets.php +++ b/plugins/ktcore/KTWidgets.php @@ -1165,6 +1165,8 @@ class KTCoreImageSelectWidget extends KTWidget { $oTemplate = $oTemplating->loadTemplate('ktcore/forms/widgets/base'); $this->aJavascript[] = 'thirdpartyjs/jquery/jquery-1.3.2.js'; + $this->aJavascript[] = 'thirdpartyjs/jquery/plugins/selectimage/jquery.selectimage.js'; + $this->aJavascript[] = 'resources/js/kt_selectimage.js'; if (!empty($this->aJavascript)) { // grab our inner page. @@ -1172,14 +1174,15 @@ class KTCoreImageSelectWidget extends KTWidget { $oPage->requireJSResources($this->aJavascript); } - $this->aCSS[] = 'resources/css/kt_imageselect.css'; + //$this->aCSS[] = 'resources/css/kt_imageselect.css'; + $this->aCSS[] = 'thirdpartyjs/jquery/plugins/selectimage/css/selectimage.css'; if (!empty($this->aCSS)) { // grab our inner page. $oPage =& $GLOBALS['main']; $oPage->requireCSSResources($this->aCSS); } - + $widget_content = $this->getWidget(); $aTemplateData = array( -- libgit2 0.21.4