Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 1022)
+++ trunk/CHANGELOG	(revision 1023)
@@ -11,6 +11,11 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.0 -------------------------------------
+01-July-2009 Matthias Gallas
++	Added posibility to upload and unzip .zip packages to media section
+	(Thanks to BerndJM)
+!	Updated Browse Media Window in wb_theme now supports file icons, more file
+	informations and a new preview function (Thanks to BerndJM)
 29-June-2009 Matthias Gallas
 #	Replaced in FCKEdiotor folder all index.html with index.php (ticket #691)
 !	Update PHPMailer to version 2.0.4 (ticket #733)
Index: trunk/wb/admin/media/browse.php
===================================================================
--- trunk/wb/admin/media/browse.php	(revision 1022)
+++ trunk/wb/admin/media/browse.php	(revision 1023)
@@ -31,6 +31,36 @@
 // Include the WB functions file
 require_once(WB_PATH.'/framework/functions.php');
 
+// Byte convert for filesize
+function byte_convert($bytes) {
+	$symbol = array('B', 'KB', 'MB', 'GB', 'TB');
+   $exp = 0;
+   $converted_value = 0;
+   if( $bytes > 0 ) {
+   	$exp = floor( log($bytes)/log(1024) );
+      $converted_value = ( $bytes/pow(1024,floor($exp)) );
+   }
+   return sprintf( '%.2f '.$symbol[$exp], $converted_value );
+}
+
+// Get file extension
+function get_filetype($fname) {
+	$pathinfo = pathinfo($fname);
+	$extension = strtolower($pathinfo['extension']);
+	return $extension;
+}
+
+// Get file extension for icons
+function get_filetype_icon($fname) {
+	$pathinfo = pathinfo($fname);
+	$extension = strtolower($pathinfo['extension']);
+	if (file_exists(THEME_PATH.'/images/files/'.$extension.'.png')) {
+		return $extension;
+	} else {
+		return 'unknown';
+	}
+}
+
 // Setup template object
 $template = new Template(THEME_PATH.'/templates');
 $template->set_file('page', 'media_browse.htt');
@@ -74,7 +104,8 @@
 								'THEME_URL' => THEME_URL,
 								'CURRENT_DIR' => $directory,
 								'PARENT_DIR_LINK' => $parent_dir_link,
-								'DISPLAY_UP_ARROW' => $display_up_arrow
+								'DISPLAY_UP_ARROW' => $display_up_arrow,
+								'INCLUDE_PATH' => WB_URL.'/include'
 								)
 						);
 
@@ -111,7 +142,10 @@
 											'LINK' => "browse.php?dir=$directory/$link_name",
 											'LINK_TARGET' => '',
 											'ROW_BG_COLOR' => $row_bg_color,
-											'FILETYPE_ICON' => THEME_URL.'/images/folder_16.png'
+											'FILETYPE_ICON' => THEME_URL.'/images/folder_16.png',
+											'SIZE' => '',
+											'DATE' => '',
+											'PREVIEW' => ''
 											)
 									);
 			$template->parse('list', 'list_block', true);
