Project

General

Profile

« Previous | Next » 

Revision 933

Added by doc almost 16 years ago

Moved reload option of Add-ons to main Add-on section.

View differences:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14 14
16-Feb-2009 Christian Sommer
15
!	moved reload option of Add-ons to main Add-on section
15 16
!	reworked logout to reset possible remember key in database when logging out
16 17
15-Feb-2009 Christian Sommer
17 18
#	fixed bug with smart login option (remember me) (ticket #689)
trunk/wb/admin/templates/reload.php
1
<?php
2
/**
3
 * $Id:$
4
 * Website Baker Add-On reload
5
 *
6
 * This file contains the function to update the template information from the
7
 * database with the ones stored in the template info.php files.
8
 *
9
 * LICENSE: GNU Lesser General Public License 3.0
10
 * 
11
 * @author		Christian Sommer
12
 * @copyright	(c) 2009
13
 * @license		http://www.gnu.org/copyleft/lesser.html
14
 * @version		0.1.0
15
 * @platform	Website Baker 2.7
16
 *
17
 * Website Baker Project <http://www.websitebaker.org/>
18
 * Copyright (C) 2004-2009, Ryan Djurovich
19
 *
20
 * Website Baker is free software; you can redistribute it and/or modify
21
 * it under the terms of the GNU General Public License as published by
22
 * the Free Software Foundation; either version 2 of the License, or
23
 * (at your option) any later version.
24
 *
25
 * Website Baker is distributed in the hope that it will be useful,
26
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28
 * GNU General Public License for more details.
29
 *
30
 * You should have received a copy of the GNU General Public License
31
 * along with Website Baker; if not, write to the Free Software
32
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
33
*/
34

  
35
// include WB configuration file and WB admin class
36
require_once('../../config.php');
37
require_once('../../framework/class.admin.php');
38

  
39
// check user permissions for admintools (redirect users with wrong permissions)
40
$admin = new admin('Admintools', 'admintools', false, false);
41
if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php'));
42

  
43
// check if the referer URL if available
44
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : 
45
	(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : '');
46

  
47
// if referer is set, check if script was invoked from "admin/modules/index.php"
48
$required_url = '/admin/templates/index.php';
49
if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) 
50
	die(header('Location: ../../index.php'));
51

  
52
// include WB functions file
53
require_once(WB_PATH . '/framework/functions.php');
54

  
55
// load WB language file
56
require_once(WB_PATH . '/languages/' . LANGUAGE .'.php');
57

  
58
// create Admin object with admin header
59
$admin = new admin('Addons', '', true, false);
60
$js_back = ADMIN_URL . '/templates/index.php';
61

  
62
// reload template information from template "info.php" files
63
if ($handle = opendir(WB_PATH . '/templates/')) {
64
	// remove all templates from database
65
	$table = TABLE_PREFIX . 'addons';
66
	$sql = "DELETE FROM $table WHERE `type` = 'template'";
67
	$database->query($sql);
68

  
69
	// loop over all templates
70
	while(false !== ($file = readdir($handle))) {
71
		if($file != '' AND substr($file, 0, 1) != '.' AND $file != 'index.php') {
72
			load_template(WB_PATH . '/templates/' . $file);
73
		}
74
	}
75
	closedir($handle);
76
	// output success message
77
	$admin->print_success($MESSAGE['ADDON']['TEMPLATES_RELOADED'], $js_back);
78

  
79
} else {
80
	// output error message
81
	$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
82
}
83

  
84
?>
85 0

  
trunk/wb/admin/templates/index.php
54 54
if($admin->get_permission('templates_view') != true) {
55 55
	$template->set_var('DISPLAY_LIST', 'hide');
56 56
}
57
if($admin->get_permission('admintools') != true) {
58
	$template->set_var('DISPLAY_RELOAD', 'hide');
59
}
60 57

  
61 58
// Insert language headings
62 59
$template->set_var(array(
......
75 72
	'TEXT_UNINSTALL' => $TEXT['UNINSTALL'],
76 73
	'TEXT_VIEW_DETAILS' => $TEXT['VIEW_DETAILS'],
77 74
	'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'],
78
	'CHANGE_TEMPLATE_NOTICE' => $MESSAGE['TEMPLATES']['CHANGE_TEMPLATE_NOTICE'],
79
	'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . '-' . $TEXT['SETTINGS'],
80
	'TEXT_RELOAD_ADDON' => $MESSAGE['ADDON']['RELOAD'],
81
	'TEXT_RELOAD' => $TEXT['RELOAD']
75
	'CHANGE_TEMPLATE_NOTICE' => $MESSAGE['TEMPLATES']['CHANGE_TEMPLATE_NOTICE']
82 76
	)
