Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 932)
+++ trunk/CHANGELOG	(revision 933)
@@ -12,6 +12,7 @@
 
 ------------------------------------- 2.8.0 -------------------------------------
 16-Feb-2009 Christian Sommer
+!	moved reload option of Add-ons to main Add-on section
 !	reworked logout to reset possible remember key in database when logging out
 15-Feb-2009 Christian Sommer
 #	fixed bug with smart login option (remember me) (ticket #689)
Index: trunk/wb/admin/templates/reload.php
===================================================================
--- trunk/wb/admin/templates/reload.php	(revision 932)
+++ trunk/wb/admin/templates/reload.php	(nonexistent)
@@ -1,84 +0,0 @@
-<?php
-/**
- * $Id:$
- * Website Baker Add-On reload
- *
- * This file contains the function to update the template information from the
- * database with the ones stored in the template info.php files.
- *
- * LICENSE: GNU Lesser General Public License 3.0
- * 
- * @author		Christian Sommer
- * @copyright	(c) 2009
- * @license		http://www.gnu.org/copyleft/lesser.html
- * @version		0.1.0
- * @platform	Website Baker 2.7
- *
- * Website Baker Project <http://www.websitebaker.org/>
- * Copyright (C) 2004-2009, Ryan Djurovich
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with Website Baker; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*/
-
-// include WB configuration file and WB admin class
-require_once('../../config.php');
-require_once('../../framework/class.admin.php');
-
-// check user permissions for admintools (redirect users with wrong permissions)
-$admin = new admin('Admintools', 'admintools', false, false);
-if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php'));
-
-// check if the referer URL if available
-$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : 
-	(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : '');
-
-// if referer is set, check if script was invoked from "admin/modules/index.php"
-$required_url = '/admin/templates/index.php';
-if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) 
-	die(header('Location: ../../index.php'));
-
-// include WB functions file
-require_once(WB_PATH . '/framework/functions.php');
-
-// load WB language file
-require_once(WB_PATH . '/languages/' . LANGUAGE .'.php');
-
-// create Admin object with admin header
-$admin = new admin('Addons', '', true, false);
-$js_back = ADMIN_URL . '/templates/index.php';
-
-// reload template information from template "info.php" files
-if ($handle = opendir(WB_PATH . '/templates/')) {
-	// remove all templates from database
-	$table = TABLE_PREFIX . 'addons';
-	$sql = "DELETE FROM $table WHERE `type` = 'template'";
-	$database->query($sql);
-
-	// loop over all templates
-	while(false !== ($file = readdir($handle))) {
-		if($file != '' AND substr($file, 0, 1) != '.' AND $file != 'index.php') {
-			load_template(WB_PATH . '/templates/' . $file);
-		}
-	}
-	closedir($handle);
-	// output success message
-	$admin->print_success($MESSAGE['ADDON']['TEMPLATES_RELOADED'], $js_back);
-
-} else {
-	// output error message
-	$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
-}
-
-?>
\ No newline at end of file

Property changes on: trunk/wb/admin/templates/reload.php
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: trunk/wb/admin/templates/index.php
===================================================================
--- trunk/wb/admin/templates/index.php	(revision 932)
+++ trunk/wb/admin/templates/index.php	(revision 933)
@@ -54,9 +54,6 @@
 if($admin->get_permission('templates_view') != true) {
 	$template->set_var('DISPLAY_LIST', 'hide');
 }
-if($admin->get_permission('admintools') != true) {
-	$template->set_var('DISPLAY_RELOAD', 'hide');
-}
 
 // Insert language headings
 $template->set_var(array(
@@ -75,10 +72,7 @@
 	'TEXT_UNINSTALL' => $TEXT['UNINSTALL'],
 	'TEXT_VIEW_DETAILS' => $TEXT['VIEW_DETAILS'],
 	'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'],
-	'CHANGE_TEMPLATE_NOTICE' => $MESSAGE['TEMPLATES']['CHANGE_TEMPLATE_NOTICE'],
-	'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . '-' . $TEXT['SETTINGS'],
-	'TEXT_RELOAD_ADDON' => $MESSAGE['ADDON']['RELOAD'],
-	'TEXT_RELOAD' => $TEXT['RELOAD']
+	'CHANGE_TEMPLATE_NOTICE' => $MESSAGE['TEMPLATES']['CHANGE_TEMPLATE_NOTICE']
 	)
 );
 