@@ -125,7 +159,20 @@
 	}
 	if(isset($FILE)) {
 		sort($FILE);
+		$filepreview = array('jpg','gif','tif','tiff','png','txt','css','js','cfg','conf');
 		foreach($FILE AS $name) {
+			$size = filesize('../../'.MEDIA_DIRECTORY.$directory.'/'.$name);
+			$bytes = byte_convert($size);
+			$fdate = filemtime('../../'.MEDIA_DIRECTORY.$directory.'/'.$name);
+			$date = gmdate(DATE_FORMAT.' '.TIME_FORMAT, $fdate);
+			$filetypeicon = get_filetype_icon(WB_URL.MEDIA_DIRECTORY.$directory.'/'.$name);
+			$filetype = get_filetype(WB_URL.MEDIA_DIRECTORY.$directory.'/'.$name);
+				
+			if (in_array($filetype, $filepreview)) {
+				$preview = 'preview';
+			} else {
+				$preview = '';
+			}
 			$temp_id++;
 			$template->set_var(array(
 											'NAME' => $name,
@@ -134,7 +181,10 @@
 											'LINK' => WB_URL.MEDIA_DIRECTORY.$directory.'/'.$name,
 											'LINK_TARGET' => '_blank',
 											'ROW_BG_COLOR' => $row_bg_color,
-											'FILETYPE_ICON' => THEME_URL.'/images/blank.gif'
+											'FILETYPE_ICON' => THEME_URL.'/images/files/'.$filetypeicon.'.png',
+											'SIZE' => $bytes,
+											'DATE' => $date,
+											'PREVIEW' => $preview
 											)
 									);
 			$template->parse('list', 'list_block', true);
@@ -170,6 +220,10 @@
 								'TEXT_RELOAD' => $TEXT['RELOAD'],
 								'TEXT_RENAME' => $TEXT['RENAME'],
 								'TEXT_DELETE' => $TEXT['DELETE'],
+								'TEXT_SIZE' => $TEXT['SIZE'],
+								'TEXT_DATE' => $TEXT['DATE'],
+								'TEXT_NAME' => $TEXT['NAME'],
+								'TEXT_TYPE' => $TEXT['TYPE'],
 								'TEXT_UP' => $TEXT['UP'],
 								'NONE_FOUND' => $MESSAGE['MEDIA']['NONE_FOUND'],
 								'CONFIRM_DELETE' => $MESSAGE['MEDIA']['CONFIRM_DELETE']
Index: trunk/wb/admin/media/upload.php
===================================================================
--- trunk/wb/admin/media/upload.php	(revision 1022)
+++ trunk/wb/admin/media/upload.php	(revision 1023)
@@ -34,6 +34,7 @@
 // Print admin header
 require('../../config.php');
 require_once(WB_PATH.'/framework/class.admin.php');
+require_once(WB_PATH.'/include/pclzip/pclzip.lib.php');	// Required to unzip file.
 $admin = new admin('Media', 'media_upload');
 
 // Include the WB functions file
@@ -94,14 +95,31 @@
 					change_mode($relative.$filename);
 				}
 			}
+			// store file name of first file for possible unzip action
+			if ($count == 1) {
+				$filename1 = $relative . $filename;
+			}
 		}
 	}
 }
 
+// If the user chose to unzip the first file, unzip into the current folder
+if (isset($_POST['unzip']) && isset($filename1) && file_exists($filename1) ) {
+	$archive = new PclZip($filename1);
+	$list = $archive->extract(PCLZIP_OPT_PATH, $relative);
+	if($list == 0) {
+		// error while trying to extract the archive (most likely wrong format)
+		$admin->print_error('UNABLE TO UNZIP FILE' . $archive -> errorInfo(true));
+	}
+}
+
 if($good_uploads == 1) {
-	$admin->print_success($good_uploads.$MESSAGE['MEDIA']['SINGLE_UPLOADED']);
+	$admin->print_success($good_uploads.' '.$MESSAGE['MEDIA']['SINGLE_UPLOADED']);
+	if (isset($_POST['delzip'])) {
+		unlink($filename1);
+	}
 } else {
-	$admin->print_success($good_uploads.$MESSAGE['MEDIA']['UPLOADED']);
+	$admin->print_success($good_uploads.' '.$MESSAGE['MEDIA']['UPLOADED']);
 }
 
 // Print admin 
Index: trunk/wb/admin/media/index.php
===================================================================
--- trunk/wb/admin/media/index.php	(revision 1022)
+++ trunk/wb/admin/media/index.php	(revision 1023)
@@ -71,7 +71,9 @@
 								'TEXT_OVERWRITE_EXISTING' => $TEXT['OVERWRITE_EXISTING'],
 								'TEXT_FILES' => $TEXT['FILES'],
 								'TEXT_CREATE_FOLDER' => $TEXT['CREATE_FOLDER'],
-								'TEXT_UPLOAD_FILES' => $TEXT['UPLOAD_FILES']
+								'TEXT_UPLOAD_FILES' => $TEXT['UPLOAD_FILES'],
+								'TEXT_UNZIP_FILE' => $TEXT['UNZIP_FILE'],
+								'TEXT_DELETE_ZIP' => $TEXT['DELETE_ZIP']
 								)
 						);
 
