remove uneeded resources from homepage, call rotating images on home page
authorJamie Kahgee <jawie@gaslightmedia.com>
Thu, 11 Feb 2010 14:53:20 +0000 (14:53 +0000)
committerJamie Kahgee <jawie@gaslightmedia.com>
Thu, 11 Feb 2010 14:53:20 +0000 (14:53 +0000)
Toolkit/Page.php

index c2af5b6..abd3b3c 100755 (executable)
@@ -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();
                }