Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1602)
+++ branches/2.8.x/CHANGELOG	(revision 1603)
@@ -11,6 +11,9 @@
 ! = Update/Change
 
 =========================== add small Features 2.8.2 ==========================
+08 Feb-2012 Build 1603 Dietmar Woellbrink (Luisehahne)
+! fix local module reload and module manuell install
+! forgot to upload login.php
 08 Feb-2012 Build 1602 Dietmar Woellbrink (Luisehahne)
 ! a quick simple stylesheet fix in wb_theme, 
 07 Feb-2012 Build 1601 Dietmar Woellbrink (Luisehahne)
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1602)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1603)
@@ -51,5 +51,5 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2');
-if(!defined('REVISION')) define('REVISION', '1602');
+if(!defined('REVISION')) define('REVISION', '1603');
 if(!defined('SP')) define('SP', 'SP2');
Index: branches/2.8.x/wb/admin/modules/manual_install.php
===================================================================
--- branches/2.8.x/wb/admin/modules/manual_install.php	(revision 1602)
+++ branches/2.8.x/wb/admin/modules/manual_install.php	(revision 1603)
@@ -42,9 +42,9 @@
 if ($admin->get_permission('admintools') == false) { die(header('Location: ../../index.php')); }
 
 // check if the referer URL if available
-$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : 
+$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] :
 	(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : '');
-
+$referer = '';
 // if referer is set, check if script was invoked from "admin/modules/index.php"
 $required_url = ADMIN_URL . '/modules/index.php';
 if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) 
Index: branches/2.8.x/wb/admin/addons/reload.php
===================================================================
--- branches/2.8.x/wb/admin/addons/reload.php	(revision 1602)
+++ branches/2.8.x/wb/admin/addons/reload.php	(revision 1603)
@@ -40,6 +40,7 @@
 // check if the referer URL if available
 $referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] :
 	(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : '');
+$referer = '';
 // if referer is set, check if script was invoked from "admin/modules/index.php"
 $required_url = ADMIN_URL . '/addons/index.php';
 if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false)))
Index: branches/2.8.x/wb/account/login.php
===================================================================
--- branches/2.8.x/wb/account/login.php	(revision 1602)
+++ branches/2.8.x/wb/account/login.php	(revision 1603)
@@ -54,11 +54,11 @@
 // Create new login app
 $requestMethod = '_'.strtoupper($_SERVER['REQUEST_METHOD']);
 $redirect  = strip_tags(isset(${$requestMethod}['redirect']) ? ${$requestMethod}['redirect'] : '');
-$redirect = ((isset($_SERVER['HTTP_REFERER']) && empty($redirect)) ?  $_SERVER['HTTP_REFERER'] : $redirect);
-$_SESSION['HTTP_REFERER'] = str_replace(WB_URL,'',$redirect);
+$redirect = ((isset($_SESSION['HTTP_REFERER']) && ($redirect='')) ?  $_SESSION['HTTP_REFERER'] : $redirect);
+// $_SESSION['HTTP_REFERER'] = str_replace(WB_URL,'',$redirect);
 
-$loginUrl  = WB_URL.'/account/login.php';
-$loginUrl .= (!empty($redirect) ? '?redirect=' .$_SESSION['HTTP_REFERER'] : '');
+// $loginUrl  = WB_URL.'/account/login.php';
+$loginUrl .= (($redirect!='') ? '?redirect=' .$_SESSION['HTTP_REFERER'] : '');
 
 $ThemeUrl  = WB_URL.$wb->correct_theme_source('warning.html');
 // Setup template object, parse vars to it, then parse it