Index: trunk/wb/templates/wb_theme/fancybox.css
===================================================================
--- trunk/wb/templates/wb_theme/fancybox.css	(nonexistent)
+++ trunk/wb/templates/wb_theme/fancybox.css	(revision 1023)
@@ -0,0 +1,92 @@
+div#fancy_overlay {
+	position:absolute;
+	top: 0;
+	left: 0;
+	z-index: 90;
+	width: 100%;
+	background-color: #333;
+}
+
+div#fancy_loading {
+	position: absolute;
+	height: 40px;
+	width: 40px;
+	cursor: pointer;
+	display: none;
+	overflow: hidden;
+	background: transparent;
+	z-index: 100;
+}
+
+div#fancy_loading div {
+	position: absolute;
+	top: 0;
+	left: 0;
+	width: 40px;
+	height: 480px;
+	background: transparent url(images/fancy_progress.png) no-repeat;
+}
+
+div#fancy_close {
+/*
+	position: absolute;
+	top: -12px;
+	right: -12px;
+	height: 30px;
+	width: 30px;
+	background: transparent url(fancy_closebox.png) ;
+	cursor: pointer;
+	z-index: 100;
+	display: none;
+*/
+}
+
+div#fancy_content {
+	position: absolute;
+	top: 0;
+	left: 0;
+	width: 100%;
+	height: 100%;
+	padding: 0; 
+	margin: 0;
+	z-index: 96;
+}
+
+#fancy_frame {
+	position: relative;
+	width: 100%;
+	height: 100%;
+	display: none;
+}
+
+img#fancy_img {
+	position: absolute;
+	top: 0;
+	left: 0;
+	width: 100%;
+	height: 100%;
+	border:0; 
+	padding: 0; 
+	margin: 0;
+	z-index: 92;
+}
+
+div#fancy_outer {
+	position: absolute;
+    top: 0;
+    left: 0;
+    z-index: 90;
+    padding: 18px 18px 58px 18px;
+    margin: 0;
+    overflow: hidden;
+    background: transparent;
+    display: none;
+}
+
+div#fancy_inner {
+	position: relative;
+	width:100%;
+	height:100%;
+	border: 1px solid #444;
+	background: #FFF;
+}
\ No newline at end of file

Property changes on: trunk/wb/templates/wb_theme/fancybox.css
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/fh.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/fh.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/fh10.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/fh10.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/aif.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/aif.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/mp3.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/mp3.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/ppt.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/ppt.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/html.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/html.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/doc.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/doc.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/gif.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/gif.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/xls.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/xls.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/asf.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/asf.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/vcd.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/vcd.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/ogg.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/ogg.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/txt.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/txt.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/tif.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/tif.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/rar.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/rar.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/cda.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/cda.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/css.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/css.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/tiff.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/tiff.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/wav.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/wav.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/swf.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/swf.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/unknown.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/unknown.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/zip.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/zip.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/fla.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/fla.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/tgz.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/tgz.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/pdf.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/pdf.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/wmv.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/wmv.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/index.php
===================================================================
--- trunk/wb/templates/wb_theme/images/files/index.php	(nonexistent)
+++ trunk/wb/templates/wb_theme/images/files/index.php	(revision 1023)
@@ -0,0 +1,32 @@
+<?php
+/**
+ * $Id$
+ * Website Baker theme: wb_theme
+ * This theme is the default WB backend Theme
+ * Feel free to modify or build up on this template.
+ *
+ * This file prevents directory listing.
+ *
+ * LICENSE: GNU General Public License
+ * 
+ * @author     Johannes Tassilo Gruber
+ * @copyright  GNU General Public License
+ * @license    http://www.gnu.org/licenses/gpl.html
+ * @version    2.80
+ * @platform   Website Baker 2.8
+ *
+ * Website Baker is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Website Baker is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+*/
+
+// prevent directory listing
+header('Location: ../../../../index.php');
+
+?>
\ No newline at end of file

Property changes on: trunk/wb/templates/wb_theme/images/files/index.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/avi.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/avi.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/jpg.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/jpg.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/gz.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/gz.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/mpg.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/mpg.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/png.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/png.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/jpeg.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/jpeg.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/images/files/php.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: trunk/wb/templates/wb_theme/images/files/php.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: trunk/wb/templates/wb_theme/media.css
===================================================================
--- trunk/wb/templates/wb_theme/media.css	(revision 1022)
+++ trunk/wb/templates/wb_theme/media.css	(revision 1023)
@@ -35,3 +35,17 @@
 .hide {
 	display: none;
 }
