Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1600)
+++ branches/2.8.x/CHANGELOG	(revision 1601)
@@ -11,6 +11,9 @@
 ! = Update/Change
 
 =========================== add small Features 2.8.2 ==========================
+07 Feb-2012 Build 1601 Dietmar Woellbrink (Luisehahne)
+! little designfix in forgot_form.php
+! fix media if uploading zip files with folder, than create FolderProtectFiles
 07 Feb-2012 Build 1600 Dietmar Woellbrink (Luisehahne)
 # more fixed issues with get_magic_quotes_gpc and FCKeditor
 ! remove create and upload in FCKeditor Filemanager
Index: branches/2.8.x/wb/admin/media/upload.php
===================================================================
--- branches/2.8.x/wb/admin/media/upload.php	(revision 1600)
+++ branches/2.8.x/wb/admin/media/upload.php	(revision 1601)
@@ -162,8 +162,13 @@
 		}
 	}
 	if (isset($_POST['delzip'])) { unlink($filename1); }
+	$dir = dirname($filename1);
+    if(file_exists($dir)) {
+		$array = createFolderProtectFile($dir);
+    }
 }
 unset($list);
+
 if($sum_files == 1) {
 	$admin->print_success($sum_files.' '.$MESSAGE['MEDIA']['SINGLE_UPLOADED'] );
 } elseif($sum_files > 1) {
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1600)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1601)
@@ -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', '1600');
+if(!defined('REVISION')) define('REVISION', '1601');
 if(!defined('SP')) define('SP', 'SP2');
Index: branches/2.8.x/wb/account/forgot_form.php
===================================================================
--- branches/2.8.x/wb/account/forgot_form.php	(revision 1600)
+++ branches/2.8.x/wb/account/forgot_form.php	(revision 1601)
@@ -107,9 +107,9 @@
 <h1 style="text-align: center;"><?php echo $MENU['FORGOT']; ?></h1>
 <form name="forgot_pass" action="<?php echo WB_URL.'/account/forgot.php'; ?>" method="post">
 	<input type="hidden" name="url" value="{URL}" />
-		<table cellpadding="5" cellspacing="0" border="0" align="center" width="500">
+		<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="500">
 		<tr>
-			<td height="40" align="center" style="color: #<?php echo $message_color; ?>;" colspan="2">
+			<td height="40" align="center" style="color: #<?php echo $message_color; ?>;" colspan="3">
 			<strong><?php echo $message; ?></strong>
 			</td>
 		</tr>
Index: branches/2.8.x/wb/framework/functions.php
===================================================================
--- branches/2.8.x/wb/framework/functions.php	(revision 1600)
+++ branches/2.8.x/wb/framework/functions.php	(revision 1601)
@@ -38,9 +38,11 @@
 	if(substr($directory,-1) == "/") {
         $directory = substr($directory,0,-1);
     }
-    // If suplied dirname is a file then unlink it
+   // If suplied dirname is a file then unlink it
     if (is_file( $directory )) {
-        return unlink($directory);
+	  $retval = unlink($directory);
+	  clearstatcache();
+      return $retval;
     }
     if(!file_exists($directory) || !is_dir($directory)) {
         return false;
@@ -57,6 +59,7 @@
                     rm_full_dir($path);
                 } else {
                     unlink($path);
+					clearstatcache();
                 }
             }
         }