Index: trunk/wb/admin/templates/template.html
===================================================================
--- trunk/wb/admin/templates/template.html	(revision 932)
+++ trunk/wb/admin/templates/template.html	(revision 933)
@@ -76,14 +76,4 @@
 <br />
 </form>
 
-<form name="details" action="reload.php" method="post" class="{DISPLAY_RELOAD}">
-<hr style="margin-bottom: 1em; margin-top: 1em; border: 0.5px solid #DDD;" />
-
-<h2>{TXT_ADMIN_SETTINGS}</h2>
-<p>{TEXT_RELOAD_ADDON}</p>
-<input type="submit" name="submit" value="{TEXT_RELOAD}" style="width: 100px;" />
-
-<br />
-</form>
-
 <!-- END main_block -->
\ No newline at end of file
Index: trunk/wb/admin/languages/reload.php
===================================================================
--- trunk/wb/admin/languages/reload.php	(revision 932)
+++ trunk/wb/admin/languages/reload.php	(nonexistent)
@@ -1,84 +0,0 @@
-<?php
-/**
- * $Id:$
- * Website Baker Add-On reload
- *
- * This file contains the function to update the language information from the
- * database with the ones stored in the language info.php files.
- *
- * LICENSE: GNU Lesser General Public License 3.0
- * 
- * @author		Christian Sommer
- * @copyright	(c) 2009
- * @license		http://www.gnu.org/copyleft/lesser.html
- * @version		0.1.0
- * @platform	Website Baker 2.7
- *
- * Website Baker Project <http://www.websitebaker.org/>
- * Copyright (C) 2004-2009, Ryan Djurovich
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with Website Baker; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*/
-
-// include WB configuration file and WB admin class
-require_once('../../config.php');
-require_once('../../framework/class.admin.php');
-
-// check user permissions for admintools (redirect users with wrong permissions)
-$admin = new admin('Admintools', 'admintools', false, false);
-if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php'));
-
-// check if the referer URL if available
-$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : 
-	(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : '');
-
-// if referer is set, check if script was invoked from "admin/modules/index.php"
-$required_url = '/admin/languages/index.php';
-if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) 
-	die(header('Location: ../../index.php'));
-
-// include WB functions file
-require_once(WB_PATH . '/framework/functions.php');
-
-// load WB language file
-require_once(WB_PATH . '/languages/' . LANGUAGE .'.php');
-
-// create Admin object with admin header
-$admin = new admin('Addons', '', true, false);
-$js_back = ADMIN_URL . '/languages/index.php';
-
-// reload template information from language "info.php" files
-if ($handle = opendir(WB_PATH . '/languages/')) {
-	// remove all languages from database
-	$table = TABLE_PREFIX . 'addons';
-	$sql = "DELETE FROM $table WHERE `type` = 'language'";
-	$database->query($sql);
-
-	// loop over all languages
-	while(false !== ($file = readdir($handle))) {
-		if($file != '' && substr($file, 0, 1) != '.' && $file != 'index.php') {
-			load_language(WB_PATH . '/languages/' . $file);
-		}
-	}
-	closedir($handle);
-	// output success message
-	$admin->print_success($MESSAGE['ADDON']['LANGUAGES_RELOADED'], $js_back);
-
-} else {
-	// output error message
-	$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
-}
-
-?>
\ No newline at end of file

Property changes on: trunk/wb/admin/languages/reload.php
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: trunk/wb/admin/languages/index.php
===================================================================
--- trunk/wb/admin/languages/index.php	(revision 932)
+++ trunk/wb/admin/languages/index.php	(revision 933)
@@ -54,9 +54,6 @@
 if($admin->get_permission('languages_view') != true) {
 	$template->set_var('DISPLAY_LIST', 'hide');
 }