+
+table.browse_header {
+	background-color: #EEE; 
+	border-bottom: 1px solid #35373a;
+}
+
+th.headline {
+	font-weight: normal;
+	font-size: 10px;
+	border-bottom: 1px solid #35373a;
+}
+
+
+
Index: trunk/wb/templates/wb_theme/templates/media_browse.htt
===================================================================
--- trunk/wb/templates/wb_theme/templates/media_browse.htt	(revision 1022)
+++ trunk/wb/templates/wb_theme/templates/media_browse.htt	(revision 1023)
@@ -10,69 +10,97 @@
 }
 </script>
 
+<link href="{THEME_URL}/fancybox.css" rel="stylesheet" type="text/css" />
+
+<script type="text/javascript" src="{INCLUDE_PATH}/jquery/jquery-min.js"></script>
+<script type="text/javascript" src="{INCLUDE_PATH}/jquery/plugins/jquery-fixedheader.js"></script>
+<script type="text/javascript" src="{INCLUDE_PATH}/jquery/plugins/jquery-fancybox.js"></script>
+<script type="text/javascript" src="{INCLUDE_PATH}/jquery/plugins/jquery-metadata.js"></script>
+
+<script language="javascript" type="text/javascript">
+$(document).ready(function(){
+	$("#browser").fixedHeader({
+		width: '100%', height: 355
+	});
+	
+	$("table#browser a.preview").fancybox({ 
+		'hideOnContentClick': true,
+		'overlayShow': true,
+		'zoomSpeedIn': 0,
+		'zoomSpeedOut': 0
+	});
+})
+</script>
+
 </head>
-<body>
-
-<table cellpadding="4" cellspacing="0" border="0" width="100%" style="border-bottom: 1px solid #35373a; width: 100%;">
-<tr style="background-color: #ECF1F3;">
-	<td width="16" align="center" style="padding-left: 10px;">
-		<a href="{PARENT_DIR_LINK}">
-			<img src="{THEME_URL}/images/up_folder_16.png" border="0" class="{DISPLAY_UP_ARROW}" alt="^" />
-		</a>
-	</td>
-	<td width="50">
-		<a href="{PARENT_DIR_LINK}" class="{DISPLAY_UP_ARROW}">
-			{TEXT_UP}
-		</a>
-	</td>
-	<td align="center">
-		{TEXT_CURRENT_FOLDER}: {MEDIA_DIRECTORY}{CURRENT_DIR}
-	</td>
-	<td width="16">
-		<a href="browse.php?dir={CURRENT_DIR}">
-			<img src="{THEME_URL}/images/reload_16.png" border="0" alt="" />
-		</a>
-	</td>
-	<td width="50">
-		<a href="browse.php?dir={CURRENT_DIR}">
-			{TEXT_RELOAD}
-		</a>
-	</td>
-</tr>
+<body onload="parent.document.create.target.value = '{MEDIA_DIRECTORY}{CURRENT_DIR}'; parent.document.upload.target.value = '{MEDIA_DIRECTORY}{CURRENT_DIR}';">
+<table cellpadding="4" cellspacing="0" border="0" width="100%" class="browse_header">
+	<tr>
+		<td align="left" width="100">
+			<a href="{PARENT_DIR_LINK}">
+				<img src="{THEME_URL}/images/up_folder_16.png" border="0" class="{DISPLAY_UP_ARROW}" alt="^" align="absmiddle" />
+			</a>
+			<a href="{PARENT_DIR_LINK}" class="{DISPLAY_UP_ARROW}">
+				{TEXT_UP}
+			</a>
+		</td>
+		<td align="center">
+			{TEXT_CURRENT_FOLDER}: {MEDIA_DIRECTORY}{CURRENT_DIR}
+		</td>
+		<td align="right" width="100" >
+			<a href="browse.php?dir={CURRENT_DIR}">
+				<img src="{THEME_URL}/images/reload_16.png" border="0" alt="" align="absmiddle" />
+			</a>
+			<a id="reload" href="browse.php?dir={CURRENT_DIR}">
+				{TEXT_RELOAD}
+			</a>
+		</td>
+	</tr>
 </table>
 
