equal
deleted
inserted
replaced
84 |
84 |
85 function floodlight_add_js() |
85 function floodlight_add_js() |
86 { |
86 { |
87 global $db, $session, $paths, $template, $plugins; // Common objects |
87 global $db, $session, $paths, $template, $plugins; // Common objects |
88 $template->add_header('<script type="text/javascript" src="' . makeUrlNS('Special', 'FloodlightJS', false, true) . '"></script>'); |
88 $template->add_header('<script type="text/javascript" src="' . makeUrlNS('Special', 'FloodlightJS', false, true) . '"></script>'); |
|
89 if ( method_exists($template, 'preload_js') ) |
|
90 { |
|
91 $template->preload_js(array('l10n', 'jquery', 'jquery-ui', 'autofill')); |
|
92 } |
89 } |
93 } |
90 |
94 |
91 function page_Special_FloodlightJS() |
95 function page_Special_FloodlightJS() |
92 { |
96 { |
93 global $db, $session, $paths, $template, $plugins; // Common objects |
97 global $db, $session, $paths, $template, $plugins; // Common objects |