83 77
);
84 78

  
trunk/wb/admin/templates/template.html
76 76
<br />
77 77
</form>
78 78

  
79
<form name="details" action="reload.php" method="post" class="{DISPLAY_RELOAD}">
80
<hr style="margin-bottom: 1em; margin-top: 1em; border: 0.5px solid #DDD;" />
81

  
82
<h2>{TXT_ADMIN_SETTINGS}</h2>
83
<p>{TEXT_RELOAD_ADDON}</p>
84
<input type="submit" name="submit" value="{TEXT_RELOAD}" style="width: 100px;" />
85

  
86
<br />
87
</form>
88

  
89 79
<!-- END main_block -->
trunk/wb/admin/languages/reload.php
1
<?php
2
/**
3
 * $Id:$
4
 * Website Baker Add-On reload
5
 *
6
 * This file contains the function to update the language information from the
7
 * database with the ones stored in the language info.php files.
8
 *
9
 * LICENSE: GNU Lesser General Public License 3.0
10
 * 
11
 * @author		Christian Sommer
12
 * @copyright	(c) 2009
13
 * @license		http://www.gnu.org/copyleft/lesser.html
14
 * @version		0.1.0
15
 * @platform	Website Baker 2.7
16
 *
17
 * Website Baker Project <http://www.websitebaker.org/>
18
 * Copyright (C) 2004-2009, Ryan Djurovich
19
 *
20
 * Website Baker is free software; you can redistribute it and/or modify
21
 * it under the terms of the GNU General Public License as published by
22
 * the Free Software Foundation; either version 2 of the License, or
23
 * (at your option) any later version.
24
 *
25
 * Website Baker is distributed in the hope that it will be useful,
26
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28
 * GNU General Public License for more details.
29
 *
30
 * You should have received a copy of the GNU General Public License
31
 * along with Website Baker; if not, write to the Free Software
32
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
33
*/
34

  
35
// include WB configuration file and WB admin class
36
require_once('../../config.php');
37
require_once('../../framework/class.admin.php');
38

  
39
// check user permissions for admintools (redirect users with wrong permissions)
40
$admin = new admin('Admintools', 'admintools', false, false);
41
if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php'));
42

  
43
// check if the referer URL if available
44
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : 
45
	(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : '');
46

  
47
// if referer is set, check if script was invoked from "admin/modules/index.php"
48
$required_url = '/admin/languages/index.php';
49
if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) 
50
	die(header('Location: ../../index.php'));
51

  
52
// include WB functions file
53
require_once(WB_PATH . '/framework/functions.php');
54

  
55
// load WB language file
56
require_once(WB_PATH . '/languages/' . LANGUAGE .'.php');
57

  
58
// create Admin object with admin header
59
$admin = new admin('Addons', '', true, false);
60
$js_back = ADMIN_URL . '/languages/index.php';
61

  
62
// reload template information from language "info.php" files
63
if ($handle = opendir(WB_PATH . '/languages/')) {
64
	// remove all languages from database
65
	$table = TABLE_PREFIX . 'addons';
66
	$sql = "DELETE FROM $table WHERE `type` = 'language'";
67
	$database->query($sql);
68

  
69
	// loop over all languages
70
	while(false !== ($file = readdir($handle))) {
71
		if($file != '' && substr($file, 0, 1) != '.' && $file != 'index.php') {
72
			load_language(WB_PATH . '/languages/' . $file);
73
		}
74
	}
75
	closedir($handle);
76
	// output success message
77
	$admin->print_success($MESSAGE['ADDON']['LANGUAGES_RELOADED'], $js_back);
78

  
79
} else {
80
	// output error message
81
	$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
82
}
83

  
84
?>
85 0

  
trunk/wb/admin/languages/index.php
54 54
if($admin->get_permission('languages_view') != true) {
55 55
	$template->set_var('DISPLAY_LIST', 'hide');
56 56
}
57
if($admin->get_permission('admintools') != true) {
58
	$template->set_var('DISPLAY_RELOAD', 'hide');
59
}
60 57

  
61 58
// Insert language headings
62 59
$template->set_var(array(
......
74 71
	'TEXT_INSTALL' => $TEXT['INSTALL'],
75 72
	'TEXT_UNINSTALL' => $TEXT['UNINSTALL'],
76 73
	'TEXT_VIEW_DETAILS' => $TEXT['VIEW_DETAILS'],
77
	'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'],
78
	'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . '-' . $TEXT['SETTINGS'],
79
	'TEXT_RELOAD_ADDON' => $MESSAGE['ADDON']['RELOAD'],
80
	'TEXT_RELOAD' => $TEXT['RELOAD']
74
	'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT']
81 75
	)
