function theme_rules_debug_element

Theme rules debug log elements.

2 theme calls to theme_rules_debug_element()
RulesLog::render in includes/rules.core.inc
Renders the whole log.
RulesLog::renderHelper in includes/rules.core.inc
Renders the log of one event invocation.

File

ui/ui.theme.inc, line 252

Code

function theme_rules_debug_element($variables) {
    $output = '<div class="rules-debug-block">';
    $output .= '<div class="rules-debug-log-head rules-debug-open rules-debug-collapsible-link">"';
    $output .= '<span unselectable="on" class="ui-icon ui-icon-triangle-1-e rules-debug-icon-open">&nbsp;</span>';
    $output .= $variables['head'];
    if (isset($variables['link'])) {
        $output .= ' ' . $variables['link'];
    }
    $output .= '</div>';
    $output .= $variables['log'];
    $output .= '</div>';
    return $output;
}