Revision 3e2af8c2
Added by Andreas Kohlbecker almost 7 years ago
modules/cdm_dataportal/theme/cdm_dataportal.common.theme | ||
---|---|---|
470 | 470 |
|
471 | 471 |
/* ============================ special buttons ============================= */ |
472 | 472 |
|
473 |
/** |
|
474 |
* @todo Please document this function. |
|
475 |
* @see http://drupal.org/node/1354 |
|
476 |
*/ |
|
477 |
function theme_cdm_back_to_image_gallery_button() { |
|
478 |
$out = '<div id="backToGalleryButton">' . l(t('Back to Images'), $_SESSION['cdm']['last_gallery']) . '</div>'; |
|
479 |
return $out; |
|
480 |
} |
|
481 |
|
|
482 | 473 |
/** |
483 | 474 |
* @todo Please document this function. |
484 | 475 |
* @see http://drupal.org/node/1354 |
Also available in: Unified diff
fix #6817 'Back to Image' only shown when the HTTP referrer is a cdm_dataportal taxon page