function theme_page_manager_changed in Chaos Tool Suite (ctools) 7
Same name and namespace in other branches
- 6 page_manager/theme/page_manager.theme.inc \theme_page_manager_changed()
Draw the "you have unsaved changes and this task is locked." message.
1 theme call to theme_page_manager_changed()
- template_preprocess_page_manager_edit_page in page_manager/
theme/ page_manager.theme.inc - Preprocess the page manager edit page.
File
- page_manager/
theme/ page_manager.theme.inc, line 108 - Preprocess functions for page manager editing templates.
Code
function theme_page_manager_changed($vars) {
$text = $vars['text'];
$description = $vars['description'];
ctools_add_css('ctools');
$output = '<div class="page-manager-changed" title="' . $description . '">';
$output .= $text;
$output .= '</div>';
return $output;
}