82 76
);
83 77

  
trunk/wb/admin/languages/template.html
73 73
<br />
74 74
</form>
75 75

  
76
<form name="details" action="reload.php" method="post" class="{DISPLAY_RELOAD}">
77
<hr style="margin-bottom: 1em; margin-top: 1em; border: 0.5px solid #DDD;" />
78

  
79
<h2>{TXT_ADMIN_SETTINGS}</h2>
80
<p>{TEXT_RELOAD_ADDON}</p>
81
<input type="submit" name="submit" value="{TEXT_RELOAD}" style="width: 100px;" />
82

  
83
<br />
84
</form>
85

  
86 76
<!-- END main_block -->
trunk/wb/admin/addons/reload.php
1
<?php
2
/**
3
 * $Id$
4
 * Website Baker Add-On reload
5
 *
6
 * This file contains the function to update the Add-on information from the
7
 * database with the ones stored in the Add-on files (e.g. info.php or EN.php)
8
 *
9
 * LICENSE: GNU Lesser General Public License 3.0
10
 * 
11
 * @author		Christian Sommer
12
 * @copyright	(c) 2009
13
 * @license		http://www.gnu.org/copyleft/lesser.html
14
 * @version		0.1.0
15
 * @platform	Website Baker 2.7
16
 *
17
 * Website Baker Project <http://www.websitebaker.org/>
18
 * Copyright (C) 2004-2009, Ryan Djurovich
19
 *
20
 * Website Baker is free software; you can redistribute it and/or modify
21
 * it under the terms of the GNU General Public License as published by
22
 * the Free Software Foundation; either version 2 of the License, or
23
 * (at your option) any later version.
24
 *
25
 * Website Baker is distributed in the hope that it will be useful,
26
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28
 * GNU General Public License for more details.
29
 *
30
 * You should have received a copy of the GNU General Public License
31
 * along with Website Baker; if not, write to the Free Software
32
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
33
*/
34

  
35
/**
36
 * check if there is anything to do
37
 */
38
$post_check = array('reload_modules', 'reload_templates', 'reload_languages');
39
foreach ($post_check as $index => $key) {
40
	if (!isset($_POST[$key])) unset($post_check[$index]);
41
}
42
if (count($post_check) == 0) die(header('Location: index.php'));
43

  
44
/**
45
 * check if user has permissions to access this file
46
 */
47
// include WB configuration file and WB admin class
48
require_once('../../config.php');
49
require_once('../../framework/class.admin.php');
50

  
51
// check user permissions for admintools (redirect users with wrong permissions)
52
$admin = new admin('Admintools', 'admintools', false, false);
53
if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php'));
54

  
55
// check if the referer URL if available
56
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : 
57
	(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : '');
58

  
59
// if referer is set, check if script was invoked from "admin/modules/index.php"
60
$required_url = ADMIN_URL . '/addons/index.php';
61
if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) 
62
	die(header('Location: ../../index.php'));
63

  
64
// include WB functions file
65
require_once(WB_PATH . '/framework/functions.php');
66

  
67
// load WB language file
68
require_once(WB_PATH . '/languages/' . LANGUAGE .'.php');
69

  
70
// create Admin object with admin header
71
$admin = new admin('Addons', '', true, false);
72
$js_back = ADMIN_URL . '/addons/index.php';
73

  
74
/**
75
 * Reload all specified Addons
76
 */
