array ( 'member_email' // The email address of the recipient ), 'email_text' => array ( 'member_firstname', // The firstname of the recipient 'member_lastname', // The lastname of the recipient 'downloads' // The names of all new files ), 'email_html' => array ( 'member_firstname', // The firstname of the recipient 'member_lastname', // The lastname of the recipient 'downloads_html', // The names of all new files ) ); /** * Permissions */ $GLOBALS['TL_PERMISSIONS'][] = 'sec_dl_access'; /** * Models */ $GLOBALS['TL_MODELS']['tl_member_secureDownloads'] = SecureDownloadsModel::class;