-if($admin->get_permission('admintools') != true) {
-	$template->set_var('DISPLAY_RELOAD', 'hide');
-}
 
 // Insert language headings
 $template->set_var(array(
@@ -74,10 +71,7 @@
 	'TEXT_INSTALL' => $TEXT['INSTALL'],
 	'TEXT_UNINSTALL' => $TEXT['UNINSTALL'],
 	'TEXT_VIEW_DETAILS' => $TEXT['VIEW_DETAILS'],
-	'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'],
-	'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . '-' . $TEXT['SETTINGS'],
-	'TEXT_RELOAD_ADDON' => $MESSAGE['ADDON']['RELOAD'],
-	'TEXT_RELOAD' => $TEXT['RELOAD']
+	'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT']
 	)
 );
 
Index: trunk/wb/admin/languages/template.html
===================================================================
--- trunk/wb/admin/languages/template.html	(revision 932)
+++ trunk/wb/admin/languages/template.html	(revision 933)
@@ -73,14 +73,4 @@
 <br />
 </form>
 
-<form name="details" action="reload.php" method="post" class="{DISPLAY_RELOAD}">
-<hr style="margin-bottom: 1em; margin-top: 1em; border: 0.5px solid #DDD;" />
-
-<h2>{TXT_ADMIN_SETTINGS}</h2>
-<p>{TEXT_RELOAD_ADDON}</p>
-<input type="submit" name="submit" value="{TEXT_RELOAD}" style="width: 100px;" />
-
-<br />
-</form>
-
 <!-- END main_block -->
