Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 586)
+++ trunk/CHANGELOG	(revision 587)
@@ -11,6 +11,12 @@
 ! = Update/Change
 
 ------------------------------------- 2.7.0 -------------------------------------
+22-Jan-2008 Christian Sommer
++	Added language support for the Admin tools (backup, reload, mail_filter)
+-	Removed all admin tool text outputs from global language file to module language files
+!	Introduced language support for the overview page of the Admin tools
++	Added function get_variable_content to allow extraction of variable content without including files
+!	Changed language support for Addons -> Moduls -> Details
 22-Jan-2008 Matthias Gallas
 +	Added keywords to new mail filter files
 22-Jan-2008 Thomas Hornik
Index: trunk/wb/admin/modules/details.php
===================================================================
--- trunk/wb/admin/modules/details.php	(revision 586)
+++ trunk/wb/admin/modules/details.php	(revision 587)
@@ -25,6 +25,7 @@
 
 // Include the config file
 require('../../config.php');
+require_once(WB_PATH .'/framework/functions.php');
 
 // Get module name
 if(!isset($_POST['file']) OR $_POST['file'] == "") {
@@ -55,25 +56,17 @@
 	$module = $result->fetchRow();
 }
 
-// Get language description if available
-// First get users defined language
-$query = "SELECT language FROM ".TABLE_PREFIX."users WHERE user_id = '".$admin->get_user_id()."'";
-$results = $database->query($query);
-if($results->numRows() > 0) {
-	// We found a language for the user, store it
-	$user_info=$results->fetchRow();
-	$user_language = $user_info['language'];
-
-	// Next check for language file in module dir and insert the variables from that file
-	if(file_exists(WB_PATH.'/modules/'.$file.'/languages/'.$user_language.'.php')) {
-		require(WB_PATH.'/modules/'.$file.'/languages/'.$user_language.'.php');
-		
-		// Check to see if new variable exists... -> $module_description
-		if (isset($module_description)) {
-			// Override the module-description with correct desription in users language
-			$module['description']=$module_description;
-		}	
-	}
+// check if a module description exists for the displayed backend language
+$tool_description = false;
+if(function_exists('file_get_contents') && file_exists(WB_PATH.'/modules/'.$file.'/languages/'.LANGUAGE .'.php')) {
+	// read contents of the module language file into string
+	$data = @file_get_contents(WB_PATH .'/modules/' .$file .'/languages/' .LANGUAGE .'.php');
+	// use regular expressions to fetch the content of the variable from the string
+	$tool_description = get_variable_content('module_description', $data, true, false);
+}		
+if($tool_description !== false) {
+	// Override the module-description with correct desription in users language
+	$module['description'] = $tool_description;
 }
 
 $template->set_var(array(
Index: trunk/wb/admin/admintools/index.php
===================================================================
--- trunk/wb/admin/admintools/index.php	(revision 586)
+++ trunk/wb/admin/admintools/index.php	(revision 587)
@@ -46,7 +46,14 @@
 	while($tool = $results->fetchRow()) {
 		$template->set_var('TOOL_NAME', $tool['name']);
 		$template->set_var('TOOL_DIR', $tool['directory']);
-		$template->set_var('TOOL_DESCRIPTION', $tool['description']);
+		// check if a module description exists for the displayed backend language
+		$tool_description = false;
+		if(function_exists('file_get_contents') && file_exists(WB_PATH.'/modules/'.$tool['directory'].'/languages/'.LANGUAGE .'.php')) {
+			// read contents of the module language file into string
+			$data = @file_get_contents(WB_PATH .'/modules/' .$tool['directory'] .'/languages/' .LANGUAGE .'.php');
+			$tool_description = get_variable_content('module_description', $data, true, false);
+		}		
+		$template->set_var('TOOL_DESCRIPTION', ($tool_description === False)? $tool['description'] :$tool_description);
 		$template->parse('tool_list', 'tool_list_block', true);
 	}
 } else {
Index: trunk/wb/framework/functions.php
===================================================================
--- trunk/wb/framework/functions.php	(revision 586)
+++ trunk/wb/framework/functions.php	(revision 587)
@@ -825,4 +825,23 @@
 	}
 }
 
+// extracts the content of a string variable from a string (save alternative to including files)
+if(!function_exists('get_variable_content')) {
+	function get_variable_content($search, $data, $striptags=true, $convert_to_entities=true) {
+		$match = '';
+		// search for $variable followed by 0-n whitespace then by = then by 0-n whitespace
+		// then either " or ' then 0-n characters then either " or ' followed by 0-n whitespace and ;
+		// the variable name is returned in $match[1], the content in $match[3]
+		if (preg_match('/(\$' .$search .')\s*=\s*("|\')(.*)\2\s*;/', $data, $match)) {
+			if(strip_tags(trim($match[1])) == '$' .$search) {
+				// variable name matches, return it´s value
+				$match[3] = ($striptags == true) ? strip_tags($match[3]) : $match[3];
+				$match[3] = ($convert_to_entities == true) ? htmlentities($match[3]) : $match[3];
+				return $match[3];
+			}
+		}
+		return false;
+	}
+}
+
 ?>
Index: trunk/wb/languages/EN.php
===================================================================
--- trunk/wb/languages/EN.php	(revision 586)
+++ trunk/wb/languages/EN.php	(revision 587)
@@ -388,8 +388,6 @@
 $TEXT['RESTORE'] = 'Restore';
 $TEXT['BACKUP_DATABASE'] = 'Backup Database';
 $TEXT['RESTORE_DATABASE'] = 'Restore Database';
-$TEXT['BACKUP_ALL_TABLES'] = 'Backup all tables in database';
-$TEXT['BACKUP_WB_SPECIFIC'] = 'Backup only WB-specific tables';
 $TEXT['BACKUP_MEDIA'] = 'Backup Media';
 $TEXT['RESTORE_MEDIA'] = 'Restore Media';
 $TEXT['ADMINISTRATION_TOOL'] = 'Administration tool';
@@ -546,9 +544,4 @@
 $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['MOD_RELOAD']['PLEASE_SELECT'] = 'Please selected which add-ons you would like to have reloaded';
-$MESSAGE['MOD_RELOAD']['MODULES_RELOADED'] = 'Modules reloaded successfully';
-$MESSAGE['MOD_RELOAD']['TEMPLATES_RELOADED'] = 'Templates reloaded successfully';
-$MESSAGE['MOD_RELOAD']['LANGUAGES_RELOADED'] = 'Languages reloaded successfully';
-
 ?>
Index: trunk/wb/modules/backup/tool.php
===================================================================
--- trunk/wb/modules/backup/tool.php	(revision 586)
+++ trunk/wb/modules/backup/tool.php	(revision 587)
@@ -26,11 +26,20 @@
 // Direct access prevention
 defined('WB_PATH') OR die(header('Location: ../index.php'));
 
+// check if module language file exists for the language set by the user (e.g. DE, EN)
+if(!file_exists(WB_PATH .'/modules/backup/languages/'.LANGUAGE .'.php')) {
+	// no module language file exists for the language set by the user, include default module language file EN.php
+	require_once(WB_PATH .'/modules/backup/languages/EN.php');
+} else {
+	// a module language file exists for the language defined by the user, load it
+	require_once(WB_PATH .'/modules/backup/languages/'.LANGUAGE .'.php');
+}
+
 // Show form
 ?>
 <br />
 <form name="prompt" method="post" action="<?php echo WB_URL; ?>/modules/backup/backup-sql.php">
-		<input type="radio" checked="checked" name="tables" value="ALL"><?php echo $TEXT['BACKUP_ALL_TABLES']; ?><br>
-		<input type="radio" name="tables" value="WB"><?php echo $TEXT['BACKUP_WB_SPECIFIC']; ?><br><br> 
+		<input type="radio" checked="checked" name="tables" value="ALL"><?php echo $MOD_BACKUP['BACKUP_ALL_TABLES']; ?><br>
+		<input type="radio" name="tables" value="WB"><?php echo $MOD_BACKUP['BACKUP_WB_SPECIFIC']; ?><br><br> 
 	<input type="submit" name="backup" value="<?php echo $TEXT['BACKUP_DATABASE']; ?>" onClick="javascript: if(!confirm('<?php echo $MESSAGE['GENERIC']['PLEASE_BE_PATIENT']; ?>')) { return false; }" />
 </form>
\ No newline at end of file
Index: trunk/wb/modules/backup/languages/EN.php
===================================================================
--- trunk/wb/modules/backup/languages/EN.php	(nonexistent)
+++ trunk/wb/modules/backup/languages/EN.php	(revision 587)
@@ -0,0 +1,34 @@
+<?php
+
+// $Id$
+
+/*
+
+ Website Baker Project <http://www.websitebaker.org/>
+ Copyright (C) 2004-2008, 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
+
+ -----------------------------------------------------------------------------------------
+  ENGLISH LANGUAGE FILE FOR THE ADMIN TOOL: BACKUP
+ -----------------------------------------------------------------------------------------
+*/
+
+// text outputs
+$MOD_BACKUP['BACKUP_ALL_TABLES'] 	= 	'Backup all tables in database';
+$MOD_BACKUP['BACKUP_WB_SPECIFIC'] 	= 	'Backup only WB-specific tables';
+$TEXT['BACKUP_DATABASE']				=	'Backup Database';
+
+?>
\ No newline at end of file
Index: trunk/wb/modules/backup/languages/DE.php
===================================================================
--- trunk/wb/modules/backup/languages/DE.php	(nonexistent)
+++ trunk/wb/modules/backup/languages/DE.php	(revision 587)
@@ -0,0 +1,37 @@
+<?php
+
+// $Id$
+
+/*
+
+ Website Baker Project <http://www.websitebaker.org/>
+ Copyright (C) 2004-2008, 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
+
+ -----------------------------------------------------------------------------------------
+  DEUTSCHES SPRACHDATEI FUER DAS ADMIN TOOL: BACKUP
+ -----------------------------------------------------------------------------------------
+*/
+
+// Deutsche Modulbeschreibung
+$module_description = 'Dieses Modul erm&ouml;glicht die Erstellung einer Datenbanksicherung.';
+
+// Textausgaben
+$MOD_BACKUP['BACKUP_ALL_TABLES'] 	=	'Sichere alle Tabellen der Datenbank';
+$MOD_BACKUP['BACKUP_WB_SPECIFIC'] 	= 	'Sichere nur die von Website Baker generierten Tabellen der Datenbank';
+$TEXT['BACKUP_DATABASE']				=	'Erstelle Datenbanksicherung';
+
+?>
\ No newline at end of file
Index: trunk/wb/modules/reload/tool.php
===================================================================
--- trunk/wb/modules/reload/tool.php	(revision 586)
+++ trunk/wb/modules/reload/tool.php	(revision 587)
@@ -26,6 +26,15 @@
 // Direct access prevention
 defined('WB_PATH') OR die(header('Location: ../index.php'));
 
+// check if module language file exists for the language set by the user (e.g. DE, EN)
+if(!file_exists(WB_PATH .'/modules/reload/languages/'.LANGUAGE .'.php')) {
+	// no module language file exists for the language set by the user, include default module language file EN.php
+	require_once(WB_PATH .'/modules/reload/languages/EN.php');
+} else {
+	// a module language file exists for the language defined by the user, load it
+	require_once(WB_PATH .'/modules/reload/languages/'.LANGUAGE .'.php');
+}
+
 // Check if user selected what add-ons to reload
 if(isset($_POST['submit']) AND $_POST['submit'] != '') {
 	// Include functions file
@@ -43,7 +52,7 @@
 			}
 		closedir($handle);
 		}
