Project

General

Profile

« Previous | Next » 

Revision 1023

Added by Matthias almost 15 years ago

- 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)

View differences:

trunk/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14
01-July-2009 Matthias Gallas
15
+	Added posibility to upload and unzip .zip packages to media section
16
	(Thanks to BerndJM)
17
!	Updated Browse Media Window in wb_theme now supports file icons, more file
18
	informations and a new preview function (Thanks to BerndJM)
14 19
29-June-2009 Matthias Gallas
15 20
#	Replaced in FCKEdiotor folder all index.html with index.php (ticket #691)
16 21
!	Update PHPMailer to version 2.0.4 (ticket #733)
trunk/wb/admin/media/browse.php
31 31
// Include the WB functions file
32 32
require_once(WB_PATH.'/framework/functions.php');
33 33

  
34
// Byte convert for filesize
35
function byte_convert($bytes) {
36
	$symbol = array('B', 'KB', 'MB', 'GB', 'TB');
37
   $exp = 0;
38
   $converted_value = 0;
39
   if( $bytes > 0 ) {
40
   	$exp = floor( log($bytes)/log(1024) );
41
      $converted_value = ( $bytes/pow(1024,floor($exp)) );
42
   }
43
   return sprintf( '%.2f '.$symbol[$exp], $converted_value );
44
}
45

  
46
// Get file extension
47
function get_filetype($fname) {
48
	$pathinfo = pathinfo($fname);
49
	$extension = strtolower($pathinfo['extension']);
50
	return $extension;
51
}
52

  
53
// Get file extension for icons
54
function get_filetype_icon($fname) {
55
	$pathinfo = pathinfo($fname);
56
	$extension = strtolower($pathinfo['extension']);
57
	if (file_exists(THEME_PATH.'/images/files/'.$extension.'.png')) {
58
		return $extension;
59
	} else {
60
		return 'unknown';
61
	}
62
}
63

  
34 64
// Setup template object
35 65
$template = new Template(THEME_PATH.'/templates');
36 66
$template->set_file('page', 'media_browse.htt');
......
74 104
								'THEME_URL' => THEME_URL,
75 105
								'CURRENT_DIR' => $directory,
76 106
								'PARENT_DIR_LINK' => $parent_dir_link,
77
								'DISPLAY_UP_ARROW' => $display_up_arrow
107
								'DISPLAY_UP_ARROW' => $display_up_arrow,
108
								'INCLUDE_PATH' => WB_URL.'/include'
78 109
								)
79 110
						);
80 111

  
......
111 142
											'LINK' => "browse.php?dir=$directory/$link_name",
112 143
											'LINK_TARGET' => '',
113 144
											'ROW_BG_COLOR' => $row_bg_color,
114
											'FILETYPE_ICON' => THEME_URL.'/images/folder_16.png'
145
											'FILETYPE_ICON' => THEME_URL.'/images/folder_16.png',
146
											'SIZE' => '',
147
											'DATE' => '',
148
											'PREVIEW' => ''
115 149
											)
116 150
									);
117 151
			$template->parse('list', 'list_block', true);
......
125 159
	}
