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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user