function theme_overlay_disable_message


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 overlay.module theme_overlay_disable_message($variables)
cle7 overlay.module theme_overlay_disable_message($variables)
elmsmedia7 overlay.module theme_overlay_disable_message($variables)
icor7 overlay.module theme_overlay_disable_message($variables)
meedjum_blog7 overlay.module theme_overlay_disable_message($variables)
mooc7 overlay.module theme_overlay_disable_message($variables)

Returns the HTML for the message about how to disable the overlay.


$variables: An associative array with an 'element' element, which itself is an associative array containing:

  • profile_link: The link to this user's account.
  • dismiss_message_link: The link to dismiss the overlay.

Related topics

1 string reference to the theme hook from theme_overlay_disable_message()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

overlay_theme in modules/overlay/overlay.module
Implements hook_theme().


modules/overlay/overlay.module, line 405
Displays the Drupal administration interface in an overlay.


function theme_overlay_disable_message($variables) {
  $element = $variables['element'];

  // Add CSS classes to hide the links from most sighted users, while keeping
  // them accessible to screen-reader users and keyboard-only users. To assist
  // screen-reader users, this message appears in both the parent and child
  // documents, but only the one in the child document is part of the tab order.
  foreach (array('profile_link', 'dismiss_message_link') as $key) {
    $element[$key]['#options']['attributes']['class'][] = 'element-invisible';
    if (overlay_get_mode() == 'child') {
      $element[$key]['#options']['attributes']['class'][] = 'element-focusable';

  // Render the links.
  $output = drupal_render($element['profile_link']) . ' ' . drupal_render($element['dismiss_message_link']);

  // Add a heading for screen-reader users. The heading doesn't need to be seen
  // by sighted users.
  $output = '<h3 class="element-invisible">' . t('Options for the administrative overlay') . '</h3>' . $output;

  // Wrap in a container for styling.
  $output = '<div id="overlay-disable-message" class="clearfix">' . $output . '</div>';

  return $output;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.