equal
deleted
inserted
replaced
14 |
14 |
15 // |
15 // |
16 // Search results hook |
16 // Search results hook |
17 // |
17 // |
18 |
18 |
19 $plugins->attachHook('search_results', 'gal_searcher($q, $offset);'); |
19 $plugins->attachHook('search_results', 'if ( !isset($offset) ) $offset =& $start; gal_searcher($q, $offset);'); |
20 $plugins->attachHook('search_global_inner', 'snapr_search_new_api($query, $query_phrase, $scores, $page_data, $case_sensitive, $word_list);'); |
20 $plugins->attachHook('search_global_inner', 'snapr_search_new_api($query, $query_phrase, $scores, $page_data, $case_sensitive, $word_list);'); |
21 |
21 |
22 $plugins->attachHook('compile_template', ' |
22 $plugins->attachHook('compile_template', ' |
23 // CSS for gallery browser |
23 // CSS for gallery browser |
24 $template->add_header(\'<link rel="stylesheet" href="' . scriptPath . '/plugins/gallery/browser.css" type="text/css" />\'); |
24 $template->add_header(\'<link rel="stylesheet" href="' . scriptPath . '/plugins/gallery/browser.css" type="text/css" />\'); |