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

Contact template moved to core folder.

This commit is contained in:
Cameron
2013-03-09 00:24:35 -08:00
parent 2682d9b872
commit ce8ea83915

View File

@@ -0,0 +1,64 @@
<?php
// $Id$
if (!defined('e107_INIT')) { exit; }
if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:97%"); }
if(!isset($CONTACT_INFO))
{
$CONTACT_INFO = "
<table style='".USER_WIDTH."' cellpadding='1' cellspacing='7'>
<tr>
<td>
{SITECONTACTINFO}
<br />
</td>
</tr>
</table>";
}
$sc_style['CONTACT_EMAIL_COPY']['pre'] = "<tr><td>";
$sc_style['CONTACT_EMAIL_COPY']['post'] = LANCONTACT_07."</td></tr>";
$sc_style['CONTACT_PERSON']['pre'] = "<tr><td>".LANCONTACT_14."<br /> ";
$sc_style['CONTACT_PERSON']['post'] = "</td></tr>";
$sc_style['CONTACT_IMAGECODE']['pre'] = "<tr><td>".LANCONTACT_16."<br />";
$sc_style['CONTACT_IMAGECODE']['post'] = "";
$sc_style['CONTACT_IMAGECODE_INPUT']['pre'] = "";
$sc_style['CONTACT_IMAGECODE_INPUT']['post'] = "</td></tr>";
if(!isset($CONTACT_FORM))
{
$CONTACT_FORM = "
<form action='".e_SELF."' method='post' id='contactForm' >
<table style='".USER_WIDTH."' cellpadding='1' cellspacing='7'>
{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>
{CONTACT_IMAGECODE}
{CONTACT_IMAGECODE_INPUT}
<tr><td>
{CONTACT_SUBMIT_BUTTON}
</td></tr>
</table>
</form>";
}
?>