Project

General

Profile

« Previous | Next » 

Revision 5f5e44b2

Added by Andreas Kohlbecker over 10 years ago

removing all implemetation of the theme hooks theme_get_nameRenderTemplate() and theme_get_partDefinition

View differences:

7.x/themes/zen_dataportal/template.php
333 333
  //}
334 334
}
335 335
// */
336

  
337
/**
338
 *  @deprecated define name render templates via the layout settings
339
function zen_dataportal_get_partDefinition() {
340
  return array(
341
    'BotanicalName'=> array(
342
        'namePart' => array('name' => TRUE),
343
        'nameAuthorPart' => array('name' => TRUE, 'authors' => TRUE),
344
        'referencePart' => array('reference' => TRUE, 'microreference' => TRUE),
345
        'statusPart' => array('status' => TRUE),
346
        'descriptionPart' => array('description' => TRUE),
347
    ),
348
    'ZoologicalName' => array(
349
          'namePart' => array('name' => TRUE),
350
          'referencePart' => array('authors' => TRUE),
351
          'microreferencePart' => array('microreference' => TRUE),
352
          'statusPart' => array('status' => TRUE),
353
          'descriptionPart' => array('description' => TRUE),
354
      ),
355
    '#DEFAULT' => array(
356
        'namePart' => array(
357
            'name' => TRUE,
358
            'authors' => TRUE
359
        ),
360
        'referencePart' => array(
361
            'reference' => TRUE
362
        ),
363
        'microreferencePart' => array(
364
            'microreference' => TRUE,
365
        ),
366
        'statusPart' => array(
367
            'status' => TRUE,
368
        ),
369
        'descriptionPart' => array(
370
            'description' => TRUE,
371
        ),
372
      )
373
    );
374
}
375
 */
376

  
377
/**
378
 * @deprecated define name render templates via the layout settings
379
function zen_dataportal_get_nameRenderTemplate() {
380

  
381
  $templates = array(
382
    'taxon_page_title,polytomousKey' => array(
383
        'namePart' => array(
384
          '#uri' => TRUE
385
        )
386
      ),
387
    'taxon_page_synonymy,related_taxon' => array(
388
        'nameAuthorPart' => array(
389
          '#uri' => TRUE
390
        ),
391
        'referencePart' => TRUE,
392
        'statusPart' => TRUE,
393
        'descriptionPart' => TRUE
394
      ),
395
     'acceptedFor' => array(
396
        'nameAuthorPart' => array(
397
          '#uri' => TRUE
398
        ),
399
        'referencePart' => TRUE
400
      ),
401
     'typedesignations,list_of_taxa' => array(
402
        'nameAuthorPart' => array(
403
           '#uri' => TRUE
404
        ), 'referencePart' => TRUE
405
      ),
406
    '#DEFAULT'=> array(
407
        'nameAuthorPart' => array(
408
           '#uri' => TRUE
409
        ), 'referencePart' => TRUE
410
      )
411
  );
412
  return $templates;
413
}
414
 */
415

  

Also available in: Unified diff