126 160
	if(isset($FILE)) {
127 161
		sort($FILE);
162
		$filepreview = array('jpg','gif','tif','tiff','png','txt','css','js','cfg','conf');
128 163
		foreach($FILE AS $name) {
164
			$size = filesize('../../'.MEDIA_DIRECTORY.$directory.'/'.$name);
165
			$bytes = byte_convert($size);
166
			$fdate = filemtime('../../'.MEDIA_DIRECTORY.$directory.'/'.$name);
167
			$date = gmdate(DATE_FORMAT.' '.TIME_FORMAT, $fdate);
168
			$filetypeicon = get_filetype_icon(WB_URL.MEDIA_DIRECTORY.$directory.'/'.$name);
169
			$filetype = get_filetype(WB_URL.MEDIA_DIRECTORY.$directory.'/'.$name);
170
				
171
			if (in_array($filetype, $filepreview)) {
172
				$preview = 'preview';
173
			} else {
174
				$preview = '';
175
			}
129 176
			$temp_id++;
130 177
			$template->set_var(array(
131 178
											'NAME' => $name,
......
134 181
											'LINK' => WB_URL.MEDIA_DIRECTORY.$directory.'/'.$name,
135 182
											'LINK_TARGET' => '_blank',
136 183
											'ROW_BG_COLOR' => $row_bg_color,
137
											'FILETYPE_ICON' => THEME_URL.'/images/blank.gif'
184
											'FILETYPE_ICON' => THEME_URL.'/images/files/'.$filetypeicon.'.png',
185
											'SIZE' => $bytes,
186
											'DATE' => $date,
187
											'PREVIEW' => $preview
138 188
											)
139 189
									);
140 190
			$template->parse('list', 'list_block', true);
......
170 220
								'TEXT_RELOAD' => $TEXT['RELOAD'],
171 221
								'TEXT_RENAME' => $TEXT['RENAME'],
172 222
								'TEXT_DELETE' => $TEXT['DELETE'],
223
								'TEXT_SIZE' => $TEXT['SIZE'],
224
								'TEXT_DATE' => $TEXT['DATE'],
225
								'TEXT_NAME' => $TEXT['NAME'],
226
								'TEXT_TYPE' => $TEXT['TYPE'],
173 227
								'TEXT_UP' => $TEXT['UP'],
174 228
								'NONE_FOUND' => $MESSAGE['MEDIA']['NONE_FOUND'],
175 229
								'CONFIRM_DELETE' => $MESSAGE['MEDIA']['CONFIRM_DELETE']
trunk/wb/admin/media/upload.php
34 34
// Print admin header
35 35
require('../../config.php');
36 36
require_once(WB_PATH.'/framework/class.admin.php');
37
require_once(WB_PATH.'/include/pclzip/pclzip.lib.php');	// Required to unzip file.
37 38
$admin = new admin('Media', 'media_upload');
38 39

  
39 40
// Include the WB functions file
......
94 95
					change_mode($relative.$filename);
95 96
				}
96 97
			}
98
			// store file name of first file for possible unzip action
99
			if ($count == 1) {
100
				$filename1 = $relative . $filename;
101
			}
97 102
		}
98 103
	}
99 104
}
100 105

  
106
// If the user chose to unzip the first file, unzip into the current folder
107
if (isset($_POST['unzip']) && isset($filename1) && file_exists($filename1) ) {
108
	$archive = new PclZip($filename1);
109
	$list = $archive->extract(PCLZIP_OPT_PATH, $relative);
110
	if($list == 0) {
111
		// error while trying to extract the archive (most likely wrong format)
112
		$admin->print_error('UNABLE TO UNZIP FILE' . $archive -> errorInfo(true));
113
	}
114
}
115

  
101 116
if($good_uploads == 1) {
102
	$admin->print_success($good_uploads.$MESSAGE['MEDIA']['SINGLE_UPLOADED']);
117
	$admin->print_success($good_uploads.' '.$MESSAGE['MEDIA']['SINGLE_UPLOADED']);
118
	if (isset($_POST['delzip'])) {
119
		unlink($filename1);
120
	}
103 121
} else {
104
	$admin->print_success($good_uploads.$MESSAGE['MEDIA']['UPLOADED']);
122
	$admin->print_success($good_uploads.' '.$MESSAGE['MEDIA']['UPLOADED']);
105 123
}
106 124

  
107 125
// Print admin 
trunk/wb/admin/media/index.php
71 71
								'TEXT_OVERWRITE_EXISTING' => $TEXT['OVERWRITE_EXISTING'],
72 72
								'TEXT_FILES' => $TEXT['FILES'],
73 73
								'TEXT_CREATE_FOLDER' => $TEXT['CREATE_FOLDER'],
74
								'TEXT_UPLOAD_FILES' => $TEXT['UPLOAD_FILES']
74
								'TEXT_UPLOAD_FILES' => $TEXT['UPLOAD_FILES'],
75
								'TEXT_UNZIP_FILE' => $TEXT['UNZIP_FILE'],
76
								'TEXT_DELETE_ZIP' => $TEXT['DELETE_ZIP']
75 77
								)
76 78
						);
77 79

  
trunk/wb/templates/wb_theme/fancybox.css
1
div#fancy_overlay {
2
	position:absolute;
3
	top: 0;
4
	left: 0;
5
	z-index: 90;
