Project

General

Profile

« Previous | Next » 

Revision 7272d19c

Added by Andreas Kohlbecker over 6 years ago

refactoring: reducing amount of theme functions, functions moved into includes

View differences:

modules/cdm_dataportal/theme/cdm_dataportal.page.theme
272 272
  // List results.
273 273
  if (isset($pager->records) && count($pager->records) > 0) {
274 274
    $out .= '<div id="search_results">';
275
    $out .= theme('cdm_list_of_taxa',
276
        array(
277
          'records' => $pager->records,
278
          'freetextSearchResults' => $freetextSearchResults,
279
          'show_classification' => $classification === NULL
280
        )
281
      );
275
    $out .= drupal_render(compose_list_of_taxa($pager->records, $freetextSearchResults, $classification === NULL));
282 276
    $out .= '</div>';
283 277
    $out .= theme('cdm_pager', array(
284 278
        'pager' => $pager,

Also available in: Unified diff