\ No newline at end of file
Index: trunk/wb/admin/addons/reload.php
===================================================================
--- trunk/wb/admin/addons/reload.php	(nonexistent)
+++ trunk/wb/admin/addons/reload.php	(revision 933)
@@ -0,0 +1,153 @@
+<?php
+/**
+ * $Id$
+ * Website Baker Add-On reload
+ *
+ * This file contains the function to update the Add-on information from the
+ * database with the ones stored in the Add-on files (e.g. info.php or EN.php)
+ *
+ * LICENSE: GNU Lesser General Public License 3.0
+ * 
+ * @author		Christian Sommer
+ * @copyright	(c) 2009
+ * @license		http://www.gnu.org/copyleft/lesser.html
+ * @version		0.1.0
+ * @platform	Website Baker 2.7
+ *
+ * Website Baker Project <http://www.websitebaker.org/>
+ * Copyright (C) 2004-2009, Ryan Djurovich
+ *
+ * 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.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Website Baker; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+/**
+ * check if there is anything to do
+ */
+$post_check = array('reload_modules', 'reload_templates', 'reload_languages');
+foreach ($post_check as $index => $key) {
+	if (!isset($_POST[$key])) unset($post_check[$index]);
+}
+if (count($post_check) == 0) die(header('Location: index.php'));
+
+/**
+ * check if user has permissions to access this file
+ */
+// include WB configuration file and WB admin class
+require_once('../../config.php');
+require_once('../../framework/class.admin.php');
+
+// check user permissions for admintools (redirect users with wrong permissions)
+$admin = new admin('Admintools', 'admintools', false, false);
+if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php'));
+
+// check if the referer URL if available
+$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : 
+	(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : '');
+
+// if referer is set, check if script was invoked from "admin/modules/index.php"
+$required_url = ADMIN_URL . '/addons/index.php';
+if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) 
+	die(header('Location: ../../index.php'));
+
+// include WB functions file
+require_once(WB_PATH . '/framework/functions.php');
+
+// load WB language file
+require_once(WB_PATH . '/languages/' . LANGUAGE .'.php');
+
+// create Admin object with admin header
+$admin = new admin('Addons', '', true, false);
+$js_back = ADMIN_URL . '/addons/index.php';
+
+/**
+ * Reload all specified Addons
+ */
+$msg = array();
+$table = TABLE_PREFIX . 'addons';
+
+foreach ($post_check as $key) {
+	switch ($key) {
+		case 'reload_modules':
+			if ($handle = opendir(WB_PATH . '/modules')) {
+				// delete modules from database
+				$sql = "DELETE FROM `$table` WHERE `type` = 'module'";
+				$database->query($sql);
+
+				// loop over all modules
+				while(false !== ($file = readdir($handle))) {
+					if ($file != '' && substr($file, 0, 1) != '.' && $file != 'admin.php' && $file != 'index.php') {
+						load_module(WB_PATH . '/modules/' . $file);
+					}
+				}
+				closedir($handle);
+				// add success message
+				$msg[] = $MESSAGE['ADDON']['MODULES_RELOADED'];
+
+			} else {
+				// provide error message and stop
+				$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
+			}
+			break;
+			
+		case 'reload_templates':
+			if ($handle = opendir(WB_PATH . '/templates')) {
+				// delete templates from database
+				$sql = "DELETE FROM `$table` WHERE `type` = 'template'";
+				$database->query($sql);
+
+				// loop over all templates
+				while(false !== ($file = readdir($handle))) {
+					if($file != '' AND substr($file, 0, 1) != '.' AND $file != 'index.php') {
+						load_template(WB_PATH . '/templates/' . $file);
+					}
+				}
+				closedir($handle);
+				// add success message
+				$msg[] = $MESSAGE['ADDON']['TEMPLATES_RELOADED'];
+
+			} else {
+				// provide error message and stop
+				$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
+			}
+			break;
+
+		case 'reload_languages':
+			if ($handle = opendir(WB_PATH . '/languages/')) {
+				// delete languages from database
+				$sql = "DELETE FROM `$table` WHERE `type` = 'language'";
+				$database->query($sql);
+			
+				// loop over all languages
+				while(false !== ($file = readdir($handle))) {
+					if ($file != '' && substr($file, 0, 1) != '.' && $file != 'index.php') {
+						load_language(WB_PATH . '/languages/' . $file);
+					}
+				}
+				closedir($handle);
+				// add success message
+				$msg[] = $MESSAGE['ADDON']['LANGUAGES_RELOADED'];
+				
+			} else {
+				// provide error message and stop
+				$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
+			}
+			break;
+	}
+}
+
+// output success message
+$admin->print_success(implode($msg, '<br />'), $js_back);
+
+?>
\ No newline at end of file

Property changes on: trunk/wb/admin/addons/reload.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/admin/addons/index.php
===================================================================
--- trunk/wb/admin/addons/index.php	(revision 932)
+++ trunk/wb/admin/addons/index.php	(revision 933)
@@ -49,6 +49,9 @@
 if($admin->get_permission('languages') != true) {
 	$template->set_var('DISPLAY_LANGUAGES', 'none');
 }
+if($admin->get_permission('admintools') != true) {
+	$template->set_var('DISPLAY_RELOAD', 'none');
+}
 
 // Insert section names and descriptions
 $template->set_var(array(
@@ -57,7 +60,11 @@
 								'LANGUAGES' => $MENU['LANGUAGES'],
 								'MODULES_OVERVIEW' => $OVERVIEW['MODULES'],
 								'TEMPLATES_OVERVIEW' => $OVERVIEW['TEMPLATES'],
-								'LANGUAGES_OVERVIEW' => $OVERVIEW['LANGUAGES']
+								'LANGUAGES_OVERVIEW' => $OVERVIEW['LANGUAGES'],
+								'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . ' ' . $TEXT['SETTINGS'],
+								'MESSAGE_RELOAD_ADDONS' => $MESSAGE['ADDON']['RELOAD'],
+								'TEXT_RELOAD' => $TEXT['RELOAD'],
+								'RELOAD_URL' => ADMIN_URL . '/addons/reload.php',
 								)
 						);
 
