1
|
<?php
|
2
|
/**
|
3
|
*
|
4
|
* @category module
|
5
|
* @package Form
|
6
|
* @author WebsiteBaker Project
|
7
|
* @copyright 2009-2011, Website Baker Org. e.V.
|
8
|
* @link http://www.websitebaker2.org/
|
9
|
* @license http://www.gnu.org/licenses/gpl.html
|
10
|
* @platform WebsiteBaker 2.8.x
|
11
|
* @requirements PHP 5.2.2 and higher
|
12
|
* @version $Id: FR.php 1595 2012-02-03 23:42:18Z Luisehahne $
|
13
|
* @filesource $HeadURL: svn://isteam.dynxs.de/wb_svn/wb280/branches/2.8.x/wb/modules/form/view.php $
|
14
|
* @lastmodified $Date: 2011-12-31 16:03:03 +0100 (Sa, 31. Dez 2011) $
|
15
|
* @description
|
16
|
*/
|
17
|
|
18
|
// Must include code to stop this file being access directly
|
19
|
/* -------------------------------------------------------- */
|
20
|
if(defined('WB_PATH') == false)
|
21
|
{
|
22
|
// Stop this file being access directly
|
23
|
die('<head><title>Access denied</title></head><body><h2 style="color:red;margin:3em auto;text-align:center;">Cannot access this file directly</h2></body></html>');
|
24
|
}
|
25
|
/* -------------------------------------------------------- */
|
26
|
|
27
|
//Modul Description
|
28
|
$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.';
|
29
|
|
30
|
//Variables for the backend
|
31
|
$MOD_FORM['SETTINGS'] = 'Form Settings';
|
32
|
$MOD_FORM['CONFIRM'] = 'Confirmation';
|
33
|
$MOD_FORM['SUBMIT_FORM'] = 'Submit';
|
34
|
$MOD_FORM['EMAIL_SUBJECT'] = 'Delivering a message from '.WEBSITE_TITLE;
|
35
|
$MOD_FORM['SUCCESS_EMAIL_SUBJECT'] = 'You have submitted a message to '.WEBSITE_TITLE;
|
36
|
|
37
|
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message to '.WEBSITE_TITLE;
|
38
|
$MOD_FORM['SUCCESS_EMAIL_TEXT_GENERATED'] = PHP_EOL.PHP_EOL.PHP_EOL
|
39
|
.'****************************************************************************'.PHP_EOL
|
40
|
.'This is an automatically generated e-mail. The sender\'s address of this e-mail'.PHP_EOL
|
41
|
.'is furnished only for dispatch, not to receive messages!'.PHP_EOL
|
42
|
.'If you have received this e-mail by mistake, please contact us and delete this message'.PHP_EOL
|
43
|
.'****************************************************************************'.PHP_EOL;
|
44
|
|
45
|
$MOD_FORM['FROM'] = 'Sender';
|
46
|
$MOD_FORM['TO'] = 'Recipient';
|
47
|
|
48
|
$MOD_FORM['EXCESS_SUBMISSIONS'] = 'Sorry, this form has been submitted too many times so far this hour. Please retry in the next hour.';
|
49
|
$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>';
|
50
|
$MOD_FORM['REQUIRED_FIELDS'] = 'You must enter details for the following fields';
|