// Remove mootools.js and caption.js for Guests $user =& JFactory::getUser(); if ( $user->guest ) { $menu =& JSite::getMenu(); if ($menu->getActive() == $menu->getDefault()) { $headerstuff = $this->getHeadData(); unset ($headerstuff['scripts'][$this->baseurl . '/media/system/js/mootools.js']) ; unset ($headerstuff['scripts'][$this->baseurl. '/media/system/js/caption.js']) ; $this->setHeadData($headerstuff); } } ?>
Mozilla Firefox | Opera | Apple Safari | Internet Explorer | ||
Download (DE): | Link | Link | Link | Link | |
Download (EN): | Link | Link | Link | Link |