| 1 |
2
|
Manuela
|
<?php
|
| 2 |
|
|
/**
|
| 3 |
|
|
*
|
| 4 |
|
|
* @category module
|
| 5 |
|
|
* @package Form
|
| 6 |
|
|
* @author WebsiteBaker Project
|
| 7 |
|
|
* @copyright WebsiteBaker Org. e.V.
|
| 8 |
|
|
* @link http://websitebaker.org/
|
| 9 |
|
|
* @license http://www.gnu.org/licenses/gpl.html
|
| 10 |
|
|
* @platform WebsiteBaker 2.8.3
|
| 11 |
|
|
* @requirements PHP 5.3.6 and higher
|
| 12 |
|
|
* @version $Id$
|
| 13 |
|
|
* @filesource $HeadURL$
|
| 14 |
|
|
* @lastmodified $Date$
|
| 15 |
|
|
* @description
|
| 16 |
|
|
*/
|
| 17 |
|
|
|
| 18 |
|
|
// Must include code to stop this file being access directly
|
| 19 |
|
|
if(!defined('WB_URL')) {
|
| 20 |
|
|
require_once(dirname(dirname(dirname(dirname(__FILE__)))).'/framework/globalExceptionHandler.php');
|
| 21 |
|
|
throw new IllegalFileException();
|
| 22 |
|
|
}
|
| 23 |
|
|
/* -------------------------------------------------------- */
|
| 24 |
|
|
|
| 25 |
|
|
//Modul Description
|
| 26 |
|
|
$module_description = 'This module allows you to create customised online forms, such as a feedback form. Thank-you to Rudolph Lartey who help enhance this module, providing code for extra field types, etc.';
|
| 27 |
|
|
|
| 28 |
|
|
//Variables for the backend
|
| 29 |
|
|
$MOD_FORM['SETTINGS'] = 'Form Settings';
|
| 30 |
|
|
$MOD_FORM['CONFIRM'] = 'Confirmation';
|
| 31 |
|
|
$MOD_FORM['SUBMIT_FORM'] = 'Submit';
|
| 32 |
|
|
$MOD_FORM['EMAIL_SUBJECT'] = 'You have received a form via {{WEBSITE_TITLE}}';
|
| 33 |
|
|
$MOD_FORM['SUCCESS_EMAIL_SUBJECT'] = 'Your form has been submitted to {{WEBSITE_TITLE}}';
|
| 34 |
|
|
|
| 35 |
|
|
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message to {{WEBSITE_TITLE}}! '.PHP_EOL;
|
| 36 |
|
|
$MOD_FORM['SUCCESS_EMAIL_TEXT'] .= 'We will be going to contact you as soon as possible';
|
| 37 |
|
|
|
| 38 |
|
|
$MOD_FORM['SUCCESS_EMAIL_TEXT_GENERATED'] = "\n"
|
| 39 |
|
|
."**************************************************************************************\n"
|
| 40 |
|
|
."This is an automatically generated e-mail. The sender address of this e-mail\n"
|
| 41 |
|
|
."is furnished only for dispatch, not to receive messages!\n"
|
| 42 |
|
|
."If you have received this e-mail by mistake, please contact us and delete this message\n"
|
| 43 |
|
|
."**************************************************************************************\n";
|
| 44 |
|
|
|
| 45 |
|
|
$MOD_FORM['REPLYTO'] = 'E-Mail reply to';
|
| 46 |
|
|
$MOD_FORM['FROM'] = 'Sender';
|
| 47 |
|
|
$MOD_FORM['TO'] = 'Recipient';
|
| 48 |
|
|
|
| 49 |
|
|
$MOD_FORM['EXCESS_SUBMISSIONS'] = 'Sorry, this form has exceeded the maximum hourly submissions. Please retry in the next hour.';
|
| 50 |
|
|
$MOD_FORM['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email to the <a href="mailto:{{webmaster_email}}">webmaster</a>';
|
| 51 |
|
|
|
| 52 |
|
|
$MOD_FORM['PRINT'] = 'Sending an e-mail confirmation is not possible. ';
|
| 53 |
|
|
$MOD_FORM['PRINT'] = 'Dispatch to unchecked e-mail addresses is not possible! '.PHP_EOL;
|
| 54 |
|
|
$MOD_FORM['PRINT'] .= 'Please print this page, if a copy is desired for your records.';
|
| 55 |
|
|
|
| 56 |
|
|
$MOD_FORM['RECIPIENT'] = 'E-mail confirmations will only be sent to registered users!';
|
| 57 |
|
|
|
| 58 |
|
|
$MOD_FORM['ERROR'] = 'E-Mail could not send!!';
|
| 59 |
|
|
$MOD_FORM['SPAM'] = 'Caution! Answering an unchecked email can be perceived as spamming and entail the risk to get a cease-and-desist warning! ';
|
| 60 |
|
|
$MOD_FORM['REQUIRED_FIELDS'] = 'You must enter details for the following fields';
|
| 61 |
|
|
|
| 62 |
|
|
$TEXT['GUEST'] = 'Guest';
|
| 63 |
|
|
$TEXT['UNKNOWN'] = 'unkown';
|
| 64 |
|
|
$TEXT['PRINT_PAGE'] = 'Print page';
|
| 65 |
|
|
$TEXT['REQUIRED_JS'] = 'Required Javascript';
|
| 66 |
|
|
$TEXT['SUBMISSIONS_PERPAGE'] = 'Show submissions rows per page';
|