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/cdm_dataportal.module
1585 1585
    $taxon_name_page = new stdClass();
1586 1586
    $taxon_name_page->title = theme('cdm_name_page_title', array('taxon_name' => $taxon_name));
1587 1587
    if ($taxon_pager->records) {
1588
      $taxon_name_page->content = theme('cdm_list_of_taxa',
1589
        array(
1590
          'records'=> $taxon_pager->records
1591
        )
1592
      );
1588
      $taxon_name_page->content = compose_list_of_taxa($taxon_pager->records);
1593 1589
    }
1594 1590
    else {
1595 1591
      $taxon_name_page->content = 'This name has no taxa';

Also available in: Unified diff