1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-02 10:53:29 +02:00

Contact form template upgraded to use Bootstrap markup.

This commit is contained in:
Cameron
2015-08-17 15:42:31 -07:00
parent c06a3ff5c3
commit e5a51fa99e
5 changed files with 42 additions and 34 deletions

View File

@@ -60,37 +60,38 @@ $CONTACT_TEMPLATE['menu'] = '
// In this case (see contact.php) e107::getScBatch('contact')->wrapper('contact/form')
// Only one Option is used - WRAPPER > SC_STYLE
$CONTACT_WRAPPER['form']['CONTACT_IMAGECODE'] = "<tr><td>".LAN_ENTER_CODE."<br />{---}";
$CONTACT_WRAPPER['form']['CONTACT_IMAGECODE_INPUT'] = "{---}</td></tr>";
$CONTACT_WRAPPER['form']['CONTACT_EMAIL_COPY'] = "<tr><td>{---}".LANCONTACT_07."</td></tr>";
$CONTACT_WRAPPER['form']['CONTACT_PERSON'] = "<tr><td>".LANCONTACT_14."<br />{---}</td></tr>";
$CONTACT_WRAPPER['form']['CONTACT_IMAGECODE'] = "<div class='control-group form-group'><label>".LAN_ENTER_CODE."</label>{---}";
$CONTACT_WRAPPER['form']['CONTACT_IMAGECODE_INPUT'] = "{---}</div>";
$CONTACT_WRAPPER['form']['CONTACT_EMAIL_COPY'] = "<div class='control-group form-group'>{---}".LANCONTACT_07."</div>";
$CONTACT_WRAPPER['form']['CONTACT_PERSON'] = "<div class='control-group form-group'><label>".LANCONTACT_14."</label>{---}</div>";
$CONTACT_TEMPLATE['form'] = "
<form action='".e_SELF."' method='post' id='contactForm' >
<table class='table'>
{CONTACT_PERSON}
<tr><td>".LANCONTACT_03."<br />
{CONTACT_NAME}
</td></tr>
<tr><td>".LANCONTACT_04."<br />
{CONTACT_EMAIL}
</td></tr>
<tr><td>
".LANCONTACT_05."<br />
{CONTACT_SUBJECT}
</td></tr>
{CONTACT_EMAIL_COPY}
<tr><td>
".LANCONTACT_06."<br />
{CONTACT_BODY}
</td></tr>
<div class='control-group form-group'><label>".LANCONTACT_03."</label>
{CONTACT_NAME}
</div>
<div class='control-group form-group'><label>".LANCONTACT_04."</label>
{CONTACT_EMAIL}
</div>
<div class='control-group form-group'><label>".LANCONTACT_05."</label>
{CONTACT_SUBJECT}
</div>
{CONTACT_EMAIL_COPY}
<div class='control-group form-group'><label>".LANCONTACT_06."</label>
{CONTACT_BODY}
</div>
{CONTACT_IMAGECODE}
{CONTACT_IMAGECODE_INPUT}
<tr><td>
<div class='form-group'>
{CONTACT_SUBMIT_BUTTON}
</td></tr>
</table>
</div>
</form>";
// Customize the email subject