-<table cellpadding="4" cellspacing="0" border="0" width="100%" class="{DISPLAY_LIST_TABLE}">
-<!-- BEGIN list_block -->
-<tr style="background-color: #{ROW_BG_COLOR};" onmouseover="this.style.backgroundColor = '#F1F8DD'" onmouseout="this.style.backgroundColor = '#{ROW_BG_COLOR}'">
-	<td width="18" style="padding-left: 10px;">
-		<a href="{LINK}" target="{LINK_TARGET}">
-			<img src="{FILETYPE_ICON}" class="{DISPLAY_ICON}" border="0" alt="" />
-		</a>
-	</td>
-	<td>
-		<a href="{LINK}" target="{LINK_TARGET}">
-			{NAME}
-		</a>
-	</td>
-	<td width="85" align="right" class="{DISPLAY_RENAME}">
-		<a href="rename.php?dir={CURRENT_DIR}&id={TEMP_ID}">
-			<img src="{THEME_URL}/images/modify_16.png" alt="" border="0" /> {TEXT_RENAME}
-		</a>
-	</td>
-	<td width="70" style="padding-right: 15px;" align="right" class="{DISPLAY_DELETE}">
-		<a href="#" onclick="javascript: confirm_link('{CONFIRM_DELETE}\n {NAME_SLASHED}', 'delete.php?dir={CURRENT_DIR}&id={TEMP_ID}');">
-			<img src="{THEME_URL}/images/delete_16.png" alt="" border="0" /> {TEXT_DELETE}
-		</a>
-	</td>
-</tr>
-<!-- END list_block -->
+<table id="browser" cellpadding="4" cellspacing="0" border="0" width="100%" class="{DISPLAY_LIST_TABLE}">
+	<thead>
+		<tr style="background-color: #EEE;">
+			<th width="18" class="headline">{TEXT_TYPE}</th>
+			<th align="left" class="headline">{TEXT_NAME}</th>
+			<th align="right" width="80" class="headline">{TEXT_SIZE}</th>
+			<th align="right" width="80" class="headline">{TEXT_DATE}</th>
+			<th align="right" width="40" class="headline">{TEXT_RENAME}</th>
+			<th align="right" width="40" class="headline">{TEXT_DELETE}</th>
+		</tr>
+	</thead>
+	<tbody>
+		<!-- BEGIN list_block -->
+		<tr style="background-color: #{ROW_BG_COLOR};" onmouseover="this.style.backgroundColor = '#F1F8DD'" onmouseout="this.style.backgroundColor = '#{ROW_BG_COLOR}'">
+			<td style="padding-left: 10px;">
+				<img src="{FILETYPE_ICON}" class="{DISPLAY_ICON}" border="0" alt="" />
+			</td>
+			<td>
+				<a href="{LINK}" target="{LINK_TARGET}" class="{PREVIEW}">
+					{NAME}
+				</a>
+			</td>
+			<td align="right" style="font-size: 10px;">{SIZE}</td>
+			<td align="right" style="font-size: 10px;">{DATE}</td>
+			<td align="right" class="{DISPLAY_RENAME}">
+				<a href="rename.php?dir={CURRENT_DIR}&id={TEMP_ID}" title="{TEXT_RENAME}">
+					<img src="{THEME_URL}/images/modify_16.png" alt="" border="0" />
+				</a>
+			</td>
+			<td style="padding-right: 5px;" align="right" class="{DISPLAY_DELETE}">
+				<a href="#" onclick="javascript: confirm_link('{CONFIRM_DELETE}\n {NAME_SLASHED}', 'delete.php?dir={CURRENT_DIR}&id={TEMP_ID}');" title="{TEXT_DELETE}">
+					<img src="{THEME_URL}/images/delete_16.png" alt="" border="0" />
+				</a>
+			</td>
+		</tr>
+		<!-- END list_block -->
 </table>
 
-<font class="{DISPLAY_NONE_FOUND}">
+<span class="{DISPLAY_NONE_FOUND}">
 <br />
 &nbsp; &nbsp; 
 {NONE_FOUND}
-</font>
+</span>
 
 </body>
 </html>
