Browse Source

Update language variable InformationRightToBeForgottenText to InformationRightToBeForgottenLinkX to make link part of code

Yannick Warnier 6 years ago
parent
commit
7731a2c6fc
1 changed files with 5 additions and 1 deletions
  1. 5 1
      main/admin/user_list_consent.php

+ 5 - 1
main/admin/user_list_consent.php

@@ -645,7 +645,11 @@ $toolbarActions = Display::toolbarAction(
     [4, 4, 4]
 );
 
-$notice = Display::return_message(get_lang('InformationRightToBeForgottenText'), 'normal', false);
+$noticeMessage = sprintf(
+    get_lang('InformationRightToBeForgottenLinkX'),
+    '<a href="https://gdpr-info.eu/art-17-gdpr/">https://gdpr-info.eu/art-17-gdpr/</a>'
+);
+$notice = Display::return_message($noticeMessage, 'normal', false);
 
 $tpl = new Template($tool_name);
 $tpl->assign('actions', $toolbarActions);