function _wysiwyg_theme_check_active in Wysiwyg 7.2
A simple page callback for a checking if a theme is active.
A theme the user does not have permission to use can not be set active.
See also
1 string reference to '_wysiwyg_theme_check_active'
- wysiwyg_menu in ./
wysiwyg.module - Implementation of hook_menu().
File
- includes/
styling.inc, line 15 - Handles adding theme stylesheets into WYSIWYG editors.
Code
function _wysiwyg_theme_check_active($theme) {
global $theme_key;
return $theme === $theme_key;
}