77
$msg = array();
78
$table = TABLE_PREFIX . 'addons';
79

  
80
foreach ($post_check as $key) {
81
	switch ($key) {
82
		case 'reload_modules':
83
			if ($handle = opendir(WB_PATH . '/modules')) {
84
				// delete modules from database
85
				$sql = "DELETE FROM `$table` WHERE `type` = 'module'";
86
				$database->query($sql);
87

  
88
				// loop over all modules
89
				while(false !== ($file = readdir($handle))) {
90
					if ($file != '' && substr($file, 0, 1) != '.' && $file != 'admin.php' && $file != 'index.php') {
91
						load_module(WB_PATH . '/modules/' . $file);
92
					}
93
				}
94
				closedir($handle);
95
				// add success message
96
				$msg[] = $MESSAGE['ADDON']['MODULES_RELOADED'];
97

  
98
			} else {
99
				// provide error message and stop
100
				$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
101
			}
102
			break;
103
			
104
		case 'reload_templates':
105
			if ($handle = opendir(WB_PATH . '/templates')) {
106
				// delete templates from database
107
				$sql = "DELETE FROM `$table` WHERE `type` = 'template'";
108
				$database->query($sql);
109

  
110
				// loop over all templates
111
				while(false !== ($file = readdir($handle))) {
112
					if($file != '' AND substr($file, 0, 1) != '.' AND $file != 'index.php') {
113
						load_template(WB_PATH . '/templates/' . $file);
114
					}
115
				}
116
				closedir($handle);
117
				// add success message
118
				$msg[] = $MESSAGE['ADDON']['TEMPLATES_RELOADED'];
119

  
120
			} else {
121
				// provide error message and stop
122
				$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
123
			}
124
			break;
125

  
126
		case 'reload_languages':
127
			if ($handle = opendir(WB_PATH . '/languages/')) {
128
				// delete languages from database
129
				$sql = "DELETE FROM `$table` WHERE `type` = 'language'";
130
				$database->query($sql);
131
			
132
				// loop over all languages
133
				while(false !== ($file = readdir($handle))) {
134
					if ($file != '' && substr($file, 0, 1) != '.' && $file != 'index.php') {
135
						load_language(WB_PATH . '/languages/' . $file);
136
					}
137
				}
138
				closedir($handle);
139
				// add success message
140
				$msg[] = $MESSAGE['ADDON']['LANGUAGES_RELOADED'];
141
				
142
			} else {
143
				// provide error message and stop
144
				$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
145
			}
146
			break;
147
	}
148
}
149

  
150
// output success message
151
$admin->print_success(implode($msg, '<br />'), $js_back);
152

  
153
?>
0 154

  
trunk/wb/admin/addons/index.php
49 49
if($admin->get_permission('languages') != true) {
50 50
	$template->set_var('DISPLAY_LANGUAGES', 'none');
51 51
}
52
if($admin->get_permission('admintools') != true) {
53
	$template->set_var('DISPLAY_RELOAD', 'none');
54
}
52 55

  
53 56
// Insert section names and descriptions
54 57
$template->set_var(array(
......
57 60
								'LANGUAGES' => $MENU['LANGUAGES'],
58 61
								'MODULES_OVERVIEW' => $OVERVIEW['MODULES'],
59 62
								'TEMPLATES_OVERVIEW' => $OVERVIEW['TEMPLATES'],
60
								'LANGUAGES_OVERVIEW' => $OVERVIEW['LANGUAGES']
63
								'LANGUAGES_OVERVIEW' => $OVERVIEW['LANGUAGES'],
64
								'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . ' ' . $TEXT['SETTINGS'],
65
								'MESSAGE_RELOAD_ADDONS' => $MESSAGE['ADDON']['RELOAD'],
66
								'TEXT_RELOAD' => $TEXT['RELOAD'],
67
								'RELOAD_URL' => ADMIN_URL . '/addons/reload.php',
61 68
								)
62 69
						);
63 70

  
trunk/wb/admin/addons/template.html
42 42
<tr>
43 43
	<td align="center" valign="top">
44 44
		
45
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_MODULES};">
45
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_MODULES};">
46 46
		<tr>
47 47
			<td class="graphic" align="center" valign="middle" rowspan="2">
48 48
				<a href="{ADMIN_URL}/modules/index.php">
......
61 61
		</table>
62 62
				
63 63
		
64
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_TEMPLATES};">
64
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_TEMPLATES};">
65 65
		<tr>
66 66
			<td class="graphic" align="center" valign="middle" rowspan="2">
67 67
				<a href="{ADMIN_URL}/templates/index.php">
......
80 80
		</table>
81 81
				
82 82
		
83
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_LANGUAGES};">
83
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_LANGUAGES};">
84 84
		<tr>
85 85
			<td class="graphic" align="center" valign="middle" rowspan="2">
86 86
				<a href="{ADMIN_URL}/languages/index.php">
......
97 97
			</td>
98 98
		</tr>
99 99
		</table>
100

  
101
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_RELOAD};">
102
		<tr>
103
			<td class="graphic" align="center" valign="middle" rowspan="2">
104
				<img src="{ADMIN_URL}/images/icons/admintools.png" border="0" />
105
			</td>
106
			<td class="title">
107
				{TXT_ADMIN_SETTINGS}
108
			</td>
109
		</tr>
110
		<tr>
111
			<td class="description">
112
				<form action="{RELOAD_URL}" method="post">
113
				{MESSAGE_RELOAD_ADDONS}<br style="margin-bottom: 0.5em" />
114
				
115
				<input style="display:{DISPLAY_MODULES};" type="checkbox" name="reload_modules" id="reload_modules" value="true" />
116
				<label style="display:{DISPLAY_MODULES};" for="reload_modules">{MODULES}</label>
100 117
		
118
				<input style="display:{DISPLAY_TEMPLATES};" type="checkbox" name="reload_templates" id="reload_templates" value="true" />
119
				<label style="display:{DISPLAY_TEMPLATES};" for="reload_templates">{TEMPLATES}</label>
120
				
121
				<input style="display:{DISPLAY_LANGUAGES};" type="checkbox" name="reload_languages" id="reload_languages" value="true" />
122
				<label style="display:{DISPLAY_LANGUAGES};" for="reload_languages">{LANGUAGES}</label>