Index: trunk/wb/admin/addons/template.html
===================================================================
--- trunk/wb/admin/addons/template.html	(revision 932)
+++ trunk/wb/admin/addons/template.html	(revision 933)
@@ -42,7 +42,7 @@
 <tr>
 	<td align="center" valign="top">
 		
-		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_MODULES};">
+		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_MODULES};">
 		<tr>
 			<td class="graphic" align="center" valign="middle" rowspan="2">
 				<a href="{ADMIN_URL}/modules/index.php">
@@ -61,7 +61,7 @@
 		</table>
 				
 		
-		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_TEMPLATES};">
+		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_TEMPLATES};">
 		<tr>
 			<td class="graphic" align="center" valign="middle" rowspan="2">
 				<a href="{ADMIN_URL}/templates/index.php">
@@ -80,7 +80,7 @@
 		</table>
 				
 		
-		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_LANGUAGES};">
+		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_LANGUAGES};">
 		<tr>
 			<td class="graphic" align="center" valign="middle" rowspan="2">
 				<a href="{ADMIN_URL}/languages/index.php">
@@ -97,7 +97,36 @@
 			</td>
 		</tr>
 		</table>
+
+		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_RELOAD};">
+		<tr>
+			<td class="graphic" align="center" valign="middle" rowspan="2">
+				<img src="{ADMIN_URL}/images/icons/admintools.png" border="0" />
+			</td>
+			<td class="title">
+				{TXT_ADMIN_SETTINGS}
+			</td>
+		</tr>
+		<tr>
+			<td class="description">
+				<form action="{RELOAD_URL}" method="post">
+				{MESSAGE_RELOAD_ADDONS}<br style="margin-bottom: 0.5em" />
+				
+				<input style="display:{DISPLAY_MODULES};" type="checkbox" name="reload_modules" id="reload_modules" value="true" />
+				<label style="display:{DISPLAY_MODULES};" for="reload_modules">{MODULES}</label>
 		
+				<input style="display:{DISPLAY_TEMPLATES};" type="checkbox" name="reload_templates" id="reload_templates" value="true" />
+				<label style="display:{DISPLAY_TEMPLATES};" for="reload_templates">{TEMPLATES}</label>
+				
+				<input style="display:{DISPLAY_LANGUAGES};" type="checkbox" name="reload_languages" id="reload_languages" value="true" />
+				<label style="display:{DISPLAY_LANGUAGES};" for="reload_languages">{LANGUAGES}</label>
+
+				<input type="submit" name="submit" value="{TEXT_RELOAD}" />
+				</form>
+			</td>
+		</tr>
+		</table>
+
 	</td>
 </tr>
 </table>
