Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1216)
+++ branches/2.8.x/CHANGELOG	(revision 1217)
@@ -11,6 +11,9 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.1 -------------------------------------
+16-DEC-2009 Manuel Lang (MaGnaL)
+#	Minor bugfixes: Use localized messages in preference forms on frontend and backend,
+	correct html/php syntax in upgrade-script.php and NL localization of show_menu2 snippet  
 14-DEC-2009 Manuel lang (MaGnaL)
 #	Ticket #832: Fix wrong configuration of timezone-handling when saving
 	preferences-form on backend and frontend 
Index: branches/2.8.x/wb/upgrade-script.php
===================================================================
--- branches/2.8.x/wb/upgrade-script.php	(revision 1216)
+++ branches/2.8.x/wb/upgrade-script.php	(revision 1217)
@@ -1,28 +1,54 @@
 <?php
 
-// $Id$
+/****************************************************************************
+* SVN Version information:
+*
+* $Id$
+*
+*****************************************************************************
+*
+*****************************************************************************
+*                          WebsiteBaker
+*
+* WebsiteBaker Project <http://www.websitebaker2.org/>
+* Copyright (C) 2009, Website Baker Org. e.V.
+*         http://start.websitebaker2.org/impressum-datenschutz.php
+* Copyright (C) 2004-2009, Ryan Djurovich
+*
+*                        About WebsiteBaker
+*
+* Website Baker is a PHP-based Content Management System (CMS)
+* designed with one goal in mind: to enable its users to produce websites
+* with ease.
+*
+*****************************************************************************
+*
+*****************************************************************************
+*                   WebsiteBaker Extra Information
+*
+* @author       : thorn, Matthias Gallas, doc, Dietrich Roland Pehlke, Manuel Lang
+* @platform     : WebsiteBaker 2.8
+*
+*****************************************************************************
+*
+*****************************************************************************
+*                        LICENSE INFORMATION
+*
+* WebsiteBaker 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.
+*
+* WebsiteBaker 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 this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+*****************************************************************************/
 
-/*
-
- 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_once('config.php');
 
 // this function checks the basic configurations of an existing WB intallation
@@ -103,7 +129,7 @@
 <h2>Step 1: Backup your files</h2>
 <p>It is highly recommended to <strong>create a manual backup</strong> of the entire <strong>/pages folder</strong> and the <strong>MySQL database</strong> before proceeding.<br /><strong class="error">Note: </strong>The upgrade script alters some settings of your existing database!!! You need to confirm the disclaimer before proceeding.</p>
 
-<form name="send" action="<?php echo $_SERVER['PHP_SELF'];?>" method="POST">
+<form name="send" action="<?php echo $_SERVER['PHP_SELF'];?>" method="post">
 <textarea cols="80" rows="5">DISCLAIMER: The Website Baker upgrade script 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. One needs to confirm that a manual backup of the /pages folder (including all files and subfolders contained in it) and backup of the entire Website Baker MySQL database was created before you can proceed.</textarea>
 <br /><br /><input name="backup_confirmed" type="checkbox" value="confirmed" />&nbsp;I confirm that a manual backup of the /pages folder and the MySQL database was created.
 <br /><br /><input name="send" type="submit" value="Start upgrade script" />
Index: branches/2.8.x/wb/admin/preferences/index.php
===================================================================
--- branches/2.8.x/wb/admin/preferences/index.php	(revision 1216)
+++ branches/2.8.x/wb/admin/preferences/index.php	(revision 1217)
@@ -1,28 +1,54 @@
 <?php
 
-// $Id$
+/****************************************************************************
+* SVN Version information:
+*
+* $Id$
+*
+*****************************************************************************
+*
+*****************************************************************************
+*                          WebsiteBaker
+*
+* WebsiteBaker Project <http://www.websitebaker2.org/>
+* Copyright (C) 2009, Website Baker Org. e.V.
+*         http://start.websitebaker2.org/impressum-datenschutz.php
+* Copyright (C) 2004-2009, Ryan Djurovich
+*
+*                        About WebsiteBaker
+*
+* Website Baker is a PHP-based Content Management System (CMS)
+* designed with one goal in mind: to enable its users to produce websites
+* with ease.
+*
+*****************************************************************************
+*
+*****************************************************************************
+*                   WebsiteBaker Extra Information
+*
+* @author       : Ryan Djurovich, stefan, Matthias Gallas, thorn, Manuel Lang
+* @platform     : WebsiteBaker 2.8
+*
+*****************************************************************************
+*
+*****************************************************************************
+*                        LICENSE INFORMATION
+*
+* WebsiteBaker 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.
+*
+* WebsiteBaker 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 this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+*****************************************************************************/
 
-/*
-
- 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
-
-*/
-
 require('../../config.php');
 require_once(WB_PATH.'/framework/class.admin.php');
 $admin = new admin('Preferences');
