1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 14:13:03 +02:00

Merge pull request #3640 from SimSync/fix_3639

fixes #3639: Added description to GDPR prefs
This commit is contained in:
Cameron
2019-01-24 13:11:19 -08:00
committed by GitHub
3 changed files with 13 additions and 0 deletions

View File

@@ -651,6 +651,11 @@ class signup_shortcodes extends e_shortcode
*/
function sc_signup_gdpr_info()
{
if (!e107::getPref('gdpr_termsandconditions', '') || !e107::getPref('gdpr_privacypolicy', ''))
{
return '';
}
$text = e107::getParser()->lanVars(LAN_SIGNUP_124,
array($this->sc_signup_gdpr_privacypolicy_link(), $this->sc_signup_gdpr_termsandconditions_link()));
return $text;