Index: trunk/wb/admin/modules/reload.php
===================================================================
--- trunk/wb/admin/modules/reload.php	(revision 932)
+++ trunk/wb/admin/modules/reload.php	(nonexistent)
@@ -1,84 +0,0 @@
-<?php
-/**
- * $Id:$
- * Website Baker Add-On reload
- *
- * This file contains the function to update the module information from the
- * database with the ones stored in the module info.php files.
- *
- * LICENSE: GNU Lesser General Public License 3.0
- * 
- * @author		Christian Sommer
- * @copyright	(c) 2009
- * @license		http://www.gnu.org/copyleft/lesser.html
- * @version		0.1.0
- * @platform	Website Baker 2.7
- *
- * Website Baker Project <http://www.websitebaker.org/>
- * Copyright (C) 2004-2009, Ryan Djurovich
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with Website Baker; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*/
-
-// include WB configuration file and WB admin class
-require_once('../../config.php');
-require_once('../../framework/class.admin.php');
-
-// check user permissions for admintools (redirect users with wrong permissions)
-$admin = new admin('Admintools', 'admintools', false, false);
-if ($admin->get_permission('admintools') == false) die(header('Location: ../../index.php'));
-
-// check if the referer URL if available
-$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : 
-	(isset($HTTP_SERVER_VARS['HTTP_REFERER']) ? $HTTP_SERVER_VARS['HTTP_REFERER'] : '');
-
-// if referer is set, check if script was invoked from "admin/modules/index.php"
-$required_url = '/admin/modules/index.php';
-if ($referer != '' && (!(strpos($referer, $required_url) !== false || strpos($referer, $required_url) !== false))) 
-	die(header('Location: ../../index.php'));
-
-// include WB functions file
-require_once(WB_PATH . '/framework/functions.php');
-
-// load WB language file
-require_once(WB_PATH . '/languages/' . LANGUAGE .'.php');
-
-// create Admin object with admin header
-$admin = new admin('Addons', '', true, false);
-$js_back = ADMIN_URL . '/modules/index.php';
-
-// reload module information from module "info.php" files
-if ($handle = opendir(WB_PATH . '/modules/')) {
-	// remove all modules from database
-	$table = TABLE_PREFIX . 'addons';
-	$sql = "DELETE FROM $table WHERE `type` = 'module'";
-	$database->query($sql);
-
-	// loop over all modules
-	while(false !== ($file = readdir($handle))) {
-		if ($file != '' && substr($file, 0, 1) != '.' && $file != 'admin.php' && $file != 'index.php') {
-			load_module(WB_PATH.'/modules/'.$file);
-		}
-	}
-	closedir($handle);
-	// output success message
-	$admin->print_success($MESSAGE['ADDON']['MODULES_RELOADED'], $js_back);
-
-} else {
-	// output error message
-	$admin->print_error($MESSAGE['ADDON']['ERROR_RELOAD'], $js_back);
-}
-
-?>
\ No newline at end of file

Property changes on: trunk/wb/admin/modules/reload.php
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: trunk/wb/admin/modules/index.php
===================================================================
--- trunk/wb/admin/modules/index.php	(revision 932)
+++ trunk/wb/admin/modules/index.php	(revision 933)
@@ -54,9 +54,6 @@
 if($admin->get_permission('modules_view') != true) {
 	$template->set_var('DISPLAY_LIST', 'hide');
 }
-if($admin->get_permission('admintools') != true) {
-	$template->set_var('DISPLAY_RELOAD', 'hide');
-}
 
 // Insert language headings
 $template->set_var(array(
@@ -74,10 +71,7 @@
 	'TEXT_INSTALL' => $TEXT['INSTALL'],
 	'TEXT_UNINSTALL' => $TEXT['UNINSTALL'],
 	'TEXT_VIEW_DETAILS' => $TEXT['VIEW_DETAILS'],
-	'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'],
-	'TXT_ADMIN_SETTINGS' => $TEXT['ADMIN'] . '-' . $TEXT['SETTINGS'],
-	'TEXT_RELOAD_ADDON' => $MESSAGE['ADDON']['RELOAD'],
-	'TEXT_RELOAD' => $TEXT['RELOAD']
+	'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT']
 	)
 );
 
Index: trunk/wb/admin/modules/template.html
===================================================================
--- trunk/wb/admin/modules/template.html	(revision 932)
+++ trunk/wb/admin/modules/template.html	(revision 933)
@@ -73,14 +73,4 @@
 <br />
 </form>
 
-<form name="details" action="reload.php" method="post" class="{DISPLAY_RELOAD}">
-<hr style="margin-bottom: 1em; margin-top: 1em; border: 0.5px solid #DDD;" />
-
-<h2>{TXT_ADMIN_SETTINGS}</h2>
-<p>{TEXT_RELOAD_ADDON}</p>
-<input type="submit" name="submit" value="{TEXT_RELOAD}" style="width: 100px;" />
-
-<br />
-</form>
-
 <!-- END main_block -->
\ No newline at end of file
Index: trunk/wb/languages/FI.php
===================================================================
--- trunk/wb/languages/FI.php	(revision 932)
+++ trunk/wb/languages/FI.php	(revision 933)
@@ -586,7 +586,7 @@
 $MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Rajoitus voimassa, yrit&auml; tunnin kuluttua uudelleen';
 $MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = 'Tarkistusluku (Captcha) virheellinen ';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduulin lataus onnistui';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Sivupohjan lataus onnistui';
