Lines Matching full:script
29 * Insert an extra script tag for users that have AUTH_EDIT or better
40 // add script if user has better auth than AUTH_EDIT
42 $event->data['script'][] = array(
49 … _tpl_metaheaders_action( array( 'script' => array( array_shift($event->data['script']) ) ) );
53 * Hacking the toolbar for the requested script.
54 * If it is NOT the previously added admin script, remove the toolbar
94 * Finally, handle the JS script list. The script would be fit to do even more stuff / types
121 * @param string $str the script file to check against the list
138 * @param string $str the script file to check against the list
149 * @param string $script the script file to check against the list
152 private function filter_admin_scripts( $script ) { argument
153 return $this->includeFilter( $script, array(
180 )) && $this->excludeFilter( $script, array(
181 '/lib/scripts/script.js', // a core script
182 '/lib/scripts/page.js', // a core script for footnotes
190 * @param string $script the script file to check against the list
193 private function filter_user_scripts( $script ) { argument
194 return !$this->filter_admin_scripts( $script );