function theme_themekey_page_cache_icon in ThemeKey 6.3
Same name and namespace in other branches
- 6.4 themekey_admin.inc \theme_themekey_page_cache_icon()
- 7.3 themekey_admin.inc \theme_themekey_page_cache_icon()
- 7 themekey_admin.inc \theme_themekey_page_cache_icon()
- 7.2 themekey_admin.inc \theme_themekey_page_cache_icon()
3 theme calls to theme_themekey_page_cache_icon()
- themekey_help_properties_form in ./
themekey_help.inc - Uses Drupal's form builder to format ThemeKey's help properties
- themekey_page_cache_warning in ./
themekey_admin.inc - Detects if page cache is active and incompatible properties are used in theme switching rule chain
- theme_themekey_rule_chain_form in ./
themekey_admin.inc - Themes themekey_rule_chain_form() and adds drag'n'drop features.
File
- ./
themekey_admin.inc, line 769
Code
function theme_themekey_page_cache_icon($page_cache_support) {
static $module_path = '', $page_cache_support_desriptions = array();
if (empty($module_path)) {
$module_path = drupal_get_path('module', 'themekey');
$page_cache_support_desriptions = themekey_get_page_cache_support_desriptions();
}
return '<img src="/' . $module_path . '/img/page_cache_' . $page_cache_support . '.png" width="16" height="16" title="' . htmlentities(strip_tags($page_cache_support_desriptions[$page_cache_support]), ENT_COMPAT, 'UTF-8') . '"></img>';
}