function theme_system_compact_link

×

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/api.elmsln.org/includes/bootstrap.inc).
cis7 system.module theme_system_compact_link()
cle7 system.module theme_system_compact_link()
elmsmedia7 system.module theme_system_compact_link()
icor7 system.module theme_system_compact_link()
meedjum_blog7 system.module theme_system_compact_link()
mooc7 system.module theme_system_compact_link()

Returns HTML for a link to show or hide inline help descriptions.

Related topics

3 theme calls to theme_system_compact_link()
theme_admin_page in modules/system/system.admin.inc
Returns HTML for an administrative page.
theme_system_admin_index in modules/system/system.admin.inc
Returns HTML for the output of the dashboard page.
theme_user_admin_permissions in modules/user/user.admin.inc
Returns HTML for the administer permissions page.
4 string references to the theme hook from theme_system_compact_link()

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.

system_theme in modules/system/system.module
Implements hook_theme().
theme_admin_page in modules/system/system.admin.inc
Returns HTML for an administrative page.
theme_system_admin_index in modules/system/system.admin.inc
Returns HTML for the output of the dashboard page.
theme_user_admin_permissions in modules/user/user.admin.inc
Returns HTML for the administer permissions page.

File

modules/system/system.module, line 3396
Configuration system that lets administrators modify the workings of the site.

Code

function theme_system_compact_link() {
  $output = '<div class="compact-link">';
  if (system_admin_compact_mode()) {
    $output .= l(t('Show descriptions'), 'admin/compact/off', array('attributes' => array('title' => t('Expand layout to include descriptions.')), 'query' => drupal_get_destination()));
  }
  else {
    $output .= l(t('Hide descriptions'), 'admin/compact/on', array('attributes' => array('title' => t('Compress layout by hiding descriptions.')), 'query' => drupal_get_destination()));
  }
  $output .= '</div>';

  return $output;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.