1 |
807
|
Ruebenwurz
|
<?php
|
2 |
1573
|
Luisehahne
|
/**
|
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$
|
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 |
807
|
Ruebenwurz
|
|
18 |
1573
|
Luisehahne
|
// 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 |
807
|
Ruebenwurz
|
|
27 |
|
|
//Modul Description
|
28 |
822
|
thorn
|
$module_description = 'Med denne modulen kan du lage díne egne spesialtilpassede elektroniske skjemaer, som for eksempe et tilbakemeldings skjema. En stor takk til Rudolph Lartey for hjelpen med å videreutvikkle denne modulen, og for bidrag med koding av ekstra felt typer , osv.';
|
29 |
1573
|
Luisehahne
|
|
30 |
807
|
Ruebenwurz
|
//Variables for the backend
|
31 |
1553
|
Luisehahne
|
$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 |
1595
|
Luisehahne
|
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message to '.WEBSITE_TITLE;
|
38 |
1573
|
Luisehahne
|
$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';
|