6
	width: 100%;
7
	background-color: #333;
8
}
9

  
10
div#fancy_loading {
11
	position: absolute;
12
	height: 40px;
13
	width: 40px;
14
	cursor: pointer;
15
	display: none;
16
	overflow: hidden;
17
	background: transparent;
18
	z-index: 100;
19
}
20

  
21
div#fancy_loading div {
22
	position: absolute;
23
	top: 0;
24
	left: 0;
25
	width: 40px;
26
	height: 480px;
27
	background: transparent url(images/fancy_progress.png) no-repeat;
28
}
29

  
30
div#fancy_close {
31
/*
32
	position: absolute;
33
	top: -12px;
34
	right: -12px;
35
	height: 30px;
36
	width: 30px;
37
	background: transparent url(fancy_closebox.png) ;
38
	cursor: pointer;
39
	z-index: 100;
40
	display: none;
41
*/
42
}
43

  
44
div#fancy_content {
45
	position: absolute;
46
	top: 0;
47
	left: 0;
48
	width: 100%;
49
	height: 100%;
50
	padding: 0; 
51
	margin: 0;
52
	z-index: 96;
53
}
54

  
55
#fancy_frame {
56
	position: relative;
57
	width: 100%;
58
	height: 100%;
59
	display: none;
60
}
61

  
62
img#fancy_img {
63
	position: absolute;
64
	top: 0;
65
	left: 0;
66
	width: 100%;
67
	height: 100%;
68
	border:0; 
69
	padding: 0; 
70
	margin: 0;
71
	z-index: 92;
72
}
73

  
74
div#fancy_outer {
75
	position: absolute;
76
    top: 0;
77
    left: 0;
78
    z-index: 90;
79
    padding: 18px 18px 58px 18px;
80
    margin: 0;
81
    overflow: hidden;
82
    background: transparent;
83
    display: none;
84
}
85

  
86
div#fancy_inner {
87
	position: relative;
88
	width:100%;
89
	height:100%;
90
	border: 1px solid #444;
91
	background: #FFF;
92
}
0 93

  
trunk/wb/templates/wb_theme/images/files/index.php
1
<?php
2
/**
3
 * $Id$
4
 * Website Baker theme: wb_theme
5
 * This theme is the default WB backend Theme
6
 * Feel free to modify or build up on this template.
7
 *
8
 * This file prevents directory listing.
9
 *
10
 * LICENSE: GNU General Public License
11
 * 
12
 * @author     Johannes Tassilo Gruber
13
 * @copyright  GNU General Public License
14
 * @license    http://www.gnu.org/licenses/gpl.html
15
 * @version    2.80
16
 * @platform   Website Baker 2.8
17
 *
18
 * Website Baker is free software; you can redistribute it and/or modify
19
 * it under the terms of the GNU General Public License as published by
20
 * the Free Software Foundation; either version 2 of the License, or
21
 * (at your option) any later version.
22
 *
23
 * Website Baker is distributed in the hope that it will be useful,
24
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
 * GNU General Public License for more details.
27
*/
28

  
29
// prevent directory listing
30
header('Location: ../../../../index.php');
31

  
32
?>
0 33

  
trunk/wb/templates/wb_theme/media.css
35 35
.hide {
36 36
	display: none;
37 37
}
38

  
39
table.browse_header {
40
	background-color: #EEE; 
41
	border-bottom: 1px solid #35373a;
42
}
43

  
44
th.headline {
45
	font-weight: normal;
46
	font-size: 10px;
47
	border-bottom: 1px solid #35373a;
48
}
49

  
50

  
51

  
trunk/wb/templates/wb_theme/templates/media_browse.htt
10 10
}
11 11
</script>
12 12

  
13
<link href="{THEME_URL}/fancybox.css" rel="stylesheet" type="text/css" />
14

  
15
<script type="text/javascript" src="{INCLUDE_PATH}/jquery/jquery-min.js"></script>
16
<script type="text/javascript" src="{INCLUDE_PATH}/jquery/plugins/jquery-fixedheader.js"></script>
17
<script type="text/javascript" src="{INCLUDE_PATH}/jquery/plugins/jquery-fancybox.js"></script>
18
<script type="text/javascript" src="{INCLUDE_PATH}/jquery/plugins/jquery-metadata.js"></script>
19

  
20
<script language="javascript" type="text/javascript">
21
$(document).ready(function(){
22
	$("#browser").fixedHeader({
23
		width: '100%', height: 355
24
	});
25
	
26
	$("table#browser a.preview").fancybox({ 
27
		'hideOnContentClick': true,
28
		'overlayShow': true,
29
		'zoomSpeedIn': 0,
30
		'zoomSpeedOut': 0
31
	});
32
})
33
</script>
34

  
13 35
</head>
14
<body>
15

  
16
<table cellpadding="4" cellspacing="0" border="0" width="100%" style="border-bottom: 1px solid #35373a; width: 100%;">
17
<tr style="background-color: #ECF1F3;">
18
	<td width="16" align="center" style="padding-left: 10px;">
