You are here

function theme_page_manager_changed in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 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 132
Preprocess functions for page manager editing templates.

Code

function theme_page_manager_changed($text, $description) {
  ctools_add_css('ctools');
  $output = '<div class="page-manager-changed" title="' . $description . '">';
  $output .= $text;
  $output .= '</div>';
  return $output;
}