Project

General

Profile

« Previous | Next » 

Revision 1314

Added by Dietmar over 14 years ago

little fixes for backwards compatible PHP4, pls test

View differences:

branches/2.8.x/CHANGELOG
12 12

  
13 13
------------------------------------- 2.8.1 -------------------------------------
14 14
11-Apr-2010 Dietmar Woellbrink (Luisehahne)
15
!	little fixes for backwards compatible PHP4, pls test
16
11-Apr-2010 Dietmar Woellbrink (Luisehahne)
15 17
!	show_menu2 remove unneeded code for WB < 2.7
16 18
!	class.wb.php, recoding backend preference
17 19
+	add a language variable $MESSAGE['PREFERENCES']['INVALID_CHARS']
18 20
!	update theme.css for preference.htt in argos_theme & wb_theme
19
!	remove classic_theme
21
-	remove classic_theme
20 22
07-Apr-2010 Dietmar Woellbrink (Luisehahne)
21 23
#	Ticket #971 Using $_POST in Admin - account - login.php (tks to Aldus)
22 24
!	update class.wb.php added tokens function
branches/2.8.x/wb/admin/interface/version.php
52 52

  
53 53
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
54 54
if(!defined('VERSION')) define('VERSION', '2.8.x');
55
if(!defined('REVISION')) define('REVISION', '1313');
55
if(!defined('REVISION')) define('REVISION', '1314');
56 56

  
57 57
?>
branches/2.8.x/wb/framework/class.wb.php
27 27
class wb
28 28
{
29 29

  
30
	public $password_chars = 'a-zA-Z0-9\_\-\!\#\*\+';
31
	// General initialization function 
30
	var $password_chars = 'a-zA-Z0-9\_\-\!\#\*\+';
31
	// General initialization function
32 32
	// performed when frontend or backend is loaded.
33 33
	function wb() {
34 34
	}
......
281 281
 *
282 282
 * requirements: an active session must be available
283 283
 */
284
	public function getFTAN( $as_tag = true)
284
	function getFTAN( $as_tag = true)
285 285
	{
286 286
		if(function_exists('microtime'))
287 287
		{
......
319 319
 * requirements: an active session must be available
320 320
 * this check will prevent from multiple sending a form. history.back() also will never work
321 321
 */
322
	public function checkFTAN( $mode = 'POST')
322
	function checkFTAN( $mode = 'POST')
323 323
	{
324 324
		$retval = false;
325 325
		if(isset($_SESSION['FTAN']) && strlen($_SESSION['FTAN']) == strlen(md5('dummy')))

Also available in: Unified diff