From 335738586fa33fd7ee986dc154a33d7ff096fb6b Mon Sep 17 00:00:00 2001 From: Jamie Kahgee Date: Thu, 11 Feb 2010 14:53:20 +0000 Subject: [PATCH] remove uneeded resources from homepage, call rotating images on home page --- Toolkit/Page.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Toolkit/Page.php b/Toolkit/Page.php index c2af5b6..abd3b3c 100755 --- a/Toolkit/Page.php +++ b/Toolkit/Page.php @@ -170,13 +170,6 @@ class Toolkit_Page = $this->glmAppBaseURL . 'libjs/jquery-1.3.2.min.js'; $GLOBALS['scripts'][] = $this->baseURL . 'libjs/external.js'; - // needed for home page - if ($toolbox->catid == HOME_ID) { - $GLOBALS['scripts'][] = - $this->glmAppBaseURL . 'libjs/jquery.innerfade.js'; - $GLOBALS['scripts'][] = - $this->baseURL . 'libjs/slideshow.js'; - } // bread crumb navigation //$this->breadCrumbs = $toolbox->get_bread_crumbs($toolbox->catid); @@ -227,7 +220,7 @@ class Toolkit_Page if ( defined("ROTATING_IMAGES") && ROTATING_IMAGES - && in_array($toolbox->catid, array(108)) + && in_array($toolbox->catid, array(1)) ) { $this->_rotatingImages(); } -- 2.17.1