$row, 'class' => 'formgroup'); $output .= theme('table', array(), $rows, array('class' => 'formgroup')); return $output; } function theme_datetime($element) { return theme('form_element', $element, '
'. $element['#children'] .'
'); } function theme_dateext($element) { return theme('form_element', $element, '
'. $element['#children'] .'
'); } function theme_storm_list_report($header, $rows, $title, $footer) { $css_all_file = drupal_get_path('module', 'storm') .'/storm_list_report_all.css'; $css_print_file = drupal_get_path('module', 'storm') .'/storm_list_report_print.css'; $query_string = '?'. drupal_substr(variable_get('css_js_query_string', '0'), 0, 1); $o = "\n"; $o .= ''; $o .= ''; $o .= ''. (drupal_get_title() ? strip_tags(drupal_get_title()) : variable_get('site_name', 'Drupal')) .''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= '
'. variable_get('storm_report_header', '') .'
'; $o .= '
'. $title .'
'; $o .= '
'; $o .= theme('table', $header, $rows); $o .= '
'; $o .= ''; $o .= ''; $o .= ''; return $o; } function theme_storm_report($header, $content, $title, $footer) { $css_all_file = drupal_get_path('module', 'storm') .'/storm_report_all.css'; $css_print_file = drupal_get_path('module', 'storm') .'/storm_report_print.css'; $query_string = '?'. drupal_substr(variable_get('css_js_query_string', '0'), 0, 1); $o = "\n"; $o .= ''; $o .= ''; $o .= ''. (drupal_get_title() ? strip_tags(drupal_get_title()) : variable_get('site_name', 'Drupal')) .''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= ''; $o .= '
'. variable_get('storm_report_header', '') .'
'; $o .= '
'. $title .'
'; $o .= '
'; $o .= $content; $o .= '
'; $o .= ''; $o .= ''; $o .= ''; return $o; } function theme_storm_view_item($label, $value) { $o = ''. t($label) .' : '. $value; return $o; }