*/ class SearchPreloads { function preload(&$template, $preload, $paramSet) { global $gallery; switch($preload) { case 'SearchBlock': $template->javascript('modules/search/SearchBlock.js'); return null; } return GalleryCoreApi::error(ERROR_BAD_PARAMETER, __FILE__, __LINE__); } } ?>