You are here

function theme_rules_admin_unsatisfied_elements in Rules 6

Themes the a list of actions or conditions, that are not satisfiable.

2 theme calls to theme_rules_admin_unsatisfied_elements()
rules_admin_form_add_action in rules_admin/rules_admin.rule_forms.inc
Returns the form for the first action add page
rules_admin_form_add_condition in rules_admin/rules_admin.rule_forms.inc
Returns the form for the first condition add page

File

rules_admin/rules_admin.rule_forms.inc, line 912

Code

function theme_rules_admin_unsatisfied_elements($element) {
  $output = '';
  $output .= '<div class="rules-unsatisfied-arguments">';
  foreach (rules_admin_get_grouped_labels($element['#unsatisfied_grouped_options']) as $grouped_rules) {
    $output .= theme('rules_admin_unsatisfied_elements_group', $grouped_rules, $element['#unsatisfied_grouped_options']);
  }
  $output .= '</div>';
  return $output;
}