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'] = 'Delivering a message from {{WEBSITE_TITLE}}';
|
33 |
|
|
$MOD_FORM['SUCCESS_EMAIL_SUBJECT'] = 'You have submitted a message by {{WEBSITE_TITLE}}';
|
34 |
|
|
|
35 |
|
|
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message to {{WEBSITE_TITLE}}! ';
|
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\n\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 been submitted too many times so far this hour. 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'] = 'E-mail confirmation occurs only to valid e-mail address of the user announced in each case! Dispatch to unchecked addresses is not possible! ';
|
53 |
|
|
$MOD_FORM['PRINT'] .= 'Please print this message!';
|
54 |
|
|
|
55 |
|
|
$MOD_FORM['REQUIRED_FIELDS'] = 'You must enter details for the following fields';
|
56 |
|
|
$MOD_FORM['RECIPIENT'] = 'E-mail confirmation occurs only to valid e-mail address of the user announced in each case! Dispatch to unchecked addresses is not possible!';
|
57 |
|
|
$MOD_FORM['ERROR'] = 'E-Mail could not send!!';
|
58 |
|
|
$MOD_FORM['SPAM'] = 'Caution! Answering an unchecked email can be perceived as spamming and entail the risk of receiving a cease-and-desist letter! ';
|
59 |
|
|
|
60 |
|
|
$TEXT['GUEST'] = 'Guest';
|
61 |
|
|
$TEXT['UNKNOWN'] = 'unkown';
|
62 |
|
|
$TEXT['PRINT_PAGE'] = 'Print page';
|
63 |
|
|
$TEXT['REQUIRED_JS'] = 'Required Javascript';
|
64 |
|
|
$TEXT['SUBMISSIONS_PERPAGE'] = 'Show submissions rows per page';
|