19
		<a href="{PARENT_DIR_LINK}">
20
			<img src="{THEME_URL}/images/up_folder_16.png" border="0" class="{DISPLAY_UP_ARROW}" alt="^" />
21
		</a>
22
	</td>
23
	<td width="50">
24
		<a href="{PARENT_DIR_LINK}" class="{DISPLAY_UP_ARROW}">
25
			{TEXT_UP}
26
		</a>
27
	</td>
28
	<td align="center">
29
		{TEXT_CURRENT_FOLDER}: {MEDIA_DIRECTORY}{CURRENT_DIR}
30
	</td>
31
	<td width="16">
32
		<a href="browse.php?dir={CURRENT_DIR}">
33
			<img src="{THEME_URL}/images/reload_16.png" border="0" alt="" />
34
		</a>
35
	</td>
36
	<td width="50">
37
		<a href="browse.php?dir={CURRENT_DIR}">
38
			{TEXT_RELOAD}
39
		</a>
40
	</td>
41
</tr>
36
<body onload="parent.document.create.target.value = '{MEDIA_DIRECTORY}{CURRENT_DIR}'; parent.document.upload.target.value = '{MEDIA_DIRECTORY}{CURRENT_DIR}';">
37
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="browse_header">
38
	<tr>
39
		<td align="left" width="100">
40
			<a href="{PARENT_DIR_LINK}">
41
				<img src="{THEME_URL}/images/up_folder_16.png" border="0" class="{DISPLAY_UP_ARROW}" alt="^" align="absmiddle" />
42
			</a>
43
			<a href="{PARENT_DIR_LINK}" class="{DISPLAY_UP_ARROW}">
44
				{TEXT_UP}
45
			</a>
46
		</td>
47
		<td align="center">
48
			{TEXT_CURRENT_FOLDER}: {MEDIA_DIRECTORY}{CURRENT_DIR}
49
		</td>
50
		<td align="right" width="100" >
51
			<a href="browse.php?dir={CURRENT_DIR}">
52
				<img src="{THEME_URL}/images/reload_16.png" border="0" alt="" align="absmiddle" />
53
			</a>
54
			<a id="reload" href="browse.php?dir={CURRENT_DIR}">
55
				{TEXT_RELOAD}
56
			</a>
57
		</td>
58
	</tr>
42 59
</table>
43 60

  
44
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="{DISPLAY_LIST_TABLE}">
45
<!-- BEGIN list_block -->
46
<tr style="background-color: #{ROW_BG_COLOR};" onmouseover="this.style.backgroundColor = '#F1F8DD'" onmouseout="this.style.backgroundColor = '#{ROW_BG_COLOR}'">
47
	<td width="18" style="padding-left: 10px;">
48
		<a href="{LINK}" target="{LINK_TARGET}">
49
			<img src="{FILETYPE_ICON}" class="{DISPLAY_ICON}" border="0" alt="" />
50
		</a>
51
	</td>
52
	<td>
53
		<a href="{LINK}" target="{LINK_TARGET}">
54
			{NAME}
55
		</a>
56
	</td>
57
	<td width="85" align="right" class="{DISPLAY_RENAME}">
58
		<a href="rename.php?dir={CURRENT_DIR}&id={TEMP_ID}">
59
			<img src="{THEME_URL}/images/modify_16.png" alt="" border="0" /> {TEXT_RENAME}
60
		</a>
61
	</td>
