theme_atrblacklist_keywords

Versions
6.1
theme_atrblacklist_keywords($element)

Form theme handler; theme an atrblacklist_keywords element.

Code

atr/modules/atrblacklist/atrblacklist.module, line 159

<?php
function theme_atrblacklist_keywords($element) {
  $i = 0;
  $rows = array();
  while (isset($element['blacklist_keyword_' . $i])) {
    $rows[] = array(
      theme('textfield', $element['blacklist_keyword_' . $i]),
      theme('textarea', $element['blacklist_comment_' . $i]),
    );

    $i++;
  }
  $header = array(t('Keyword'), t('Comment'));

  return theme('form_element', $element, theme('table', $header, $rows));
}
?>