123

  
124
				<input type="submit" name="submit" value="{TEXT_RELOAD}" />
125
				</form>
126
			</td>
127
		</tr>
128
		</table>
129

  
101 130
	</td>
102 131
</tr>
103 132
</table>
trunk/wb/admin/modules/reload.php
1
<?php
2
/**
3
 * $Id:$
4
 * Website Baker Add-On reload
5
 *
6
 * This file contains the function to update the module information from the
7
 * database with the ones stored in the module info.php files.
8
 *
9
 * LICENSE: GNU Lesser General Public License 3.0
10
 * 
11
 * @author		Christian Sommer
12
 * @copyright	(c) 2009
13
 * @license		http://www.gnu.org/copyleft/lesser.html
14
 * @version		0.1.0
15
 * @platform	Website Baker 2.7
16
 *
17
 * Website Baker Project <http://www.websitebaker.org/>
18
 * Copyright (C) 2004-2009, Ryan Djurovich
19
 *
20
 * Website Baker is free software; you can redistribute it and/or modify
21
 * it under the terms of the GNU General Public License as published by
22
 * the Free Software Foundation; either version 2 of the License, or
23
 * (at your option) any later version.
24
 *
25
 * Website Baker is distributed in the hope that it will be useful,
26
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28
 * GNU General Public License for more details.
29
 *
30
 * You should have received a copy of the GNU General Public License
31
 * along with Website Baker; if not, write to the Free Software
32
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
33
*/
34

  
35
// include WB configuration file and WB admin class
36
require_once('../../config.php');
37
require_once('../../framework/class.admin.php');
38

  
39
// check user permissions for admintools (redirect users with wrong permissions)
40
$admin = new admin('Admintools', 'admintools', false, false);
41
if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php'));
42

  
43
// check if the referer URL if available
44
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : 
45
	(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : '');
46

  
47
// if referer is set, check if script was invoked from "admin/modules/index.php"
48
$required_url = '/admin/modules/index.php';
49
if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) 
50
	die(header('Location: ../../index.php'));
51

  
52
// include WB functions file
53
require_once(WB_PATH . '/framework/functions.php');
54

  
55
// load WB language file
56
require_once(WB_PATH . '/languages/' . LANGUAGE .'.php');
57

  
58
// create Admin object with admin header
59
$admin = new admin('Addons', '', true, false);
60
$js_back = ADMIN_URL . '/modules/index.php';
61

  
62
// reload module information from module "info.php" files
63
if ($handle = opendir(WB_PATH . '/modules/')) {
64
	// remove all modules from database
65
	$table = TABLE_PREFIX . 'addons';
66
	$sql = "DELETE FROM $table WHERE `type` = 'module'";
67
	$database->query($sql);
68

  
69
	// loop over all modules
70
	while(false !== ($file = readdir($handle))) {
71
		if ($file != '' && substr($file, 0, 1) != '.' && $file != 'admin.php' && $file != 'index.php') {
72
			load_module(WB_PATH.'/modules/'.$file);
73
		}
74
	}
75
	closedir($handle);
76
	// output success message
77
	$admin->print_success($MESSAGE['ADDON']['MODULES_RELOADED'], $js_back);
78

  
79
} else {
80
	// output error message
81
	$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
82
}
83

  
84
?>
85 0

  
trunk/wb/admin/modules/index.php
54 54
if($admin->get_permission('modules_view') != true) {
55 55
	$template->set_var('DISPLAY_LIST', 'hide');
56 56
}
57
if($admin->get_permission('admintools') != true) {
58
	$template->set_var('DISPLAY_RELOAD', 'hide');
59
}
60 57

  
61 58
// Insert language headings
62 59
$template->set_var(array(
......
74 71
	'TEXT_INSTALL' => $TEXT['INSTALL'],
75 72
	'TEXT_UNINSTALL' => $TEXT['UNINSTALL'],
76 73
	'TEXT_VIEW_DETAILS' => $TEXT['VIEW_DETAILS'],
77
	'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'],
78
	'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . '-' . $TEXT['SETTINGS'],
79
	'TEXT_RELOAD_ADDON' => $MESSAGE['ADDON']['RELOAD'],
80
	'TEXT_RELOAD' => $TEXT['RELOAD']
74
	'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT']
81 75
	)