62
	<td width="70" style="padding-right: 15px;" align="right" class="{DISPLAY_DELETE}">
63
		<a href="#" onclick="javascript: confirm_link('{CONFIRM_DELETE}\n {NAME_SLASHED}', 'delete.php?dir={CURRENT_DIR}&id={TEMP_ID}');">
64
			<img src="{THEME_URL}/images/delete_16.png" alt="" border="0" /> {TEXT_DELETE}
65
		</a>
66
	</td>
67
</tr>
68
<!-- END list_block -->
61
<table id="browser" cellpadding="4" cellspacing="0" border="0" width="100%" class="{DISPLAY_LIST_TABLE}">
62
	<thead>
63
		<tr style="background-color: #EEE;">
64
			<th width="18" class="headline">{TEXT_TYPE}</th>
65
			<th align="left" class="headline">{TEXT_NAME}</th>
66
			<th align="right" width="80" class="headline">{TEXT_SIZE}</th>
67
			<th align="right" width="80" class="headline">{TEXT_DATE}</th>
68
			<th align="right" width="40" class="headline">{TEXT_RENAME}</th>
69
			<th align="right" width="40" class="headline">{TEXT_DELETE}</th>
70
		</tr>
71
	</thead>
72
	<tbody>
73
		<!-- BEGIN list_block -->
74
		<tr style="background-color: #{ROW_BG_COLOR};" onmouseover="this.style.backgroundColor = '#F1F8DD'" onmouseout="this.style.backgroundColor = '#{ROW_BG_COLOR}'">
75
			<td style="padding-left: 10px;">
76
				<img src="{FILETYPE_ICON}" class="{DISPLAY_ICON}" border="0" alt="" />
77
			</td>
78
			<td>
79
				<a href="{LINK}" target="{LINK_TARGET}" class="{PREVIEW}">
80
					{NAME}
81
				</a>
82
			</td>
83
			<td align="right" style="font-size: 10px;">{SIZE}</td>
84
			<td align="right" style="font-size: 10px;">{DATE}</td>
85
			<td align="right" class="{DISPLAY_RENAME}">
86
				<a href="rename.php?dir={CURRENT_DIR}&id={TEMP_ID}" title="{TEXT_RENAME}">
87
					<img src="{THEME_URL}/images/modify_16.png" alt="" border="0" />
88
				</a>
89
			</td>
90
			<td style="padding-right: 5px;" align="right" class="{DISPLAY_DELETE}">
91
				<a href="#" onclick="javascript: confirm_link('{CONFIRM_DELETE}\n {NAME_SLASHED}', 'delete.php?dir={CURRENT_DIR}&id={TEMP_ID}');" title="{TEXT_DELETE}">
92
					<img src="{THEME_URL}/images/delete_16.png" alt="" border="0" />
93
				</a>
94
			</td>
95
		</tr>
96
		<!-- END list_block -->
69 97
</table>
70 98

  
71
<font class="{DISPLAY_NONE_FOUND}">
99
<span class="{DISPLAY_NONE_FOUND}">
72 100
<br />
73 101
&nbsp; &nbsp; 
74 102
{NONE_FOUND}
75
</font>
103
</span>
76 104

  
77 105
</body>
78 106
</html>
trunk/wb/templates/wb_theme/templates/media.htt
1 1
<!-- BEGIN main_block -->
2 2

  
3
<script language="javascript" type="text/javascript">
4
function toggle() {
5
	var check = document.getElementById("file2");
6
	if (check.style.visibility == "visible") {
7
		for (i=2; i<=10; i++) {
8
			document.getElementById("file" + i).style.visibility = "hidden";
9
		}
10
		document.getElementById("delzip").style.display = "inline";
11
	} else {
12
		for (i=2; i<=10; i++) {
13
			document.getElementById("file" + i).style.visibility = "visible";
14
		}
15
		document.getElementById("delzip").style.display = "none";
16
	}
17
}
18
</script>
19

  
3 20
<h2>{HEADING_BROWSE_MEDIA}</h2>
4 21

  
5
<iframe width="100%" height="320px" align="middle" src="browse.php"></iframe>
6

  
22
<iframe width="100%" height="382px" align="center" src="browse.php" scrolling="no"></iframe>
7 23
<br />
8

  
9

  
10

  
11 24
<form name="create" action="create.php" method="post" class="{DISPLAY_CREATE}">
12 25

  
13
<br />
14

  
15 26
<h2>{HEADING_CREATE_FOLDER}</h2>
16 27

  
17 28
<table cellpadding="3" cellspacing="0" border="0" width="100%">
......
26 37
		</select>