Index: trunk/wb/languages/EN.php
===================================================================
--- trunk/wb/languages/EN.php	(revision 932)
+++ trunk/wb/languages/EN.php	(revision 933)
@@ -586,7 +586,7 @@
 $MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sorry, this form has been submitted too many times so far this hour. Please retry in the next hour.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully';
Index: trunk/wb/languages/CS.php
===================================================================
--- trunk/wb/languages/CS.php	(revision 932)
+++ trunk/wb/languages/CS.php	(revision 933)
@@ -586,7 +586,7 @@
 $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;..';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduly byly &uacute;sp&#283;&scaron;n&#283; p&#345;ehr&aacute;ny';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = '&Scaron;ablony byly &uacute;sp&#283;&scaron;n&#283; p&#345;ehr&aacute;ny';
Index: trunk/wb/languages/SE.php
===================================================================
--- trunk/wb/languages/SE.php	(revision 932)
+++ trunk/wb/languages/SE.php	(revision 933)
@@ -586,7 +586,7 @@
 $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.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduler laddades om';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Mallar laddades om';
Index: trunk/wb/languages/ES.php
===================================================================
--- trunk/wb/languages/ES.php	(revision 932)
+++ trunk/wb/languages/ES.php	(revision 933)
@@ -586,7 +586,7 @@
 $MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Disculpe este formulario ha sido enviado demasiadas veces seguidas. Vuelva a intentarlo en una hora.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'M&oacute;dulos recargados correctamente';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Plantillas recargadas correctamente';
Index: trunk/wb/languages/FR.php
===================================================================
--- trunk/wb/languages/FR.php	(revision 932)
+++ trunk/wb/languages/FR.php	(revision 933)
@@ -586,7 +586,7 @@
 $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';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules r&eacute;install&eacute;s avec succ&egrave;s';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Mod&egrave;les r&eacute;install&eacute;s avec succ&egrave;s';
Index: trunk/wb/languages/ET.php
===================================================================
--- trunk/wb/languages/ET.php	(revision 932)
+++ trunk/wb/languages/ET.php	(revision 933)
@@ -586,7 +586,7 @@
 $MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Vabandame, see vorm on juba liiga palju kordi selle tunni jooksul saadetud. Palun proovi j&auml;rgmine tund uuesti.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully';
Index: trunk/wb/languages/HR.php
===================================================================
--- trunk/wb/languages/HR.php	(revision 932)
+++ trunk/wb/languages/HR.php	(revision 933)
@@ -586,7 +586,7 @@
 $MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Ova forma je pregledavana previ&scaron;e puta u jednom satu. Molimo poku&scaron;ajte slijede&aelig;i sat.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Uspje&scaron;no nasnimljeni moduli';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Uspje&scaron;no nasnimljeni predlo&scaron;ci';
Index: trunk/wb/languages/NL.php
===================================================================
--- trunk/wb/languages/NL.php	(revision 932)
+++ trunk/wb/languages/NL.php	(revision 933)
@@ -586,7 +586,7 @@
 $MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sorry, dit formulier is te vaak verstuurd binnen dit uur. Probeert u het over een uur nog eens.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules succesvol herladen';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates succesvol herladen';
Index: trunk/wb/languages/PL.php
===================================================================
--- trunk/wb/languages/PL.php	(revision 932)
+++ trunk/wb/languages/PL.php	(revision 933)
@@ -586,7 +586,7 @@
 $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;.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modu&#322;y zosta&#322;y za&#322;adowane ponownie';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Szablony zosta&#322;y za&#322;adowane ponownie';
Index: trunk/wb/languages/HU.php
===================================================================
--- trunk/wb/languages/HU.php	(revision 932)
+++ trunk/wb/languages/HU.php	(revision 933)
@@ -586,7 +586,7 @@
 $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.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully';