@@ -123,7 +149,7 @@
 	if(TIME_FORMAT == $format AND !isset($_SESSION['USE_DEFAULT_TIME_FORMAT'])) {
 		$template->set_var('SELECTED', ' selected="selected"');
 	} elseif($format == 'system_default' AND isset($_SESSION['USE_DEFAULT_TIME_FORMAT'])) {
-		$template->set_var('SELECTED', 'selected');
+		$template->set_var('SELECTED', ' selected="selected"');
 	} else {
 		$template->set_var('SELECTED', '');
 	}
@@ -157,7 +183,8 @@
 								'TEXT_TIME_FORMAT' => $TEXT['TIME_FORMAT'],
 								'TEXT_CURRENT_PASSWORD' => $TEXT['CURRENT_PASSWORD'],
 								'TEXT_NEW_PASSWORD' => $TEXT['NEW_PASSWORD'],
-								'TEXT_RETYPE_NEW_PASSWORD' => $TEXT['RETYPE_NEW_PASSWORD']
+								'TEXT_RETYPE_NEW_PASSWORD' => $TEXT['RETYPE_NEW_PASSWORD'],
+								'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT']
 								)
 						);
 
Index: branches/2.8.x/wb/account/preferences_form.php
===================================================================
--- branches/2.8.x/wb/account/preferences_form.php	(revision 1216)
+++ branches/2.8.x/wb/account/preferences_form.php	(revision 1217)
@@ -1,28 +1,54 @@
 <?php
 
-// $Id$
+/****************************************************************************
+* SVN Version information:
+*
+* $Id$
+*
+*****************************************************************************
+*
+*****************************************************************************
+*                          WebsiteBaker
+*
+* WebsiteBaker Project <http://www.websitebaker2.org/>
+* Copyright (C) 2009, Website Baker Org. e.V.
+*         http://start.websitebaker2.org/impressum-datenschutz.php
+* Copyright (C) 2004-2009, Ryan Djurovich
+*
+*                        About WebsiteBaker
+*
+* Website Baker is a PHP-based Content Management System (CMS)
+* designed with one goal in mind: to enable its users to produce websites
+* with ease.
+*
+*****************************************************************************
+*
+*****************************************************************************
+*                   WebsiteBaker Extra Information (where needed)
+*
+* @author       : Ryan Djurovich, stefan, Matthias Gallas, Manuel Lang
+* @platform     : WebsiteBaker 2.8
+*
+*****************************************************************************
+*
+*****************************************************************************
+*                        LICENSE INFORMATION
+*
+* WebsiteBaker 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.
+*
+* WebsiteBaker 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 this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+*****************************************************************************/
 
-/*
-
- 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
-
-*/
-
 if(!defined('WB_URL')) die(header('Location: ../../index.php'));
 
 ?>
@@ -89,7 +115,7 @@
 	<td><?php print $TEXT['DATE_FORMAT']; ?>:</td>
 	<td>
 		<select name="date_format" style="width: 98%;">
-			<option value="">Please select...</option>
+			<option value=""><?php print $TEXT['PLEASE_SELECT']; ?>...</option>
 			<?php
 			// Insert date format list
 			$user_time = true;
@@ -118,7 +144,7 @@
 	<td><?php print $TEXT['TIME_FORMAT']; ?>:</td>
 	<td>
 		<select name="time_format" style="width: 98%;">
-			<option value="">Please select...</option>
+			<option value=""><?php print $TEXT['PLEASE_SELECT']; ?>...</option>
 			<?php
 			// Insert time format list
 			$user_time = true;
Index: branches/2.8.x/wb/templates/classic_theme/templates/preferences.htt
===================================================================
--- branches/2.8.x/wb/templates/classic_theme/templates/preferences.htt	(revision 1216)
+++ branches/2.8.x/wb/templates/classic_theme/templates/preferences.htt	(revision 1217)
@@ -28,7 +28,7 @@
 	<td>{TEXT_TIMEZONE}:</td>
 	<td>
 		<select name="timezone" style="width: 98%;">
-			<option value="-20">Please select...</option>
+			<option value="-20">{TEXT_PLEASE_SELECT}...</option>
 			<!-- BEGIN timezone_list_block -->
 				<option value="{VALUE}" {SELECTED}>{NAME}</option>
 			<!-- END timezone_list_block -->
@@ -39,7 +39,7 @@
 	<td>{TEXT_DATE_FORMAT}:</td>
 	<td>
 		<select name="date_format" style="width: 98%;">
-			<option value="">Please select...</option>
+			<option value="">{TEXT_PLEASE_SELECT}...</option>
 			<!-- BEGIN date_format_list_block -->
 				<option value="{VALUE}" {SELECTED}>{NAME}</option>
 			<!-- END date_format_list_block -->
@@ -50,7 +50,7 @@
 	<td>{TEXT_TIME_FORMAT}:</td>
 	<td>
 		<select name="time_format" style="width: 98%;">