-		echo '<br />'.$MESSAGE['MOD_RELOAD']['MODULES_RELOADED'];
+		echo '<br />'.$MOD_RELOAD['MODULES_RELOADED'];
 	}
 	if(isset($_POST['reload_templates'])) {
 		// Remove all templates
@@ -57,7 +66,7 @@
 			}
 		closedir($handle);
 		}
-		echo '<br />'.$MESSAGE['MOD_RELOAD']['TEMPLATES_RELOADED'];
+		echo '<br />'.$MOD_RELOAD['TEMPLATES_RELOADED'];
 	}
 	if(isset($_POST['reload_languages'])) {
 		// Remove all languages
@@ -71,7 +80,7 @@
 			}
 		closedir($handle);
 		}
-		echo '<br />'.$MESSAGE['MOD_RELOAD']['LANGUAGES_RELOADED'];
+		echo '<br />'.$MOD_RELOAD['LANGUAGES_RELOADED'];
 	}
 	?>
 	<br /><br />
@@ -84,19 +93,19 @@
 	<form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
 	<table cellpadding="4" cellspacing="0" border="0">
 	<tr>
-		<td colspan="2"><?php echo $MESSAGE['MOD_RELOAD']['PLEASE_SELECT']; ?>:</td>
+		<td colspan="2"><?php echo $MOD_RELOAD['PLEASE_SELECT']; ?>:</td>
 	</tr>
 	<tr>
 		<td width="20"><input type="checkbox" name="reload_modules" id="reload_modules" value="true" /></td>