Index: trunk/wb/languages/IT.php
===================================================================
--- trunk/wb/languages/IT.php	(revision 932)
+++ trunk/wb/languages/IT.php	(revision 933)
@@ -586,7 +586,7 @@
 $MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Spiacente: hai compilato questa form troppe volte nell\'ultima ora.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduli ricaricati con successo';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates ricaricati con successo';
Index: trunk/wb/languages/NO.php
===================================================================
--- trunk/wb/languages/NO.php	(revision 932)
+++ trunk/wb/languages/NO.php	(revision 933)
@@ -586,7 +586,7 @@
 $MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Beklager, denne form har blitt sendt for mange ganger denne timen. Vennligst pr&oslash;v igjen neste time.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Lykkes i &aring; oppdatere moduler';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Lykkes i &aring; oppdatere maler';
Index: trunk/wb/languages/LV.php
===================================================================
--- trunk/wb/languages/LV.php	(revision 932)
+++ trunk/wb/languages/LV.php	(revision 933)
@@ -586,7 +586,7 @@
 $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.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduli veiksmigi parladeti';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = '&scaron;abloni veiksmigi parladeti';
Index: trunk/wb/languages/CA.php
===================================================================
--- trunk/wb/languages/CA.php	(revision 932)
+++ trunk/wb/languages/CA.php	(revision 933)
@@ -586,7 +586,7 @@
 $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.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully';
Index: trunk/wb/languages/PT.php
===================================================================
--- trunk/wb/languages/PT.php	(revision 932)
+++ trunk/wb/languages/PT.php	(revision 933)
@@ -586,7 +586,7 @@
 $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.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'M&oacute;dulos recarregados com sucesso';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Temas (Templates) recarregados com sucesso';
Index: trunk/wb/languages/DA.php
===================================================================
--- trunk/wb/languages/DA.php	(revision 932)
+++ trunk/wb/languages/DA.php	(revision 933)
@@ -586,7 +586,7 @@
 $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!';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Moduler opdateret med succes';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates opdateret med succes';
Index: trunk/wb/languages/TR.php
===================================================================
--- trunk/wb/languages/TR.php	(revision 932)
+++ trunk/wb/languages/TR.php	(revision 933)
@@ -586,7 +586,7 @@
 $MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Sorry, this form has been submitted too many times so far this hour. Please retry in the next hour.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Mod&uuml;l, ba&thorn;ar&yacute;l&yacute; bir &thorn;ekildeninkini tekrar y&uuml;klendi';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Kal&yacute;plar, ba&thorn;ar&yacute;l&yacute; bir &thorn;ekildeninkini tekrar y&uuml;klendi';
Index: trunk/wb/languages/RU.php
===================================================================
--- trunk/wb/languages/RU.php	(revision 932)
+++ trunk/wb/languages/RU.php	(revision 933)
@@ -586,7 +586,7 @@
 $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;.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $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;';
 $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;';
Index: trunk/wb/languages/DE.php
===================================================================
--- trunk/wb/languages/DE.php	(revision 932)
+++ trunk/wb/languages/DE.php	(revision 933)
@@ -586,7 +586,7 @@
 $MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = 'Dieses Formular wurde zu oft aufgerufen. Bitte versuchen Sie es in einer Stunde noch einmal.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Abgleich der Datenbank mit den Informationen aus den Addon-Dateien (z.B. nach FTP Upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Fehler beim Abgleich der Addon Informationen.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Module erfolgreich geladen';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Designvorlagen erfolgreich geladen';
Index: trunk/wb/languages/BG.php
===================================================================
--- trunk/wb/languages/BG.php	(revision 932)
+++ trunk/wb/languages/BG.php	(revision 933)
@@ -586,7 +586,7 @@
 $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;.';
 $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.'';
 
-$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.';
+$MESSAGE['ADDON']['RELOAD'] = 'Update database with information from Add-on files (e.g. after FTP upload).';
 $MESSAGE['ADDON']['ERROR_RELOAD'] = 'Error while updating the Add-On information.';
 $MESSAGE['ADDON']['MODULES_RELOADED'] = 'Modules reloaded successfully';
 $MESSAGE['ADDON']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully';
