<?php

return <<<'VALUE'
"namespace IPS\\Theme;\n\tfunction email_html_core_registration_validate( $member, $vid, $securityKey, $newEmail, $email ) {\n\t\t$return = '';\n\t\t$return .= <<<IPSCONTENT\n\n\nIPSCONTENT;\n$return .= \\IPS\\Theme\\Template::htmlspecialchars( $email->language->addToStack(\"email_registration_validate\", FALSE), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );\n$return .= <<<IPSCONTENT\n\n<br><br>\n<table width='100%' cellpadding='15' cellspacing='0' border='0' style='background: #f9f9f9;' class=\"background_2\">\n\t<tr>\n\t\t<td dir='{dir}' align='center'>\n\t\t\t<a href='\nIPSCONTENT;\n\n$return .= htmlspecialchars( \\IPS\\Http\\Url::internal( \"app=core&module=system&controller=register&do=validate&vid={$vid}&mid={$member->member_id}&security_key={$securityKey}\", \"front\", \"\", array(), 0 ), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', TRUE );\n$return .= <<<IPSCONTENT\n' style=\"color: #ffffff; font-family: system-ui, 'Helvetica Neue', helvetica, sans-serif; text-decoration: none; font-size: 14px; background-color: \nIPSCONTENT;\n\n$return .= \\IPS\\Settings::i()->email_color;\n$return .= <<<IPSCONTENT\n; line-height: 36px; padding: 0 16px; display: inline-block; border-radius: 6px; font-weight: 600;\" class=\"button\">\nIPSCONTENT;\n$return .= \\IPS\\Theme\\Template::htmlspecialchars( $email->language->addToStack(\"email_validate_link\", FALSE), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );\n$return .= <<<IPSCONTENT\n<\/a>\n\t\t<\/td>\n\t<\/tr>\n<\/table>\n<br><br>\n<em class=\"color_soft\" style=\"color:#4b4b4b;\">&mdash; \nIPSCONTENT;\n\n$return .= \\IPS\\Settings::i()->board_name;\n$return .= <<<IPSCONTENT\n<\/em>\nIPSCONTENT;\n\n\t\treturn $return;\n}\n\tfunction email_plaintext_core_registration_validate( $member, $vid, $securityKey, $newEmail, $email ) {\n\t\t$return = '';\n\t\t$return .= <<<IPSCONTENT\n\n\nIPSCONTENT;\n$return .= \\IPS\\Theme\\Template::htmlspecialchars( $email->language->addToStack(\"email_registration_validate\", FALSE), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );\n$return .= <<<IPSCONTENT\n\n\n=====\n\nIPSCONTENT;\n$return .= \\IPS\\Theme\\Template::htmlspecialchars( $email->language->addToStack(\"email_validate_link\", FALSE), ENT_QUOTES | ENT_DISALLOWED, 'UTF-8', FALSE );\n$return .= <<<IPSCONTENT\n: \nIPSCONTENT;\n\n$return .= \\IPS\\Http\\Url::internal( \"app=core&module=system&controller=register&do=validate&vid={$vid}&mid={$member->member_id}&security_key={$securityKey}\", \"front\", \"\", array(), 0 );\n$return .= <<<IPSCONTENT\n\n=====\n\n-- \nIPSCONTENT;\n\n$return .= \\IPS\\Settings::i()->board_name;\n$return .= <<<IPSCONTENT\n\nIPSCONTENT;\n\n\t\treturn $return;\n}"
VALUE;
