You are here

function theme_skinr_context_ui_group_summary in Skinr 8.2

Same name and namespace in other branches
  1. 7.2 skinr_context/skinr_context_ui.edit.inc \theme_skinr_context_ui_group_summary()

Returns HTML for title and descrition info for the skin settings groups listing.

Parameters

$variables: An associative array containing:

  • title: The group's title.
  • description: The group's description.
1 theme call to theme_skinr_context_ui_group_summary()
skinr_context_ui_group_list_form in skinr_context/skinr_context_ui.edit.inc
Form builder for the skin settings group listing.

File

skinr_context/skinr_context_ui.edit.inc, line 371
Page callbacks for the Skinr Context UI module related to editing skins and groups.

Code

function theme_skinr_context_ui_group_summary($variables) {
  $info = '<strong class="title">' . $variables['title'] . '</strong>';
  if (!empty($variables['description'])) {
    $info .= '<div class="description">' . $variables['description'] . '</div>';
  }
  return '<div class="skin-group-summary">' . $info . '</div>';
}