Revision e70c228f
Added by Francisco Revilla about 14 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
1230 | 1230 |
|
1231 | 1231 |
//generating the returned object |
1232 | 1232 |
$taxon_name_page->title = theme('cdm_name_page_title', $taxon_name); |
1233 |
$taxon_name_page->content = theme_cdm_list_of_taxa($taxon_pager->records, false); |
|
1233 |
if($taxon_pager->records){ |
|
1234 |
$taxon_name_page->content = theme_cdm_list_of_taxa($taxon_pager->records, false); |
|
1235 |
}else{ |
|
1236 |
$taxon_name_page->content = 'This name has no taxa'; |
|
1237 |
} |
|
1234 | 1238 |
|
1235 | 1239 |
return $taxon_name_page; |
1236 | 1240 |
} |
Also available in: Unified diff
changes for the geoservices and ticket #1421