You are here

function _skinr_ui_themes_access in Skinr 7.2

Menu item access callback - only admin or enabled themes can be accessed.

1 string reference to '_skinr_ui_themes_access'
skinr_ui_menu in ./skinr_ui.module
Implements hook_menu().

File

./skinr_ui.module, line 195
Handles Skinr UI functionality allowing users to apply skins to their site.

Code

function _skinr_ui_themes_access($theme) {
  return user_access('administer skinr') && drupal_theme_access($theme);
}