Revision 977bba78
Added by Andreas Kohlbecker about 5 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
2128 | 2128 |
*/ |
2129 | 2129 |
function path_to_registration($identifier) { |
2130 | 2130 |
|
2131 |
return 'cdm_dataportal/registration/' . urlencode($identifier); |
|
2131 |
if(variable_get(CDM_REGISTRATION_PRESISTENT_IDENTIFIER_AS_LINK)){ |
|
2132 |
return $identifier; |
|
2133 |
} else { |
|
2134 |
return 'cdm_dataportal/registration/' . urlencode($identifier); |
|
2135 |
} |
|
2132 | 2136 |
} |
2133 | 2137 |
|
2134 | 2138 |
/** |
Also available in: Unified diff
fix #8093 registration identifier links configurable