Project

General

Profile

« Previous | Next » 

Revision f0bf24e7

Added by Andreas Kohlbecker over 10 years ago

avoiding unnesecary reference/{uuid}/authorTeam calls

View differences:

7.x/modules/cdm_dataportal/theme/cdm_dataportal.taxon.theme
281 281
        // TODO avoid using Ajax in the cdm_dynabox .... why?
282 282
        // TODO add media.
283 283
        $out .= cdm_dynabox(
284
            $taxon->uuid,
285
            // taxon name as label
284
            $taxon->uuid,// dynabox uuid
285
            // taxon name as label:
286 286
            theme('cdm_taxonName', array(
287 287
              'taxonName' => $taxon->name,
288 288
              'nameLink' => NULL,
289 289
              'refenceLink' => NULL,
290 290
              'show_annotations' => FALSE,
291 291
            )),
292
            cdm_compose_url(CDM_WS_PORTAL_TAXON_ACCEPTED, array(
293
            $taxon->uuid,
294
            $classification_uuid,
295
            )), 'cdm_list_of_taxa', 'Click for accepted taxon');
292
            // content_url:
293
            cdm_compose_url(CDM_WS_PORTAL_TAXON_ACCEPTED,
294
                array(
295
                    $taxon->uuid,
296
                    $classification_uuid
297
                )
298
            ),
299
            // theme to use for rendering:
300
            'cdm_list_of_taxa',
301
            // label to toggle open:
302
            'Click for accepted taxon'
303
         );
296 304
      }
297 305
    }
298 306
    else {

Also available in: Unified diff