-		<td><label for="reload_modules"><?php echo $MENU['MODULES']; ?></label></td>
+		<td><label for="reload_modules"><?php echo $MOD_RELOAD['MODULES']; ?></label></td>
 	</tr>
 	<tr>
 		<td><input type="checkbox" name="reload_templates" id="reload_templates" value="true" /></td>
-		<td><label for="reload_templates"><?php echo $MENU['TEMPLATES']; ?></label></td>
+		<td><label for="reload_templates"><?php echo $MOD_RELOAD['TEMPLATES']; ?></label></td>
 	</tr>
 	<tr>
 		<td><input type="checkbox" name="reload_languages" id="reload_languages" value="true" /></td>
-		<td><label for="reload_languages"><?php echo $MENU['LANGUAGES']; ?></label></td>
+		<td><label for="reload_languages"><?php echo $MOD_RELOAD['LANGUAGES']; ?></label></td>
 	</tr>
 	<tr>
 		<td>&nbsp;</td>
Index: trunk/wb/modules/reload/languages/EN.php
===================================================================
--- trunk/wb/modules/reload/languages/EN.php	(nonexistent)
+++ trunk/wb/modules/reload/languages/EN.php	(revision 587)
@@ -0,0 +1,38 @@
+<?php
+
+// $Id$
+
+/*
+
+ Website Baker Project <http://www.websitebaker.org/>
+ Copyright (C) 2004-2008, 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
+
+ -----------------------------------------------------------------------------------------
+  ENGLISH LANGUAGE FILE FOR THE ADMIN TOOL: RELOAD ADDINS
+ -----------------------------------------------------------------------------------------
+*/
+
+// Headings and text outputs
+$MOD_RELOAD['PLEASE_SELECT'] 			= 'Please selected which add-ons you would like to have reloaded';
+$MOD_RELOAD['MODULES'] 					= 'Modules';
+$MOD_RELOAD['TEMPLATES'] 				= 'Templates';
+$MOD_RELOAD['LANGUAGES'] 				= 'Languages';
+$MOD_RELOAD['MODULES_RELOADED'] 		= 'Modules reloaded successfully';
+$MOD_RELOAD['TEMPLATES_RELOADED']	= 'Templates reloaded successfully';
+$MOD_RELOAD['LANGUAGES_RELOADED']	= 'Languages reloaded successfully';
+
+?>
\ No newline at end of file
Index: trunk/wb/modules/reload/languages/DE.php
===================================================================
--- trunk/wb/modules/reload/languages/DE.php	(nonexistent)
+++ trunk/wb/modules/reload/languages/DE.php	(revision 587)
@@ -0,0 +1,41 @@
+<?php
+
+// $Id$
+
+/*
+
+ Website Baker Project <http://www.websitebaker.org/>
+ Copyright (C) 2004-2008, 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
+
+ -----------------------------------------------------------------------------------------
+  DEUTSCHES SPRACHDATEI FUER DAS ADMIN TOOL: RELOAD ADDONS
+ -----------------------------------------------------------------------------------------
+*/
+
+// Deutsche Modulbeschreibung
+$module_description = 'Dieses Modul gleicht die Addon Informationen der Datenbank mit Ihrer WB Installation ab.';
+
+// Textausgaben
+$MOD_RELOAD['PLEASE_SELECT'] 			= 'W&auml;hle die Addons aus, deren Informationen mit der Datenbank abgeglichen werden sollen';
+$MOD_RELOAD['MODULES'] 					= 'Module';
+$MOD_RELOAD['TEMPLATES'] 				= 'Designvorlagen';
+$MOD_RELOAD['LANGUAGES'] 				= 'Sprachdateien';
+$MOD_RELOAD['MODULES_RELOADED'] 		= 'Module erfolgreich abgeglichen';
+$MOD_RELOAD['TEMPLATES_RELOADED']	= 'Designvorlagen erfolgreich abgeglichen';
+$MOD_RELOAD['LANGUAGES_RELOADED']	= 'Sprachdateien erfolgreich abgeglichen';
+
+?>
\ No newline at end of file
Index: trunk/wb/modules/mail_filter/tool.php
===================================================================
--- trunk/wb/modules/mail_filter/tool.php	(revision 586)
+++ trunk/wb/modules/mail_filter/tool.php	(revision 587)
@@ -26,6 +26,14 @@
 // direct access prevention
 defined('WB_PATH') OR die(header('Location: ../index.php'));
 
