'; $data = array ( $domain, check_markup(drupal_render($form['attributes'][$key]['attribute_akey_'. $key])), check_markup(drupal_render($form['attributes'][$key]['attribute_avalue_'. $key])), drupal_render($form['attributes'][$key]['attribute_isactive_'. $key]), $default_ctl, drupal_render($form['attributes'][$key]['attribute_weight_'. $key]), array ( 'data' => drupal_render($form['attributes'][$key]['attribute_operations_'. $key]), 'class' => 'storm_list_operations', ), ); $row['data'] = $data; $row['class'] = empty($row['class']) ? 'draggable' : $row['class'] .' draggable'; $rows[] = $row; } $o = theme('table', $header, $rows, array('id' => 'attributes')); return $o; }