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

Issue #4372 Contact page code cleanup and 'layout' template added.

This commit is contained in:
Cameron
2021-02-17 19:04:57 -08:00
parent acccf1d1ba
commit d0404cb9b3
2 changed files with 245 additions and 199 deletions

View File

@@ -130,10 +130,19 @@ $CONTACT_TEMPLATE['form'] = "
</form>";
// Set the layout and order of the info and form.
$CONTACT_TEMPLATE['layout'] = '{---CONTACT-INFO---}
{---CONTACT-FORM---}
';
// Customize the email subject
// Variables: CONTACT_SUBJECT and CONTACT_PERSON as well as any custom fields set in the form. )
$CONTACT_TEMPLATE['email']['subject'] = "{CONTACT_SUBJECT}";