Project

General

Profile

« Previous | Next » 

Revision 1595

Added by Dietmar almost 13 years ago

fix form language vars for better understanding (Tks to Maverik)
change request if HTTP_REFERER is not empty in logout.php

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
=========================== add small Features 2.8.2 ==========================
14
04 Feb-2012 Build 1595 Dietmar Woellbrink (Luisehahne)
15
# fix form language vars for better understanding (Tks to Maverik)
16
! change request if HTTP_REFERER is not empty in logout.php 
14 17
03 Feb-2012 Build 1594 Dietmar Woellbrink (Luisehahne)
15 18
# fixed use of undefined constant fri in /form/view.php
16 19
01 Feb-2012 Build 1593 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.2');
54
if(!defined('REVISION')) define('REVISION', '1594');
54
if(!defined('REVISION')) define('REVISION', '1595');
55 55
if(!defined('SP')) define('SP', 'SP2');
branches/2.8.x/wb/account/logout.php
22 22
	setcookie('REMEMBER_KEY', '', time()-3600, '/');
23 23
}
24 24

  
25
$redirect = (isset($_SERVER['HTTP_REFERER'])) ?  $_SERVER['HTTP_REFERER'] : WB_URL.'/index.php';
25
$redirect = ((isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER'])) ?  $_SERVER['HTTP_REFERER'] : WB_URL.'/index.php');
26 26

  
27 27
$_SESSION['USER_ID'] = null;
28 28
$_SESSION['GROUP_ID'] = null;
branches/2.8.x/wb/modules/form/languages/NL.php
34 34
$MOD_FORM['EMAIL_SUBJECT'] = 'Delivering a message from '.WEBSITE_TITLE;
35 35
$MOD_FORM['SUCCESS_EMAIL_SUBJECT'] = 'You have submitted a message to '.WEBSITE_TITLE;
36 36

  
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message from '.WEBSITE_TITLE;
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message to '.WEBSITE_TITLE;
38 38
$MOD_FORM['SUCCESS_EMAIL_TEXT_GENERATED'] = PHP_EOL.PHP_EOL.PHP_EOL
39 39
.'****************************************************************************'.PHP_EOL
40 40
.'This is an automatically generated e-mail. The sender\'s address of this e-mail'.PHP_EOL
branches/2.8.x/wb/modules/form/languages/NO.php
34 34
$MOD_FORM['EMAIL_SUBJECT'] = 'Delivering a message from '.WEBSITE_TITLE;
35 35
$MOD_FORM['SUCCESS_EMAIL_SUBJECT'] = 'You have submitted a message to '.WEBSITE_TITLE;
36 36

  
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message from '.WEBSITE_TITLE;
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message to '.WEBSITE_TITLE;
38 38
$MOD_FORM['SUCCESS_EMAIL_TEXT_GENERATED'] = PHP_EOL.PHP_EOL.PHP_EOL
39 39
.'****************************************************************************'.PHP_EOL
40 40
.'This is an automatically generated e-mail. The sender\'s address of this e-mail'.PHP_EOL
branches/2.8.x/wb/modules/form/languages/EN.php
34 34
$MOD_FORM['EMAIL_SUBJECT'] = 'Delivering a message from '.WEBSITE_TITLE;
35 35
$MOD_FORM['SUCCESS_EMAIL_SUBJECT'] = 'You have submitted a message to '.WEBSITE_TITLE;
36 36

  
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message from '.WEBSITE_TITLE;
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message to '.WEBSITE_TITLE;
38 38
$MOD_FORM['SUCCESS_EMAIL_TEXT_GENERATED'] = PHP_EOL.PHP_EOL.PHP_EOL
39 39
.'****************************************************************************'.PHP_EOL
40 40
.'This is an automatically generated e-mail. The sender\'s address of this e-mail'.PHP_EOL
branches/2.8.x/wb/modules/form/languages/DA.php
34 34
$MOD_FORM['EMAIL_SUBJECT'] = 'Delivering a message from '.WEBSITE_TITLE;
35 35
$MOD_FORM['SUCCESS_EMAIL_SUBJECT'] = 'You have submitted a message to '.WEBSITE_TITLE;
36 36

  
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message from '.WEBSITE_TITLE;
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message to '.WEBSITE_TITLE;
38 38
$MOD_FORM['SUCCESS_EMAIL_TEXT_GENERATED'] = PHP_EOL.PHP_EOL.PHP_EOL
39 39
.'****************************************************************************'.PHP_EOL
40 40
.'This is an automatically generated e-mail. The sender\'s address of this e-mail'.PHP_EOL
branches/2.8.x/wb/modules/form/languages/RU.php
34 34
$MOD_FORM['EMAIL_SUBJECT'] = 'Delivering a message from '.WEBSITE_TITLE;
35 35
$MOD_FORM['SUCCESS_EMAIL_SUBJECT'] = 'You have submitted a message to '.WEBSITE_TITLE;
36 36

  
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message from '.WEBSITE_TITLE;
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message to '.WEBSITE_TITLE;
38 38
$MOD_FORM['SUCCESS_EMAIL_TEXT_GENERATED'] = PHP_EOL.PHP_EOL.PHP_EOL
39 39
.'****************************************************************************'.PHP_EOL
40 40
.'This is an automatically generated e-mail. The sender\'s address of this e-mail'.PHP_EOL
branches/2.8.x/wb/modules/form/languages/FR.php
34 34
$MOD_FORM['EMAIL_SUBJECT'] = 'Delivering a message from '.WEBSITE_TITLE;
35 35
$MOD_FORM['SUCCESS_EMAIL_SUBJECT'] = 'You have submitted a message to '.WEBSITE_TITLE;
36 36

  
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message from '.WEBSITE_TITLE;
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Thank you for sending your message to '.WEBSITE_TITLE;
38 38
$MOD_FORM['SUCCESS_EMAIL_TEXT_GENERATED'] = PHP_EOL.PHP_EOL.PHP_EOL
39 39
.'****************************************************************************'.PHP_EOL
40 40
.'This is an automatically generated e-mail. The sender\'s address of this e-mail'.PHP_EOL
branches/2.8.x/wb/modules/form/languages/DE.php
34 34
$MOD_FORM['EMAIL_SUBJECT'] = 'Erhalten einer Nachricht von '.WEBSITE_TITLE;
35 35
$MOD_FORM['SUCCESS_EMAIL_SUBJECT'] = 'Sie haben ein Forumlar an '.WEBSITE_TITLE.' gesendet';
36 36

  
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Vielen Dank für die Übermittlung Ihrer Nachricht von '.WEBSITE_TITLE.'';
37
$MOD_FORM['SUCCESS_EMAIL_TEXT'] = 'Vielen Dank für die Übermittlung Ihrer Nachricht an '.WEBSITE_TITLE.'';
38 38
$MOD_FORM['SUCCESS_EMAIL_TEXT_GENERATED'] = PHP_EOL.PHP_EOL.PHP_EOL
39 39
.'*************************************************************'.PHP_EOL
40 40
.'Dies ist eine automatisch generierte E-Mail. Die Absenderadresse dieser E-Mail'.PHP_EOL

Also available in: Unified diff