/*
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ContactUs v0.2 - Contact form for E107.
Written by leeg (support@leegarner.com)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
if (file_exists("languages/admin/".e_LANGUAGE.".php"))
{
include_once("languages/admin/".e_LANGUAGE.".php");
} else
{
include_once("languages/admin/English.php");
}
// ++++++++ ADMIN MENU CONFIGURATION +++++++++++++++++++++++++++++++++++++++++++
$menutitle = CULAN_AD_14;
$butname[] = CULAN_AD_31; // Admin Menu Button Name
$butlink[] = "contacts.php"; // Admin Menu Button Link.
$butname[] = CULAN_AD_32; // Admin Menu Button Name
$butlink[] = "prefs.php"; // Admin Menu Button Link.
// ++++++++ ADMIN TABLE PAGE CONFIGURATION +++++++++++++++++++++++++++++++++++++
$configtitle = "ContactUs - ".CULAN_AD_30;
$tablename = "lgcontactus"; // becomes e107_user2 or yourprefix_user2.
$primaryid = "name"; // first column of your table.
// Field 1 - first field after the primary one.
$fieldcapt[] = CULAN_AD_21;
$fieldname[] = "name";
$fieldtype[] = "text";
$fieldvalu[] = "";
// Field 2
$fieldcapt[] = CULAN_AD_22;
$fieldname[] = "email";
$fieldtype[] = "text";
$fieldvalu[] = "";
// ++++++++ ADMIN PREFERENCE CONFIGURATION +++++++++++++++++++++++++++++++++++++
$preftitle = "ContactUs - ".CULAN_AD_32;
$prefcapt[] = CULAN_AD_33;
$prefname[] = "contactus_visibility";
$preftype[] = "accesstable";
$prefvalu[] = ""; // (not required for date )
$prefcapt[] = CULAN_AD_34;
$prefname[] = "contactus_req_user";
$preftype[] = "checkbox";
$prefvalu[] = "1";
$prefcapt[] = CULAN_AD_35;
$prefname[] = "contactus_req_email";
$preftype[] = "checkbox";
$prefvalu[] = "1";
$prefcapt[] = CULAN_AD_38;
$prefname[] = "contactus_valid_email";
$preftype[] = "checkbox";
$prefvalu[] = "1";
$prefcapt[] = CULAN_AD_36;
$prefname[] = "contactus_req_subj";
$preftype[] = "checkbox";
$prefvalu[] = "1";
$prefcapt[] = CULAN_AD_37;
$prefname[] = "contactus_req_msg";
$preftype[] = "checkbox";
$prefvalu[] = "1";
$prefcapt[] = CULAN_AD_39;
$prefname[] = "contactus_allow_cc";
$preftype[] = "accesstable";
$prefvalu[] = "1";
$prefcapt[] = CULAN_AD_40;
$prefname[] = "contactus_email_override";
$preftype[] = "checkbox";
$prefvalu[] = "1";
// ++++++++ HELP FILE CONFIGURATION +++++++++++++++++++++++++++++++++++++
$helptitle = CULAN_AD_15;
// Help Text 1.
$helpcapt[] = CULAN_AD_21;
$helptext[] = CULAN_AD_101;
// Help Text 2.
$helpcapt[] = CULAN_AD_22;
$helptext[] = CULAN_AD_102;
$helpcapt[] = CULAN_AD_34;
$helptext[] = CULAN_AD_103;
$helpcapt[] = CULAN_AD_38;
$helptext[] = CULAN_AD_104;
?>
Please select the recipient and enter your request. A descriptive subject and detailed message will help us to serve you better. Fields marked with a "*" are required.
|