82 76
);
83 77

  
trunk/wb/admin/modules/template.html
73 73
<br />
74 74
</form>
75 75

  
76
<form name="details" action="reload.php" method="post" class="{DISPLAY_RELOAD}">
77
<hr style="margin-bottom: 1em; margin-top: 1em; border: 0.5px solid #DDD;" />
78

  
79
<h2>{TXT_ADMIN_SETTINGS}</h2>
80
<p>{TEXT_RELOAD_ADDON}</p>
81
<input type="submit" name="submit" value="{TEXT_RELOAD}" style="width: 100px;" />
82

  
83
<br />
84
</form>
85

  
86 76
<!-- END main_block -->
trunk/wb/languages/FI.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Rajoitus voimassa, yrit&auml; tunnin kuluttua uudelleen';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Tarkistusluku (Captcha) virheellinen ';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduulin lataus onnistui';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Sivupohjan lataus onnistui';
trunk/wb/languages/EN.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sorry, this form has been submitted too many times so far this hour. Please retry in the next hour.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully';
trunk/wb/languages/CS.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Omlouv&aacute;me se, ale tento formul&aacute;&#345; dos&aacute;hl limitu povolen&yacute;ch odesl&aacute;n&iacute; pro tuto hodinu. Pros&iacute;m zkuste to znovu v dal&scaron;&iacute; hodin&#283;..';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Kontroln&iacute; k&oacute;d (zn&aacute;m&yacute; jako Captcha) neodpov&iacute;d&aacute;. Pokud m&aacute;te probl&eacute;my s p&#345;e&#269;ten&iacute;m tohoto k&oacute;du, kontaktujte '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduly byly &uacute;sp&#283;&scaron;n&#283; p&#345;ehr&aacute;ny';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = '&Scaron;ablony byly &uacute;sp&#283;&scaron;n&#283; p&#345;ehr&aacute;ny';
trunk/wb/languages/SE.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Tyv&auml;rr, detta formul&auml;r har skickats f&ouml;r m&aring;nga g&aring;nger inom denna timme. F&ouml;rs&ouml;k igen om ett tag.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Verifieringsnumret (ocks&aring; k&auml;nt som Captcha) som du angav &auml;r felaktigt. Om du har problem med att l&auml;sa ut Captcha, v&auml;nligen s&auml;nd email till: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduler laddades om';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Mallar laddades om';
trunk/wb/languages/ES.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Disculpe este formulario ha sido enviado demasiadas veces seguidas. Vuelva a intentarlo en una hora.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'El n&uacute;mero de verificaci&oacute;n que ha introducido es incorrecto. Si est&aacute;s teniendo problemas ley&eacute;ndolo, por favor, env&iacute;e un e-mail a: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'M&oacute;dulos recargados correctamente';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Plantillas recargadas correctamente';
trunk/wb/languages/FR.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'D&eacute;sol&eacute; mais vous avez utilis&eacute; ce formulaire trop de fois durant cette heure. Merci de r&eacute;essayer &agrave; l\'heure suivante';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Le num&eacute;ro de v&eacute;rification (Captcha) que vous avez entr&eacute; est incorrect. Si vous rencontrez des probl&egrave;mes quant &agrave; la lecture de ce num&eacute;ro, merci d\'envoyer un email &agrave; : '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules r&eacute;install&eacute;s avec succ&egrave;s';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Mod&egrave;les r&eacute;install&eacute;s avec succ&egrave;s';
trunk/wb/languages/ET.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Vabandame, see vorm on juba liiga palju kordi selle tunni jooksul saadetud. Palun proovi j&auml;rgmine tund uuesti.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully';
trunk/wb/languages/HR.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Ova forma je pregledavana previ&scaron;e puta u jednom satu. Molimo poku&scaron;ajte slijede&aelig;i sat.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Broj provjere (poznat kao Captcha) neto&egrave;no je une&scaron;en. Ako imate problema s &egrave;itanjem Captcha, molimo po&scaron;aljite email: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Uspje&scaron;no nasnimljeni moduli';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Uspje&scaron;no nasnimljeni predlo&scaron;ci';
trunk/wb/languages/NL.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sorry, dit formulier is te vaak verstuurd binnen dit uur. Probeert u het over een uur nog eens.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Het verificatienummer (ook wel Captcha genoemd) dat u hebt ingevoerd is incorrect. Als u de Captcha niet goed kunt lezen, stuur dan een e-mail naar: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules succesvol herladen';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates succesvol herladen';
trunk/wb/languages/PL.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Niestety, ten formularz zosta&#322; wys&#322;any zbyt wiele razy w ci&#261;gu tej godziny. Prosimy spr&oacute;bowa&#263; ponownie za godzin&#281;.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Wprowadzony numer weryfikacyjny (tzw. Captcha) jest nieprawid&#322;owy. Je&#347;li masz problemy z odczytaniem Captcha, napisz do: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modu&#322;y zosta&#322;y za&#322;adowane ponownie';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Szablony zosta&#322;y za&#322;adowane ponownie';
trunk/wb/languages/HU.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sajn&aacute;ljuk, de ez az &ucirc;rlap t&uacute;l sokszor lett kit&ouml;ltve egy &oacute;ran bel&uuml;l! K&eacute;rem pr&oacute;b&aacute;lja meg egy &oacute;ra m&uacute;lva.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully';
trunk/wb/languages/IT.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Spiacente: hai compilato questa form troppe volte nell\'ultima ora.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Il numero di controllo (chiama Captcha) che hai inserito non &egrave; valido. Se hai problemi con la lettura del Captcha, invia un email email: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduli ricaricati con successo';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates ricaricati con successo';
trunk/wb/languages/NO.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Beklager, denne form har blitt sendt for mange ganger denne timen. Vennligst pr&oslash;v igjen neste time.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Bekreftelsesnummeret (ogs&aring; kjent som Captcha) som du skrev inn er feil. Hvis du har problemer med &aring; lese Captcha, vennligst kontakt: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Lykkes i &aring; oppdatere moduler';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Lykkes i &aring; oppdatere maler';
trunk/wb/languages/LV.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Atvaino, &scaron;i forma ir tikusi aizpildita parak daudz rei&#382;u &scaron;is stundas laika. Ludzu pamegini velreiz pec stundas.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Ievaditais parbaudes numurs ir nepareizs. Ja radu&scaron;as problemas ar parbaudes koda nolasi&scaron;anu, suti zinu uz: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduli veiksmigi parladeti';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = '&scaron;abloni veiksmigi parladeti';
trunk/wb/languages/CA.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Ho sentim, aquest formulari ha estat enviat massa vegades durant l\'&uacute;ltima hora. Per favor torneu-ho a intentar d\'ac&iacute; una hora.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully';
trunk/wb/languages/PT.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Desculpe, este formul&aacute;rio foi submetido v&aacute;rias vezes nessa hora. Favor tentar novamente dentro de uma hora.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'O N&uacute;mero de Verifica&ccdil;&atilde;o (conhecido como Captcha) que voc&ecirc; entrou, &eacute; inv&aacute;lido. Se estiver tendo problemas usando o Captcha, envie uma mensagem para: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'M&oacute;dulos recarregados com sucesso';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Temas (Templates) recarregados com sucesso';
trunk/wb/languages/DA.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Beklager! Denne formular er blevet afsendt for mange gange indenfor den sidste time, og du vil derfor blive afvist - Pr&oslash;v igen om en times tid!';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Verifikations tallene (ogs&aring; kendt som Captcha) som du tastede er ikke korrekte. Hvis du har problemer med at l&aelig;se Captha tallene, s&aring; kontakt venligst sidens Administrator p&aring; denne mailadresse: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduler opdateret med succes';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates opdateret med succes';
trunk/wb/languages/TR.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sorry, this form has been submitted too many times so far this hour. Please retry in the next hour.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'The verification number (also known as Captcha) that you entered is incorrect. If you are having problems reading the Captcha, please email: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Mod&uuml;l, ba&thorn;ar&yacute;l&yacute; bir &thorn;ekildeninkini tekrar y&uuml;klendi';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Kal&yacute;plar, ba&thorn;ar&yacute;l&yacute; bir &thorn;ekildeninkini tekrar y&uuml;klendi';
trunk/wb/languages/RU.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = '&#1048;&#1079;&#1074;&#1080;&#1085;&#1080;&#1090;&#1077;, &#1089;&#1083;&#1080;&#1096;&#1082;&#1086;&#1084; &#1084;&#1085;&#1086;&#1075;&#1086; &#1089;&#1086;&#1086;&#1073;&#1097;&#1077;&#1085;&#1080;&#1081; &#1079;&#1072; &#1087;&#1086;&#1089;&#1083;&#1077;&#1076;&#1085;&#1080;&#1081; &#1095;&#1072;&#1089;. &#1055;&#1086;&#1078;&#1072;&#1083;&#1091;&#1081;&#1089;&#1090;&#1072; &#1087;&#1086;&#1087;&#1088;&#1086;&#1073;&#1091;&#1081;&#1090;&#1077; &#1087;&#1086;&#1074;&#1090;&#1086;&#1088;&#1080;&#1090;&#1100; &#1086;&#1090;&#1087;&#1088;&#1072;&#1074;&#1082;&#1091; &#1095;&#1077;&#1088;&#1077;&#1079; &#1085;&#1077;&#1082;&#1086;&#1090;&#1086;&#1088;&#1086;&#1077; &#1074;&#1088;&#1077;&#1084;&#1103;.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = '&#1050;&#1086;&#1076; &#1087;&#1086;&#1076;&#1090;&#1074;&#1077;&#1088;&#1078;&#1076;&#1077;&#1085;&#1080;&#1103; &#1074;&#1074;&#1077;&#1076;&#1077;&#1085; &#1085;&#1077;&#1074;&#1077;&#1088;&#1085;&#1086;. &#1045;&#1089;&#1083;&#1080; &#1074;&#1099; &#1085;&#1077; &#1084;&#1086;&#1078;&#1077;&#1090;&#1077; &#1087;&#1088;&#1086;&#1095;&#1077;&#1089;&#1090;&#1100; &#1082;&#1086;&#1076;, &#1087;&#1086;&#1078;&#1072;&#1083;&#1091;&#1081;&#1089;&#1090;&#1072; &#1089;&#1086;&#1086;&#1073;&#1097;&#1080;&#1090;&#1077; &#1088;&#1072;&#1079;&#1088;&#1072;&#1073;&#1086;&#1090;&#1095;&#1080;&#1082;&#1072;&#1084;: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = '&#1052;&#1086;&#1076;&#1091;&#1083;&#1080; &#1087;&#1077;&#1088;&#1077;&#1079;&#1072;&#1075;&#1088;&#1091;&#1078;&#1077;&#1085;&#1099; &#1091;&#1089;&#1087;&#1077;&#1096;&#1085;&#1086;';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = '&#1064;&#1072;&#1073;&#1083;&#1086;&#1085;&#1099; &#1087;&#1077;&#1088;&#1077;&#1079;&#1072;&#1075;&#1088;&#1091;&#1078;&#1077;&#1085;&#1099; &#1091;&#1089;&#1087;&#1077;&#1096;&#1085;&#1086;';
trunk/wb/languages/DE.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Dieses Formular wurde zu oft aufgerufen. Bitte versuchen Sie es in einer Stunde noch einmal.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Die eingegebene Pr&uuml;fziffer stimmt nicht &uuml;berein. Wenn Sie Probleme mit dem Lesen der Pr&uuml;fziffer haben, bitte schreiben Sie eine E-Mail an uns: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'Nachfolgende Schaltfl&auml;che gleicht die Informationen der Datenbank mit den Daten der Addon Dateien "info.php" ab. Dies kann notwendig sein, wenn Addons &uuml;ber FTP hochgeladen wurden.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Abgleich der Datenbank mit den Informationen aus den Addon-Dateien (z.B. nach FTP Upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Fehler beim Abgleich der Addon Informationen.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Module erfolgreich geladen';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Designvorlagen erfolgreich geladen';
trunk/wb/languages/BG.php
586 586
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = '&#1057;&#1098;&#1078;&#1072;&#1083;&#1103;&#1074;&#1072;&#1084;&#1077;, &#1090;&#1086;&#1079;&#1080; &#1092;&#1086;&#1088;&#1091;&#1083;&#1103;&#1088; &#1077; &#1087;&#1086;&#1076;&#1072;&#1076;&#1077;&#1085; &#1087;&#1086;&#1074;&#1077;&#1095;&#1077; &#1087;&#1098;&#1090;&#1080; &#1086;&#1090; &#1087;&#1086;&#1079;&#1074;&#1086;&#1083;&#1077;&#1085;&#1086;&#1090;&#1086; &#1087;&#1088;&#1077;&#1079; &#1090;&#1086;&#1079;&#1080; &#1095;&#1072;&#1089;. &#1054;&#1087;&#1080;&#1090;&#1072;&#1081;&#1090;&#1077; &#1086;&#1090;&#1085;&#1086;&#1074;&#1077; &#1087;&#1086; &#1074;&#1088;&#1077;&#1084;&#1077; &#1085;&#1072; &#1089;&#1083;&#1077;&#1076;&#1074;&#1072;&#1097;&#1080; &#1095;&#1072;&#1089;.';
587 587
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = '&#1050;&#1086;&#1085;&#1090;&#1088;&#1086;&#1083;&#1085;&#1080;&#1103; &#1085;&#1086;&#1084;&#1077;&#1088; (&#1087;&#1086;&#1079;&#1072;&#1085;&#1090; &#1082;&#1072;&#1090;&#1086; Captcha) &#1077; &#1075;&#1088;&#1077;&#1096;&#1077;&#1085;. &#1040;&#1082;&#1086; &#1080;&#1084;&#1072;&#1090;&#1077; &#1087;&#1088;&#1086;&#1073;&#1083;&#1077;&#1084; &#1089; &#1095;&#1077;&#1090;&#1077;&#1085;&#1077;&#1090;&#1086; &#1085;&#1072; Captcha, &#1080;&#1079;&#1087;&#1088;&#1072;&#1090;&#1077;&#1090;&#1077; e-mail &#1085;&#1072;: '.SERVER_EMAIL.'';
588 588

  
589
$MESSAGE['ADDON']['RELOAD'] = 'The button below updates the information in the database with the data stored in the Add-On "info.php" files. This may be required if you have uploaded Addons via FTP.';
589
$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
590 590
$MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
591 591
$MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully';
592 592
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully';

Also available in: Unified diff