Index: trunk/wb/templates/wb_theme/templates/media.htt
===================================================================
--- trunk/wb/templates/wb_theme/templates/media.htt	(revision 1022)
+++ trunk/wb/templates/wb_theme/templates/media.htt	(revision 1023)
@@ -1,17 +1,28 @@
 <!-- BEGIN main_block -->
 
+<script language="javascript" type="text/javascript">
+function toggle() {
+	var check = document.getElementById("file2");
+	if (check.style.visibility == "visible") {
+		for (i=2; i<=10; i++) {
+			document.getElementById("file" + i).style.visibility = "hidden";
+		}
+		document.getElementById("delzip").style.display = "inline";
+	} else {
+		for (i=2; i<=10; i++) {
+			document.getElementById("file" + i).style.visibility = "visible";
+		}
+		document.getElementById("delzip").style.display = "none";
+	}
+}
+</script>
+
 <h2>{HEADING_BROWSE_MEDIA}</h2>
 
-<iframe width="100%" height="320px" align="middle" src="browse.php"></iframe>
-
+<iframe width="100%" height="382px" align="center" src="browse.php" scrolling="no"></iframe>
 <br />
-
-
-
 <form name="create" action="create.php" method="post" class="{DISPLAY_CREATE}">
 
-<br />
-
 <h2>{HEADING_CREATE_FOLDER}</h2>
 
 <table cellpadding="3" cellspacing="0" border="0" width="100%">
@@ -26,7 +37,6 @@
 		</select>
 	</td>
 </tr>
-
 </table>
 <table cellpadding="3" cellspacing="0" border="0" width="100%">
 <tr>
@@ -61,62 +71,39 @@
 	</td>
 </tr>
 </table>
-<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%">
-<tr>
-	<td>
-		<input type="checkbox" name="overwrite" id="overwrite" value="yes" />
-		<label for="overwrite">
-		{TEXT_OVERWRITE_EXISTING} {TEXT_FILES}
-		</label>
-	</td>
-	<td width="160">
-		<input type="submit" name="submit" value="{TEXT_UPLOAD_FILES}" style="width: 160px;" />
-	</td>
-</tr>
-</table>
-<table cellpadding="3" cellspacing="0" border="0" width="100%">
-<tr>
-	<td width="50%" align="left">
-		<input type="file" size="42" name="file1" />
-	</td>
-	<td width="50%" align="right">
-		<input type="file" size="42" name="file2" />
-	</td>
-</tr>
-<tr>
-	<td width="50%" align="left">
-		<input type="file" size="42" name="file3" />
-	</td>
-	<td width="50%" align="right">
-		<input type="file" size="42" name="file4" />
-	</td>
-</tr>
-<tr>
-	<td width="50%" align="left">
-		<input type="file" size="42" name="file5" />
-	</td>
-	<td width="50%" align="right">
-		<input type="file" size="42" name="file6" />
-	</td>
-</tr>
-<tr>
-	<td width="50%" align="left">
-		<input type="file" size="42" name="file7" />
-	</td>
-	<td width="50%" align="right">
-		<input type="file" size="42" name="file8" />
-	</td>
-</tr>
-<tr>
-	<td width="50%" align="left">
-		<input type="file" size="42" name="file9" />
-	</td>
-	<td width="50%" align="right">
-		<input type="file" size="42" name="file10" />
-	</td>
-</tr>
-</table>
-
+<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%">
+    <tr>
+    	<td valign="top"><input type="checkbox" name="unzip" id="unzip"  onclick="toggle();" />
+<label for="unzip">{TEXT_UNZIP_FILE}</label>
+<span id="delzip" style="display: none;"><br /><input type="checkbox" name="delzip" id="deletezip" />
+<label for="deletezip">{TEXT_DELETE_ZIP}</label></span>
+</td>
+      <td valign="top"><input type="checkbox" name="overwrite" id="overwrite" value="yes" /><label for="overwrite">{TEXT_OVERWRITE_EXISTING}{TEXT_FILES}</label>      </td>
+      <td width="160" valign="top"><input type="submit" name="submit" value="{TEXT_UPLOAD_FILES}" style="width: 160px;" /></td>
+    </tr>
+  </table>
+<table cellpadding="3" cellspacing="0" border="0" width="100%">
+    <tr>
+      <td width="50%" align="left"><input type="file" size="27" name="file1" /></td>
+      <td width="50%" align="right"><input type="file" size="27" name="file2" id="file2" style="visibility: visible;" /></td>
+    </tr>
+    <tr>
+      <td width="50%" align="left"><input type="file" size="27" name="file3" id="file3" style="visibility: visible;" /></td>
+      <td width="50%" align="right"><input type="file" size="27" name="file4" id="file4" style="visibility: visible;"" /></td>
+    </tr>
+    <tr>
+      <td width="50%" align="left"><input type="file" size="27" name="file5" id="file5" style="visibility: visible;" /></td>
+      <td width="50%" align="right"><input type="file" size="27" name="file6" id="file6" style="visibility: visible;"" /></td>
+    </tr>
+    <tr>
+      <td width="50%" align="left"><input type="file" size="27" name="file7" id="file7" style="visibility: visible;" /></td>
+      <td width="50%" align="right"><input type="file" size="27" name="file8" id="file8" style="visibility: visible;" /></td>
+    </tr>
+    <tr>
+      <td width="50%" align="left"><input type="file" size="27" name="file9" id="file9" style="visibility: visible;" /></td>
+      <td width="50%" align="right"><input type="file" size="27" name="file10" id="file10" style="visibility: visible;" /></td>
+    </tr>
+  </table>
 </form>
 
 <!-- END main_block -->
