Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1328)
+++ branches/2.8.x/CHANGELOG	(revision 1329)
@@ -12,6 +12,8 @@
 
 ------------------------------------- 2.8.1 -------------------------------------
 18-Apr-2010 Dietmar Woellbrink (Luisehahne)
+!	Validation fix in preference
+18-Apr-2010 Dietmar Woellbrink (Luisehahne)
 #	fixed directory_list
 17-Apr-2010 Dietmar Woellbrink (Luisehahne)
 !	litte fix to show GMT value in default view
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1328)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1329)
@@ -52,6 +52,6 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.x');
-if(!defined('REVISION')) define('REVISION', '1328');
+if(!defined('REVISION')) define('REVISION', '1329');
 
 ?>
\ No newline at end of file
Index: branches/2.8.x/wb/framework/functions.php
===================================================================
--- branches/2.8.x/wb/framework/functions.php	(revision 1328)
+++ branches/2.8.x/wb/framework/functions.php	(revision 1329)
@@ -57,8 +57,22 @@
 	}
 }
 
-// Function to open a directory and add to a dir list
-function directory_list($directory, $show_hidden = false)
+/*
+ * returns a recursive list of all subdirectories from a given directory
+ * @access  public
+ * @param   string  $directory: from this dir the recursion will start
+ * @param   bool    $show_hidden:  if set to TRUE also hidden dirs (.dir) will be shown
+ * @return  array
+ * example:
+ *  /srv/www/httpdocs/wb/media/a/b/c/
+ *  /srv/www/httpdocs/wb/media/a/b/d/
+ * directory_list('/srv/www/httpdocs/wb/media/') will return:
+ *  /a
+ *  /a/b
+ *  /a/b/c
+ *  /a/b/d
+ */
+ function directory_list($directory, $show_hidden = false)
 {
 	$result_list = array();
 	if (is_dir($directory))
Index: branches/2.8.x/wb/templates/wb_theme/templates/preferences.htt
===================================================================
--- branches/2.8.x/wb/templates/wb_theme/templates/preferences.htt	(revision 1328)
+++ branches/2.8.x/wb/templates/wb_theme/templates/preferences.htt	(revision 1329)
@@ -9,7 +9,7 @@
 					<label>{TEXT_USERNAME}:</label><br />
 				</div>
 				<div class="c60l">
-					<div id="username" />{USERNAME}</div><br />
+					<div id="username">{USERNAME}</div><br />
 				</div>
 			</div>
 			<div class="subcolumns">
Index: branches/2.8.x/wb/templates/argos_theme/templates/preferences.htt
===================================================================
--- branches/2.8.x/wb/templates/argos_theme/templates/preferences.htt	(revision 1328)
+++ branches/2.8.x/wb/templates/argos_theme/templates/preferences.htt	(revision 1329)
@@ -9,7 +9,7 @@
 					<label>{TEXT_USERNAME}:</label><br />
 				</div>
 				<div class="c60l">
-					<div id="username" />{USERNAME}</div><br />
+					<div id="username">{USERNAME}</div><br />
 				</div>
 			</div>
 			<div class="subcolumns">
