Loading fluidproject_ui_options.module +16 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,22 @@ function fluidproject_ui_options_page_build(&$page) { return; } // Handles the wildcard (*) at the end of the url. foreach ($url_blacklist as $url) { if (mb_strpos($url, '/*') === FALSE) { continue; } $url = str_replace('/*', '', $url); if (mb_strpos($current_path, $url) === 0) { return; } if (mb_strpos($current_path_alias, $url) === 0) { return; } } if ($admin_display){ //display the widget on all pages. libraries_load('fluid'); Loading Loading
fluidproject_ui_options.module +16 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,22 @@ function fluidproject_ui_options_page_build(&$page) { return; } // Handles the wildcard (*) at the end of the url. foreach ($url_blacklist as $url) { if (mb_strpos($url, '/*') === FALSE) { continue; } $url = str_replace('/*', '', $url); if (mb_strpos($current_path, $url) === 0) { return; } if (mb_strpos($current_path_alias, $url) === 0) { return; } } if ($admin_display){ //display the widget on all pages. libraries_load('fluid'); Loading