\ No newline at end of file
Index: trunk/wb/languages/FI.php
===================================================================
--- trunk/wb/languages/FI.php	(revision 1022)
+++ trunk/wb/languages/FI.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Oikeutesi eiv&auml;t riit&auml;...';
Index: trunk/wb/languages/EN.php
===================================================================
--- trunk/wb/languages/EN.php	(revision 1022)
+++ trunk/wb/languages/EN.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Sorry, you do not have permissions to view this page';
Index: trunk/wb/languages/CS.php
===================================================================
--- trunk/wb/languages/CS.php	(revision 1022)
+++ trunk/wb/languages/CS.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Nem&aacute;te opr&aacute;vn&#283;n&iacute; prohl&iacute;&#382;et tuto str&aacute;nku';
Index: trunk/wb/languages/SE.php
===================================================================
--- trunk/wb/languages/SE.php	(revision 1022)
+++ trunk/wb/languages/SE.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Tyv&auml;rr, du har inte till&aring;telse att titta p&aring; denna sida';
Index: trunk/wb/languages/ES.php
===================================================================
--- trunk/wb/languages/ES.php	(revision 1022)
+++ trunk/wb/languages/ES.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Perd&oacute;n, no tiene permiso para ver esta p&aacute;gina';
Index: trunk/wb/languages/FR.php
===================================================================
--- trunk/wb/languages/FR.php	(revision 1022)
+++ trunk/wb/languages/FR.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'D&eacute;sol&eacute;, vous n&apos;avez pas les droits pour visualiser cette page';
Index: trunk/wb/languages/ET.php
===================================================================
--- trunk/wb/languages/ET.php	(revision 1022)
+++ trunk/wb/languages/ET.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Vabandame, sul ei ole &otilde;igusi selle lehe vaatamiseks';
Index: trunk/wb/languages/HR.php
===================================================================
--- trunk/wb/languages/HR.php	(revision 1022)
+++ trunk/wb/languages/HR.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Nemate dopu&scaron;tenje za gledanje ove stranice';
Index: trunk/wb/languages/NL.php
===================================================================
--- trunk/wb/languages/NL.php	(revision 1022)
+++ trunk/wb/languages/NL.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "niet ge&iuml;nstalleerd";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extensie";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Sorry, u heeft geen bevoegdheden om deze pagina te bekijken';
Index: trunk/wb/languages/PL.php
===================================================================
--- trunk/wb/languages/PL.php	(revision 1022)
+++ trunk/wb/languages/PL.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Niestety, nie masz uprawnie&#324; do ogl&#261;dania tej strony.';
Index: trunk/wb/languages/HU.php
===================================================================
--- trunk/wb/languages/HU.php	(revision 1022)
+++ trunk/wb/languages/HU.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Sajn&aacute;ljuk, de a megjelen&iacute;t&eacute;shez nincs jogosults&aacute;ga!';
Index: trunk/wb/languages/IT.php
===================================================================
--- trunk/wb/languages/IT.php	(revision 1022)
+++ trunk/wb/languages/IT.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Spaicente, non ha i permessi per vedere la pagina';
Index: trunk/wb/languages/NO.php
===================================================================
--- trunk/wb/languages/NO.php	(revision 1022)
+++ trunk/wb/languages/NO.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "ikke installert";
 $TEXT['ADDON'] = "Tillegg";
 $TEXT['EXTENSION'] = "Utvidelse";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Beklager, du har ikke tillgang til &aring; se denne siden';