27 38
	</td>
28 39
</tr>
29

  
30 40
</table>
31 41
<table cellpadding="3" cellspacing="0" border="0" width="100%">
32 42
<tr>
......
61 71
	</td>
62 72
</tr>
63 73
</table>
64
<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%">
65
<tr>
66
	<td>
67
		<input type="checkbox" name="overwrite" id="overwrite" value="yes" />
68
		<label for="overwrite">
69
		{TEXT_OVERWRITE_EXISTING} {TEXT_FILES}
70
		</label>
71
	</td>
72
	<td width="160">
73
		<input type="submit" name="submit" value="{TEXT_UPLOAD_FILES}" style="width: 160px;" />
74
	</td>
75
</tr>
76
</table>
77
<table cellpadding="3" cellspacing="0" border="0" width="100%">
78
<tr>
79
	<td width="50%" align="left">
80
		<input type="file" size="42" name="file1" />
81
	</td>
82
	<td width="50%" align="right">
83
		<input type="file" size="42" name="file2" />
84
	</td>
85
</tr>
86
<tr>
87
	<td width="50%" align="left">
88
		<input type="file" size="42" name="file3" />
89
	</td>
90
	<td width="50%" align="right">
91
		<input type="file" size="42" name="file4" />
92
	</td>
93
</tr>
94
<tr>
95
	<td width="50%" align="left">
96
		<input type="file" size="42" name="file5" />
97
	</td>
98
	<td width="50%" align="right">
99
		<input type="file" size="42" name="file6" />
100
	</td>
101
</tr>
102
<tr>
103
	<td width="50%" align="left">
104
		<input type="file" size="42" name="file7" />
105
	</td>
106
	<td width="50%" align="right">
107
		<input type="file" size="42" name="file8" />
108
	</td>
109
</tr>
110
<tr>
111
	<td width="50%" align="left">
112
		<input type="file" size="42" name="file9" />
113
	</td>
114
	<td width="50%" align="right">
115
		<input type="file" size="42" name="file10" />
116
	</td>
117
</tr>
118
</table>
119

  
74
<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%">
75
    <tr>
76
    	<td valign="top"><input type="checkbox" name="unzip" id="unzip"  onclick="toggle();" />
77
<label for="unzip">{TEXT_UNZIP_FILE}</label>
78
<span id="delzip" style="display: none;"><br /><input type="checkbox" name="delzip" id="deletezip" />
79
<label for="deletezip">{TEXT_DELETE_ZIP}</label></span>
80
</td>
81
      <td valign="top"><input type="checkbox" name="overwrite" id="overwrite" value="yes" /><label for="overwrite">{TEXT_OVERWRITE_EXISTING}{TEXT_FILES}</label>      </td>
82
      <td width="160" valign="top"><input type="submit" name="submit" value="{TEXT_UPLOAD_FILES}" style="width: 160px;" /></td>
83
    </tr>
84
  </table>
85
<table cellpadding="3" cellspacing="0" border="0" width="100%">
86
    <tr>
87
      <td width="50%" align="left"><input type="file" size="27" name="file1" /></td>
88
      <td width="50%" align="right"><input type="file" size="27" name="file2" id="file2" style="visibility: visible;" /></td>
89
    </tr>
90
    <tr>
91
      <td width="50%" align="left"><input type="file" size="27" name="file3" id="file3" style="visibility: visible;" /></td>
92
      <td width="50%" align="right"><input type="file" size="27" name="file4" id="file4" style="visibility: visible;"" /></td>
93
    </tr>
94
    <tr>
95
      <td width="50%" align="left"><input type="file" size="27" name="file5" id="file5" style="visibility: visible;" /></td>
96
      <td width="50%" align="right"><input type="file" size="27" name="file6" id="file6" style="visibility: visible;"" /></td>
97
    </tr>
98
    <tr>