+// check if module language file exists for the language set by the user (e.g. DE, EN)
+if(!file_exists(WB_PATH .'/modules/mail_filter/languages/'.LANGUAGE .'.php')) {
+	// no module language file exists for the language set by the user, include default module language file EN.php
+	require_once(WB_PATH .'/modules/mail_filter/languages/EN.php');
+} else {
+	// a module language file exists for the language defined by the user, load it
+	require_once(WB_PATH .'/modules/mail_filter/languages/'.LANGUAGE .'.php');
+}
 // check if data was submitted
 if(isset($_POST['save_settings'])) {
 	// get configuration settings
@@ -51,7 +59,7 @@
 
 } else {
 	// write out heading
-	echo '<h2>Email Output Filter</h2>';
+	echo '<h2>' .$MOD_MAIL_FILTER['HEADING'] .'</h2>';
 
 	// include filter functions
 	require_once(WB_PATH .'/modules/mail_filter/filter-routines.php');
@@ -60,38 +68,37 @@
 	$data = get_mail_filter_settings();
 	
 	// output the form with values from the database
+	echo '<p>' .$MOD_MAIL_FILTER['HOWTO'] .'</p>';
 ?>
-
-<p>You can enable/disable the output filtering of email adresses with the options below. The Javascript mailto: encryption requires to enable the register_frontend_modfiles in your browser.</p>
 <form name="store_settings" action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
 	<table width="98%" cellspacing="0" cellpadding="5px" class="row_a">
-	<tr><td colspan="2"><strong>Basic Configuration:</strong></td></tr>
+	<tr><td colspan="2"><strong><?php echo $MOD_MAIL_FILTER['BASIC_CONF'];?>:</strong></td></tr>
 	<tr>
-		<td width="35%">Email Output Filter:</td>
+		<td width="35%"><?php echo $MOD_MAIL_FILTER['EMAIL_FILTER'];?>:</td>
 		<td>
 			<input type="radio" <?php echo ($data['email_filter']=='1') ?'checked="checked"' :'';?> 
-				name="email_filter" value="1">Enabled
+				name="email_filter" value="1"><?php echo $MOD_MAIL_FILTER['ENABLED'];?>
 			<input type="radio" <?php echo ($data['email_filter']=='0') ?'checked="checked"' :'';?> 
-				name="email_filter" value="0">Disabled
+				name="email_filter" value="0"><?php echo $MOD_MAIL_FILTER['DISABLED'];?>
 		</td>
 	</tr>
 	<tr>
-		<td>Javascript Encryption (mailto):</td>
+		<td><?php echo $MOD_MAIL_FILTER['MAILTO_FILTER'];?>:</td>
 		<td>
 			<input type="radio" <?php echo ($data['mailto_filter']=='1') ?'checked="checked"' :'';?>
-				name="mailto_filter" value="1">Enabled
+				name="mailto_filter" value="1"><?php echo $MOD_MAIL_FILTER['ENABLED'];?>
 			<input type="radio" <?php echo (($data['mailto_filter'])=='0') ?'checked="checked"' :'';?>
-				name="mailto_filter" value="0">Disabled
+				name="mailto_filter" value="0"><?php echo $MOD_MAIL_FILTER['DISABLED'];?>
 		</td>
 	</tr>
-	<tr><td colspan="2"><br /><strong>Email Replacements:</strong></td></tr>
+	<tr><td colspan="2"><br /><strong><?php echo $MOD_MAIL_FILTER['REPLACEMENT_CONF'];?>:</strong></td></tr>
 	<tr>
-		<td>Replacement for "@":</td>
+		<td><?php echo $MOD_MAIL_FILTER['AT_REPLACEMENT'];?>:</td>
 		<td><input type="text" style="width: 160px" value="<?php echo $data['at_replacement'];?>" 
 			name="at_replacement"/></td>
 	</tr>
 	<tr>
-		<td>Replacement for ".":</td>
+		<td><?php echo $MOD_MAIL_FILTER['DOT_REPLACEMENT'];?>:</td>
 		<td><input type="text" style="width: 160px" value="<?php echo $data['dot_replacement'];?>" 
 			name="dot_replacement"/></td>
 	</tr>
Index: trunk/wb/modules/mail_filter/languages/EN.php
===================================================================
--- trunk/wb/modules/mail_filter/languages/EN.php	(nonexistent)
+++ trunk/wb/modules/mail_filter/languages/EN.php	(revision 587)
@@ -0,0 +1,44 @@
+<?php
+
+// $Id$
+
+/*
+
+ Website Baker Project <http://www.websitebaker.org/>
+ Copyright (C) 2004-2008, 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
+
+ -----------------------------------------------------------------------------------------
+  ENGLISH LANGUAGE FILE FOR THE MAIL FILTER ADMIN TOOL
+ -----------------------------------------------------------------------------------------
+*/
+
+// Headings and text outputs
+$MOD_MAIL_FILTER['HEADING']				= 'Email Output Filter';
+$MOD_MAIL_FILTER['HOWTO']					= 'You can enable/disable the output filtering of emails with the options below. For Javascript mailto: encryption you need to add the <em>register_frontend_modfiles(\'js\')</em> PHP function call to the index.php of your template.';
+
+// Text and captions of form elements
+$MOD_MAIL_FILTER['BASIC_CONF']			= 'Basic Configuration';
+$MOD_MAIL_FILTER['EMAIL_FILTER']			= 'Email Output Filter';
+$MOD_MAIL_FILTER['MAILTO_FILTER']		= 'Javascript Encryption (mailto)';
+$MOD_MAIL_FILTER['ENABLED']				= 'Enabled';
+$MOD_MAIL_FILTER['DISABLED']				= 'Disabled';
+
+$MOD_MAIL_FILTER['REPLACEMENT_CONF']	= 'Email Replacements';
+$MOD_MAIL_FILTER['AT_REPLACEMENT']		= 'Replace "@" by';
+$MOD_MAIL_FILTER['DOT_REPLACEMENT']		= 'Replace "." by';
+
+?>
\ No newline at end of file
Index: trunk/wb/modules/mail_filter/languages/DE.php
===================================================================
--- trunk/wb/modules/mail_filter/languages/DE.php	(nonexistent)
+++ trunk/wb/modules/mail_filter/languages/DE.php	(revision 587)
@@ -0,0 +1,47 @@
+<?php
+
+// $Id$
+
+/*
+
+ Website Baker Project <http://www.websitebaker.org/>
+ Copyright (C) 2004-2008, 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
+
+ -----------------------------------------------------------------------------------------
+  DEUTSCHES SPRACHDATEI FUER DAS MAIL_FILTER ADMINISTRATIONS TOOL
+ -----------------------------------------------------------------------------------------
+*/
+
+// Deutsche Modulbeschreibung
+$module_description 	= 'Dieses Modul erlaubt Emailfilterung vor der Ausgabe (z.B. <em>name@email.de</em> --> <em>name(at)email(dot).de</em>).';
+
+// Überschriften und Textausgaben
+$MOD_MAIL_FILTER['HEADING']				= 'Email Ausgabe Filterung';
+$MOD_MAIL_FILTER['HOWTO']					= 'Mit nachfolgenden Optionen kann die Emailfilterung ein- und ausgeschaltet werden. Um die Javascript mailto: Verschl&uuml;sselung zu aktivieren, muss die PHP Funktion <em>register_frontend_modfiles(\'js\')</em> in der index.php des Templates eingebunden werden.';
+
+// Text and captions of form elements
+$MOD_MAIL_FILTER['BASIC_CONF']			= 'Grundeinstellungen';
+$MOD_MAIL_FILTER['EMAIL_FILTER']			= 'Email Filterung';
+$MOD_MAIL_FILTER['MAILTO_FILTER']		= 'Javascript Verschl&uuml;sselung (mailto)';
+$MOD_MAIL_FILTER['ENABLED']				= 'Aktiviert';
+$MOD_MAIL_FILTER['DISABLED']				= 'Ausgeschaltet';
+
+$MOD_MAIL_FILTER['REPLACEMENT_CONF']	= 'Email Ersetzungen';
+$MOD_MAIL_FILTER['AT_REPLACEMENT']		= 'Ersetzte "@" durch';
+$MOD_MAIL_FILTER['DOT_REPLACEMENT']		= 'Ersetze "." durch';
+
+?>
\ No newline at end of file