Index: trunk/wb/languages/LV.php
===================================================================
--- trunk/wb/languages/LV.php	(revision 1022)
+++ trunk/wb/languages/LV.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Piedod, bet Tev nav tiesibu aplukot &scaron;o lapu';
Index: trunk/wb/languages/CA.php
===================================================================
--- trunk/wb/languages/CA.php	(revision 1022)
+++ trunk/wb/languages/CA.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Ho sentim, no teniu permisos per a veure aquesta p&agrave;gina';
Index: trunk/wb/languages/PT.php
===================================================================
--- trunk/wb/languages/PT.php	(revision 1022)
+++ trunk/wb/languages/PT.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Desculpe, voc&ecirc; n&atilde;o tem permiss&atilde;o para ver essa p&aacute;gina';
Index: trunk/wb/languages/DA.php
===================================================================
--- trunk/wb/languages/DA.php	(revision 1022)
+++ trunk/wb/languages/DA.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Beklager - du har ikke adgang til at se denne side';
Index: trunk/wb/languages/TR.php
===================================================================
--- trunk/wb/languages/TR.php	(revision 1022)
+++ trunk/wb/languages/TR.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = '&Uuml;zg&uuml;n&uuml;m, bu sayfay&yacute; g&ouml;r&uuml;nt&uuml;lemeye yetkiniz yok';
Index: trunk/wb/languages/RU.php
===================================================================
--- trunk/wb/languages/RU.php	(revision 1022)
+++ trunk/wb/languages/RU.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = '&#1048;&#1079;&#1074;&#1080;&#1085;&#1080;&#1090;&#1077;, &#1091; &#1074;&#1072;&#1089; &#1085;&#1077;&#1090; &#1087;&#1088;&#1072;&#1074; &#1076;&#1083;&#1103; &#1087;&#1088;&#1086;&#1089;&#1084;&#1086;&#1090;&#1088;&#1072; &#1101;&#1090;&#1086;&#1081; &#1089;&#1090;&#1088;&#1072;&#1085;&#1080;&#1094;&#1099;';
Index: trunk/wb/languages/DE.php
===================================================================
--- trunk/wb/languages/DE.php	(revision 1022)
+++ trunk/wb/languages/DE.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "nicht installiert";
 $TEXT['ADDON'] = "Addon";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Zip-Archiv hochladen und entpacken";
+$TEXT['DELETE_ZIP'] = "Zip-Archiv nach dem entpacken l&ouml;schen";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Sie sind nicht berechtigt, diese Seite zu sehen';
Index: trunk/wb/languages/BG.php
===================================================================
--- trunk/wb/languages/BG.php	(revision 1022)
+++ trunk/wb/languages/BG.php	(revision 1023)
@@ -436,6 +436,8 @@
 $TEXT['NOT_INSTALLED'] = "not installed";
 $TEXT['ADDON'] = "Add-On";
 $TEXT['EXTENSION'] = "Extension";
+$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
+$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
 
 // Success/error messages
 $MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = '&#1057;&#1098;&#1078;&#1072;&#1083;&#1103;&#1074;&#1072;&#1084;&#1077; ,&#1085;&#1086; &#1085;&#1103;&#1084;&#1072;&#1090;&#1077; &#1088;&#1072;&#1079;&#1088;&#1077;&#1096;&#1077;&#1085;&#1080;&#1077; &#1076;&#1072; &#1074;&#1080;&#1076;&#1080;&#1090;&#1077; &#1090;&#1072;&#1079;&#1080; &#1089;&#1090;&#1088;&#1072;&#1085;&#1080;&#1094;&#1072;';