-			<option value="">Please select...</option>
+			<option value="">{TEXT_PLEASE_SELECT}...</option>
 			<!-- BEGIN time_format_list_block -->
 				<option value="{VALUE}" {SELECTED}>{NAME}</option>
 			<!-- END time_format_list_block -->
Index: branches/2.8.x/wb/templates/wb_theme/templates/preferences.htt
===================================================================
--- branches/2.8.x/wb/templates/wb_theme/templates/preferences.htt	(revision 1216)
+++ branches/2.8.x/wb/templates/wb_theme/templates/preferences.htt	(revision 1217)
@@ -28,7 +28,7 @@
 	<td>{TEXT_TIMEZONE}:</td>
 	<td>
 		<select name="timezone" style="width: 98%;">
-			<option value="-20">Please select...</option>
+			<option value="-20">{TEXT_PLEASE_SELECT}...</option>
 			<!-- BEGIN timezone_list_block -->
 				<option value="{VALUE}" {SELECTED}>{NAME}</option>
 			<!-- END timezone_list_block -->
@@ -39,7 +39,7 @@
 	<td>{TEXT_DATE_FORMAT}:</td>
 	<td>
 		<select name="date_format" style="width: 98%;">
-			<option value="">Please select...</option>
+			<option value="">{TEXT_PLEASE_SELECT}...</option>
 			<!-- BEGIN date_format_list_block -->
 				<option value="{VALUE}" {SELECTED}>{NAME}</option>
 			<!-- END date_format_list_block -->
@@ -50,7 +50,7 @@
 	<td>{TEXT_TIME_FORMAT}:</td>
 	<td>
 		<select name="time_format" style="width: 98%;">
-			<option value="">Please select...</option>
+			<option value="">{TEXT_PLEASE_SELECT}...</option>
 			<!-- BEGIN time_format_list_block -->
 				<option value="{VALUE}" {SELECTED}>{NAME}</option>
 			<!-- END time_format_list_block -->
Index: branches/2.8.x/wb/templates/argos_theme/templates/preferences.htt
===================================================================
--- branches/2.8.x/wb/templates/argos_theme/templates/preferences.htt	(revision 1216)
+++ branches/2.8.x/wb/templates/argos_theme/templates/preferences.htt	(revision 1217)
@@ -29,7 +29,7 @@
 	<td>{TEXT_TIMEZONE}:</td>
 	<td>
 		<select name="timezone" style="width: 98%;">
-			<option value="-20">Please select...</option>
+			<option value="-20">{TEXT_PLEASE_SELECT}...</option>
 			<!-- BEGIN timezone_list_block -->
 				<option value="{VALUE}" {SELECTED}>{NAME}</option>
 			<!-- END timezone_list_block -->
@@ -40,7 +40,7 @@
 	<td>{TEXT_DATE_FORMAT}:</td>
 	<td>
 		<select name="date_format" style="width: 98%;">
-			<option value="">Please select...</option>
+			<option value="">{TEXT_PLEASE_SELECT}...</option>
 			<!-- BEGIN date_format_list_block -->
 				<option value="{VALUE}" {SELECTED}>{NAME}</option>
 			<!-- END date_format_list_block -->
@@ -51,7 +51,7 @@
 	<td>{TEXT_TIME_FORMAT}:</td>
 	<td>
 		<select name="time_format" style="width: 98%;">
-			<option value="">Please select...</option>
+			<option value="">{TEXT_PLEASE_SELECT}...</option>
 			<!-- BEGIN time_format_list_block -->
 				<option value="{VALUE}" {SELECTED}>{NAME}</option>
 			<!-- END time_format_list_block -->
Index: branches/2.8.x/wb/modules/show_menu2/languages/NL.php
===================================================================
--- branches/2.8.x/wb/modules/show_menu2/languages/NL.php	(revision 1216)
+++ branches/2.8.x/wb/modules/show_menu2/languages/NL.php	(revision 1217)
@@ -27,6 +27,6 @@
 */
 
 //Module Description
-$module_description = 'Deze module integreert een de geavanceerde menu functie <code> show_menu2 () </ code> in Website Baker. Gedetailleerde informatie is beschikbaar op <a href="http://code.jellycan.com/show_menu2/" target="_blank"> http://code.jellycan.com/show_menu2/ </a> of in de <a href = "{WB_URL}/modules/show_menu2/README_EN" target = "_blank"> README </a>.
+$module_description = 'Deze module integreert een de geavanceerde menu functie <code> show_menu2 () </ code> in Website Baker. Gedetailleerde informatie is beschikbaar op <a href="http://code.jellycan.com/show_menu2/" target="_blank"> http://code.jellycan.com/show_menu2/ </a> of in de <a href = "{WB_URL}/modules/show_menu2/README_EN" target = "_blank"> README </a>.';
 
 ?>
\ No newline at end of file
