Lines Matching +full:- +full:- +full:no +full:- +full:scripts
5 * @license GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
6 * @author i-net /// software <tools@inetsoftware.de>
21 …$controller->register_hook('TPL_METAHEADER_OUTPUT', 'BEFORE', $this, 'handle_tpl_metaheader_output…
22 $controller->register_hook('JS_SCRIPT_LIST', 'BEFORE', $this, 'handle_js_script_list');
23 $controller->register_hook('TOOLBAR_DEFINE', 'BEFORE', $this, 'handle_js_toolbar');
25 // $controller->register_hook('JS_CACHE_USE', 'BEFORE', $this, 'handle_use_cache');
41 $event->data['script'][] = array(
42 'type'=> 'text/javascript', 'charset'=> 'utf-8', '_data'=> '',
48 … _tpl_metaheaders_action( array( 'script' => array( array_shift($event->data['script']) ) ) );
54 * because the user has no edit rights.
64 if ( $INPUT->str('type') != 'admin' ) {
68 $event->data = &$data;
69 $event->preventDefault();
88 $event->preventDefault();
104 switch( $INPUT->str('type') ) {
107 // Filter for admin scripts
108 $event->data = array_filter( $event->data, array($this, 'filter_admin_scripts') );
112 // Filter for the-rest-if-us scripts
113 $event->data = array_filter( $event->data, array($this, 'filter_user_scripts') );
118 … * A simple filter function to check the input string against a list of path-parts that are allowed
134 … * A simple filter function to check the input string against a list of path-parts that are allowed
142 return !$this->includeFilter( $str, $list );
146 * Filters scripts that are intended for admins only
152 return $this->includeFilter( $script, array(
154 '/lib/scripts/fileuploader',
156 '/lib/scripts/',
178 )) && $this->excludeFilter( $script, array(
184 * Filters scripts that are intended for users only
190 return !$this->filter_admin_scripts( $script );