Project

General

Profile

« Previous | Next » 

Revision 1ce9afb7

Added by Patric Plitzner over 9 years ago

reintegrated campanula drupal branch

View differences:

7.x/modules/cdm_dataportal/theme/cdm_dataportal.page.theme
364 364
    "title",
365 365
    // "titleCache",
366 366
    // "citation",
367
    "authorTeam",
367
    "authorship",
368 368
    "editor",
369 369
    "publisher",
370 370
    "placePublished",
......
393 393
  );
394 394
  $table_rows = array();
395 395

  
396
  if (!isset($reference->authorTeam)) {
397
    $authorTeam = cdm_ws_get(CDM_WS_REFERENCE_AUTHORTEAM, $reference->uuid);
398
    $reference->authorTeam = isset($authorTeam->titleCache) ? $authorTeam->titleCache : '';
396
  if (!isset($reference->authorship)) {
397
    $authorship = cdm_ws_get(CDM_WS_REFERENCE_AUTHORTEAM, $reference->uuid);
398
    $reference->authorship = isset($authorship->titleCache) ? $authorship->titleCache : '';
399 399
  }
400 400

  
401 401
  if (!isset($reference->inReference)) {
......
422 422
        // $datePublished);
423 423
      }
424 424
      elseif (is_object($reference->$fieldname)) {
425
        if ($fieldname == "authorTeam") {
425
        if ($fieldname == "authorship") {
426 426
          $dump = $reference->$fieldname;
427 427
          $teammembers = "teamMembers";
428 428
          $team = $dump->$teammembers;

Also available in: Unified diff