99
      <td width="50%" align="left"><input type="file" size="27" name="file7" id="file7" style="visibility: visible;" /></td>
100
      <td width="50%" align="right"><input type="file" size="27" name="file8" id="file8" style="visibility: visible;" /></td>
101
    </tr>
102
    <tr>
103
      <td width="50%" align="left"><input type="file" size="27" name="file9" id="file9" style="visibility: visible;" /></td>
104
      <td width="50%" align="right"><input type="file" size="27" name="file10" id="file10" style="visibility: visible;" /></td>
105
    </tr>
106
  </table>
120 107
</form>
121 108

  
122 109
<!-- END main_block -->
trunk/wb/languages/FI.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Oikeutesi eiv&auml;t riit&auml;...';
trunk/wb/languages/EN.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Sorry, you do not have permissions to view this page';
trunk/wb/languages/CS.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Nem&aacute;te opr&aacute;vn&#283;n&iacute; prohl&iacute;&#382;et tuto str&aacute;nku';
trunk/wb/languages/SE.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Tyv&auml;rr, du har inte till&aring;telse att titta p&aring; denna sida';
trunk/wb/languages/ES.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Perd&oacute;n, no tiene permiso para ver esta p&aacute;gina';
trunk/wb/languages/FR.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'D&eacute;sol&eacute;, vous n&apos;avez pas les droits pour visualiser cette page';
trunk/wb/languages/ET.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Vabandame, sul ei ole &otilde;igusi selle lehe vaatamiseks';
trunk/wb/languages/HR.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Nemate dopu&scaron;tenje za gledanje ove stranice';
trunk/wb/languages/NL.php
436 436
$TEXT['NOT_INSTALLED'] = "niet ge&iuml;nstalleerd";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extensie";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Sorry, u heeft geen bevoegdheden om deze pagina te bekijken';
trunk/wb/languages/PL.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Niestety, nie masz uprawnie&#324; do ogl&#261;dania tej strony.';
trunk/wb/languages/HU.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Sajn&aacute;ljuk, de a megjelen&iacute;t&eacute;shez nincs jogosults&aacute;ga!';
trunk/wb/languages/IT.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Spaicente, non ha i permessi per vedere la pagina';
trunk/wb/languages/NO.php
436 436
$TEXT['NOT_INSTALLED'] = "ikke installert";
437 437
$TEXT['ADDON'] = "Tillegg";
438 438
$TEXT['EXTENSION'] = "Utvidelse";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Beklager, du har ikke tillgang til &aring; se denne siden';
trunk/wb/languages/LV.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Piedod, bet Tev nav tiesibu aplukot &scaron;o lapu';
trunk/wb/languages/CA.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Ho sentim, no teniu permisos per a veure aquesta p&agrave;gina';
trunk/wb/languages/PT.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Desculpe, voc&ecirc; n&atilde;o tem permiss&atilde;o para ver essa p&aacute;gina';
trunk/wb/languages/DA.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Beklager - du har ikke adgang til at se denne side';
trunk/wb/languages/TR.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = '&Uuml;zg&uuml;n&uuml;m, bu sayfay&yacute; g&ouml;r&uuml;nt&uuml;lemeye yetkiniz yok';
trunk/wb/languages/RU.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$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;';
trunk/wb/languages/DE.php
436 436
$TEXT['NOT_INSTALLED'] = "nicht installiert";
437 437
$TEXT['ADDON'] = "Addon";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Zip-Archiv hochladen und entpacken";
440
$TEXT['DELETE_ZIP'] = "Zip-Archiv nach dem entpacken l&ouml;schen";
439 441

  
440 442
// Success/error messages
441 443
$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = 'Sie sind nicht berechtigt, diese Seite zu sehen';
trunk/wb/languages/BG.php
436 436
$TEXT['NOT_INSTALLED'] = "not installed";
437 437
$TEXT['ADDON'] = "Add-On";
438 438
$TEXT['EXTENSION'] = "Extension";
439
$TEXT['UNZIP_FILE'] = "Upload and unpack a zip archiv";
440
$TEXT['DELETE_ZIP'] = "Delete zip archiv after unpacking";
439 441

  
440 442
// Success/error messages
441 443
$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;';

Also available in: Unified diff