Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1780)
+++ branches/2.8.x/CHANGELOG	(revision 1781)
@@ -13,6 +13,9 @@
 
 
 
+10 Oct-2012 Build 1781 Dietmar Woellbrink (Luisehahne)
+! fixed form modul (Tks to Ruebenwurzel)
+! Send forgotten Theme CSS in Revision 1780
 10 Oct-2012 Build 1780 Dietmar Woellbrink (Luisehahne)
 ! change help mouseover to onclick in page settings only on help icon
 + add help to input filename
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1780)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1781)
@@ -51,5 +51,5 @@
 
 // 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.3');
-if(!defined('REVISION')) define('REVISION', '1780');
+if(!defined('REVISION')) define('REVISION', '1781');
 if(!defined('SP')) define('SP', '');
Index: branches/2.8.x/wb/templates/wb_theme/css/screen.css
===================================================================
--- branches/2.8.x/wb/templates/wb_theme/css/screen.css	(revision 1780)
+++ branches/2.8.x/wb/templates/wb_theme/css/screen.css	(revision 1781)
@@ -3,8 +3,8 @@
 html{ font-family :Verdana, "Trebuchet MS", Arial, Helvetica, sans-serif; font-size :100.1%; font-weight :normal; color :#333333; overflow :auto; overflow-y :scroll; }
 body{ margin :0 auto; padding :0px; background :#a8bccb; text-align :left; font-size :0.8em; }
 /*  */
-div.main { border :0px none #666666; margin :0px auto 1em auto; min-width :60em; max-width :90em; font-size :1.0em; padding : 15px; width : 78%; overflow :hidden; }
-.td { clear :both; font-size :1.0em; margin :0 auto; text-align :center; width : 100%; }
+div.main { border :0px none #666666; margin :0px auto 1em auto; min-width :60em; max-width :90em; font-size :1.0em; padding :10px 15px; width :83%; overflow :hidden; }
+.td { clear :both; font-size :1.0em; margin :0 auto; text-align :center; width :100%; }
 div.main .table { background :url(../images/bgtitle.png) #ffffff repeat-x; margin :0 auto; overflow :auto; width :100%; }
 .wrapper { position :relative; display :block; overflow :auto; width :inherit; }
 .content { padding :10px; text-align :left; overflow :hidden; }
@@ -27,7 +27,7 @@
    table td a { text-decoration :none; display :inline; }
    table td a:hover { color :#3366ff; text-decoration :underline; }
 /* header horizontal navigation */  
-div.hmenu { background :#486991 url(../images/menu.png) repeat-x center; line-height :32px; margin :0px auto; font-size :1em; float :left; width :100%; }
+div.hmenu { background :url(../images/menu.png) #486991 repeat-x center; line-height :32px; margin :0px auto; font-size :1em; float :left; width :100%; }
    div.hmenu ul { color :#ffffff; margin :0px auto; display :block; padding :0 0 0 10px; list-style-position :outside; }
 	   div.hmenu * a { color :#ffffff; text-decoration :none; }
    div.hmenu ul li { color :#ffffff; display :inline; padding :10px 0px; }
@@ -35,7 +35,7 @@
    div.hmenu ul li a.active,
    div.hmenu ul li a.current { color :#ffffff; background :transparent url(../images/menuo.png) repeat-x center; }
    div.hmenu ul li:hover,
-   div.hmenu ul li a:hover { color :#fff; background :transparent url(../images/menuo.png) repeat-x center; }
+   div.hmenu ul li a:hover { color :#ffffff; background :transparent url(../images/menuo.png) repeat-x center; }
 /* */
 table.footer { margin :1em auto; width :100%; }
 table.footer fieldset { background :#a8bccb; margin :0.5em auto; text-align :center; }
@@ -74,20 +74,20 @@
 div.mbox span, 
 div.mbox textarea, 
 div.mbox input { display :block; float :left; margin :3px auto; }
-div.mbox label { padding-right : 5px; }
+div.mbox label { padding-right :5px; }
 div.mbox br { clear :both; }
 div.mbox span { white-space :nowrap; }
 div.mbox [type="radio"],
-div.mbox [type="checkbox"] { width : 1.5em; }
+div.mbox [type="checkbox"] { width :1.5em; }
 /**/
 div.mbox label.radio { text-align :left; padding-right :20px; width :100px; }
 /* END of mbox - definition ************************************************* */
 /* ************************************************************************** */
 div.mbox input [type="checkbox"] { width :2.5em; }
-div.mbox.dev-info { background :#dddddd; font-size :0.9em; overflow :auto; height :auto; white-space :normal; margin :0 auto 3em; position :relative; }
+div.mbox.dev-info { background :#dddddd; font-size :0.9em; color :#9b0000; overflow :auto; height :auto; white-space :normal; margin :0 auto 3em; position :relative; }
 div.mbox.dev-info div span { margin-bottom :1px; }
 /* */
-.msg-box { background :#e5ffe6; border :0.2em #009900 solid; color :#336600; margin-bottom :1em; padding :0.63em; text-align : left; }
+.msg-box { background :#e5ffe6; border :0.2em #009900 solid; color :#336600; margin-bottom :1em; padding :0.63em; text-align :left; }
 .error-box { background :#ffeeee; border :0.2em #884444 solid; color :#440000; margin-bottom :1em; padding :0.63em; text-align :center; }
 .msg-box p,
 .error-box p { font-size :120%; }
@@ -100,15 +100,15 @@
 .hide, .none { display :none; height :0; }
 #hide1, #hide2, #hide3 { display :none; }
 .right{ text-align :right; vertical-align :middle; }
-.rBold{ text-align :right; font-weight :bold; vertical-align :middle;  }
-.rightTop{ text-align :right; vertical-align : top; }
+.rBold{ text-align :right; font-weight :bold; vertical-align :middle; }
+.rightTop{ text-align :right; vertical-align :top; }
 .bold{ font-weight :bold; }
 .grey { color :#999999; }
-.row_0 { background-color :#fff; }
-.row_1 { background-color :#eee; }
+.row_0 { background-color :#ffffff; }
+.row_1 { background-color :#eeeeee; }
 .rounded { border-radius :10px; -khtml-border-radius :10px; -webkit-border-radius :10px; -moz-border-radius :10px; }
 .shadow { box-shadow :3px 3px 10px rgba(0, 0, 0, 0.6); }
-.shadow1 { margin :40px; background-color :rgb(68,68,68); /* Needed for IEs */ -moz-box-shadow :5px 5px 5px rgba(68,68,68,0.6); -webkit-box-shadow :5px 5px 5px rgba(68,68,68,0.6); box-shadow :5px 5px 5px rgba(68,68,68,0.6); zoom :1; }
+.shadow1 { margin :40px; background-color :#444444; /* Needed for IEs */ -moz-box-shadow :5px 5px 5px rgba(68,68,68,0.6); -webkit-box-shadow :5px 5px 5px rgba(68,68,68,0.6); box-shadow :5px 5px 5px rgba(68,68,68,0.6); zoom :1; }
 .gradient1 { background-color :#ababab; background-image :-moz-linear-gradient(90deg, #ababab, #00001c 33px); background-image :-webkit-linear-gradient(90deg, #ababab, #00001c 33px); background-image :-o-linear-gradient(90deg, #ababab, #00001c 33px); background-image :-ms-linear-gradient(90deg, #ababab, #00001c 33px); background-image :linear-gradient(90deg, #ababab, #00001c 33px); }
 /* set div layers in dead tables */
 .info { padding :10px; margin-bottom :0.5em; background :#f8f8f8; color :#666666; font-size :91.7%; }
@@ -115,9 +115,9 @@
 .note { border :2px #448844 solid; padding :10px; margin :10px auto; background :#eeffee; color :#004400; }
 .important { border :2px #888844 solid; padding :10px; margin-bottom :1em; background :#ffffee; color :#444400; }
 .warning { border :2px #884444 solid; padding :10px; margin-bottom :1em; background :#ffeeee; color :#440000; }
-.section { background-color :#FDFDFD; border :1px solid #999999; font-size :0.9em; height :85px; margin :5px; padding :0; width :98%; }
-.graphic { border :4px solid #FDFDFD; height :50px; padding-left :3px; width :50px; }
-.graphic img { background-color :#FFFFFF; border :1px solid #D0D0D0; padding :4px; vertical-align :middle; width :50px; height :50px; }
+.section { background-color :#fdfdfd; border :1px solid #999999; font-size :0.9em; height :85px; margin :5px; padding :0; width :98%; }
+.graphic { border :4px solid #fdfdfd; height :50px; padding-left :3px; width :50px; }
+.graphic img { background-color :#ffffff; border :1px solid #d0d0d0; padding :4px; vertical-align :middle; width :50px; height :50px; }
 .description { padding :4px 0 0; text-align :left; }
 .title { text-align :left; padding :4px 5px 0px 3px; font-weight :bold; font-size :1.2em; margin-bottom :5px; }
    span.title { display :block; }
@@ -128,97 +128,32 @@
 div.settings_table { margin :0 auto; width :90%; }
 form.settings_table { border :1px none #eeee; font-family :verdana,arial,helvetica,sans-serif; margin :5px auto; padding :5px; }
    form.settings_table fieldset { border :1px none #eeeeee; display :block; line-height :1.0em; margin :1px auto; padding :3px 0px 3px 0px; }
-   form input[type="file"] { width :80%; border :1px solid black; background-color :#ccccff; }
+   form input[type="file"] { width :80%; border :1px solid #000000; background-color :#ccccff; }
    legend.settings_table ,
-   form.settings_table legend {
-   border :none;
-   color :#006699;
-   font-size :140%;
-   margin :5px;
-   padding :0;
-}
+   form.settings_table legend { border :none; color :#006699; font-size :140%; margin :5px; padding :0; }
    form.settings_table div.sub-row { background-color :transparent !important; background-color :#eeeeee; }
-   form.settings_table label { text-align :right; margin : 1px auto; }
-   form.settings_table label.setting_name {
-   clear :left;
-   color :#333333;
-   vertical-align :top;
-   display :block;
-   margin :3px auto;
-   min-height :1.6em;
-   float :left;
-   padding-right :5px;
-   width :30%;
-}
-   form.settings_table fieldset div.input {
-   padding :0;
-   margin :0 auto;
-   vertical-align :top;
-   overflow :hidden;
-   display :inline;
-   line-height :2em;
-   min-height :1em;
-   list-style-type :none;
-   width :60%;
-}
+   form.settings_table label { text-align :right; margin :1px auto; }
+   form.settings_table label.setting_name { clear :left; color :#333333; vertical-align :top; display :block; margin :3px auto; min-height :1.6em; float :left; padding-right :5px; width :30%; }
+   form.settings_table fieldset div.input { padding :0; margin :0 auto; vertical-align :top; overflow :hidden; display :inline; line-height :2em; min-height :1em; list-style-type :none; width :60%; }
    form.settings_table fieldset div.input input.radio { margin :0.8em auto; border :none; padding-left :6px; }
-   form.settings_table fieldset div.input label {
-   margin :6px auto;
-   padding-left :6px;
-   min-height :1em;
-   width :35%;
-   float :none;
-   display :inline;
-   vertical-align :top;
-}
+   form.settings_table fieldset div.input label { margin :6px auto; padding-left :6px; min-height :1em; width :35%; float :none; display :inline; vertical-align :top; }
    form.settings_table input[type="text"],
-   form.settings_table input[type="password"] {
-   border :1px solid #666666;
-   margin :0px auto;
-   padding-left :5px;
-   width : 59%;
-}
+   form.settings_table input[type="password"] { border :1px solid #666666; margin :0px auto; padding-left :5px; width :59%; }
    form.settings_table input.radio { border :1px none #666666; margin :0px auto; padding-left :0.5em; height :1em; }
-   form.settings_table input[type="button"].button {
-   border :1px solid #666666;
-   color :#000000;
-   text-align :left;
-   font-weight :bold;
-   background-color :#dddddd;
-   margin :2px auto;
-   padding :2px 0px 2px 6px;
-   width :60%;
-}
-   form.settings_table textarea {
-   border :1px solid #666666;
-   margin :3px auto;
-   padding-left :0.5em;
-   min-height :1em;
-   width :60%;
-}
-   form.settings_table select {
-   border :1px solid #666666;
-   margin :3px auto;
-   padding-left :0.5em;
-   min-height :1em;
-   width :60%;
-}
+   form.settings_table input[type="button"].button { border :1px solid #666666; color :#000000; text-align :left; font-weight :bold; background-color :#dddddd; margin :2px auto; padding :2px 0px 2px 6px; width :60%; }
+   form.settings_table textarea { border :1px solid #666666; margin :3px auto; padding-left :0.5em; min-height :1em; width :60%; }
+   form.settings_table select { border :1px solid #666666; margin :3px auto; padding-left :0.5em; min-height :1em; width :60%; }
 /* */
 div.content_box form { }
-div.sub-row { background-color :#eeeeee; margin : 1px auto; overflow :hidden; padding :0; }
+div.sub-row { background-color :#eeeeee; margin :1px auto; overflow :hidden; padding :0; }
 div.col_content { margin-right :0.5em; padding :2px 0; }
 .content_box { position :relative; margin :0px auto; padding :0; }
    .content_box form { background :transparent; height :auto; }
-   .content_box li {
-   float :left;
-   padding :0 10px;
-   list-style-type :none;
-   display :block;
-}
+   .content_box li { float :left; padding :0 10px; list-style-type :none; display :block; }
    .content_box ul { padding :0 0 0 15px; margin :0 auto; width :100%; }
    .content_box h5.title { color :#339bff; font-weight :bold; font-size :1.2em; margin :0 auto; text-align :left; }
-   .content_box h5.title a:link  { color :#0067ca; }
-   .content_box h5.title a:hover  { color : #0099ff; }
+   .content_box h5.title a:link { color :#0067ca; }
+   .content_box h5.title a:hover { color :#0099ff; }
    .content_box h5.noscript { font-size :1.2em; padding :5px 0px 5px 0px; }
    .content_box div.noscript { height :auto; width :100%; padding :5px; background :none no-repeat left; }
 /*  */
@@ -225,12 +160,12 @@
    button { padding :2px; }
    button.link { padding :0px; background-color :transparent; display :inline; vertical-align :middle; border :0px none; cursor :pointer; }
    button span.title { font-size :1.3em; display :inline; font-weight :100; color :#007ac8; letter-spacing :1px; }
-.curved { border : 1px solid #666666; }
+.curved { border :1px solid #666666; }
 /*  */
-textarea { resize:both; } /* none|horizontal|vertical|both */
-textarea.vert { resize:vertical; }
-textarea.noResize { resize:none; }
-h1, h2, h3, h4, h5, h6 { color :#006699; display :block; font-weight : normal; margin :0.5em auto; padding-bottom :5px; }
+textarea { /* none|horizontal|vertical|both */ resize :both; }
+textarea.vert { resize :vertical; }
+textarea.noResize { resize :none; }
+h1, h2, h3, h4, h5, h6 { color :#006699; display :block; font-weight :normal; margin :0.5em auto; padding-bottom :5px; }
 h6 { font-size :100%; }
 #file_mode, 
 #dir_mode { width :290px; height :auto; margin-right :0.5em; font-size :1em; }
@@ -263,7 +198,7 @@
 .header_list_page_id { padding-right :15px; text-align :right; width :30px; }
 .header_list_page_title, 
 .list_page_title { width :350px; }
-.list_page_title, .list_menu_title, .header_list_menu_title, .header_list_type { text-align :left; vertical-align : middle; }
+.list_page_title, .list_menu_title, .header_list_menu_title, .header_list_type { text-align :left; vertical-align :middle; }
 .header_list_pubdate_start, 
 .header_list_pubdate_end, 
 .list_pubdate_start, 
@@ -270,7 +205,7 @@
 .list_pubdate_end { text-align :left; white-space :nowrap; width :185px; }
 .header_list_sections_actions { text-align :left; width :30px; }
 .header_list_type { font-size :1em; padding :4px 0; text-align :left; }
-.jsadmin_drag img { cursor :pointer; margin-top : 0px; padding : 0px 0; vertical-align : baseline; }
+.jsadmin_drag img { cursor :pointer; margin-top :0px; padding :0px 0; vertical-align :baseline; }
 .list_actions { height :20px; padding :0 1px; text-align :left; width :20px; }
 .list_page_code, 
 .list_page_language { width :240px; }
@@ -289,7 +224,7 @@
 .icon_col td img { border-style :none; display :inline; float :left; padding-right :7px; }
 .pages_list table { background-color :#dcdcdc; font-size :1.3em; margin :0 auto; table-layout :fixed; width :100%; }
 .pages_list ul { font-weight :normal; margin :0; padding :0px; }
-.pages_list ul li { list-style-type :none; margin :1px 0; padding : 0; vertical-align :baseline; }
+.pages_list ul li { list-style-type :none; margin :1px 0; padding :0; vertical-align :baseline; }
 .sectionrow { font-size :1.1em; height :30px; table-layout :fixed; }
 .sectionrow a:link { color :#003366; font-weight :bold; text-decoration :none; }
 .sectionrow a:hover { color :#6699ff; }
@@ -318,19 +253,21 @@
 	div.page-settings-righttoprow label { width :110px; vertical-align :top; }
 div.page-settings-centercol { float :left; padding :10px 20px 10px 20px; border-right :groove 2px #a8bccb; }
 div.page-settings-rightcol { float :left; padding :10px 20px 10px 10px; border :none; }
-h1, h2, h3, h4, h5, h6 { color :#003366; display :block; font-weight : normal; margin :0.5em auto; padding-bottom :5px; }
+h1, h2, h3, h4, h5, h6 { color :#003366; display :block; font-weight :normal; margin :0.5em auto; padding-bottom :5px; }
 h6 { font-size :100%; }
 /* end depending styles for /admin/pages_settings */
-div.page-settings-leftcol label { background-repeat :no-repeat; background-position :right; text-align :right; padding-right :17px; font-weight :bold; width :156px; } 
+div.page-settings-leftcol label { background-repeat :no-repeat; background-position :right; text-align :right; padding-right :17px; font-weight :bold; width :156px; }
 div.page-settings-leftcol label a:link { text-decoration :none; color :#003366; }
-div.page-settings-leftcol label a:hover { color : #006699; text-decoration : underline; }
-div.page-settings-leftcol textarea { resize :vertical; } 
+div.page-settings-leftcol label a:hover { color :#006699; text-decoration :underline; }
+div.page-settings-leftcol textarea { resize :vertical; }
 #overDiv { max-width :450px; background-position :center; background-attachment :fixed; text-align :left; padding :1px; font-size :120%; }
+div.page-settings span.overlib { width :20px; margin-left :-20px; }
+
 /* */
-div.page_group { height: 180px;max-height: 260px; margin: 0; padding: 0; overflow: auto; }
-div.page_group div { overflow: hidden; }
+div.page_group { height :180px; max-height :260px; margin :0; padding :0; overflow :auto; }
+div.page_group div { overflow :hidden; }
 div.page-settings p.page_user,
-div.page-settings p.page_group {  } 
+div.page-settings p.page_group { }
 /* */
 .header_title, .setting_value input, .setting_value select, .setting_value textarea, .value_input input, .value_input text, .value_input select, .form_submit, .input_full { width :80%; }
 div.mbox span { white-space :nowrap; }
@@ -341,7 +278,7 @@
 .curved { border :1px solid #666666; }
 .c33, 
 div.col_width33 { width :33.333%; }
-.c50, div.col_width50 { width : 46%; }
+.c50, div.col_width50 { width :46%; }
 .c60, div.col_width60 { width :60%; }
 .h65 { min-height :65px; overflow :auto; }
 .h80 { height :80px; line-height :1.3em; }
@@ -357,12 +294,7 @@
    div.admintools span.title { font-size :1.1em; }
 /* */
 .access h2,.access h3,.access h4,.access h6 { font-weight :bold; }
-.account { 
-   width : 100%;
-   margin : 0 auto;
- }
-div.account form.settings_table { 
-   width : 100%;
- }
-div.account form.settings_table table td { width : 40%; } 
-div.account form.settings_table table td.value_input { width : 80%; } 
\ No newline at end of file
+.account { width :100%; margin :0 auto; }
+div.account form.settings_table { width :100%; }
+div.account form.settings_table table td { width :40%; }
+div.account form.settings_table table td.value_input { width :80%; }
Index: branches/2.8.x/wb/modules/form/view.php
===================================================================
--- branches/2.8.x/wb/modules/form/view.php	(revision 1780)
+++ branches/2.8.x/wb/modules/form/view.php	(revision 1781)
@@ -161,7 +161,8 @@
 	if($query_fields = $database->query($sql)) {
 		if($query_fields->numRows() > 0) {
 ?>
-			<form <?php echo ( ( (strlen($form_name) > 0) AND (false == $use_xhtml_strict) ) ? "name=\"".$form_name."\"" : ""); ?> action="<?php echo htmlspecialchars(strip_tags($_SERVER['SCRIPT_NAME'])).'';?>" method="post">
+			<form <?php echo ( ( (strlen($form_name) > 0) AND (false == $use_xhtml_strict) ) ? "id=\"".$form_name.$section_id."\"" : ""); ?> action="<?php echo htmlspecialchars(strip_tags($_SERVER['SCRIPT_NAME'])).'';?>" method="post">
+            <fieldset>
 				<input type="hidden" name="submission_id" value="<?php echo $_SESSION['form_submission_id']; ?>" />
 				<?php
 				$iFormRequestId = isset($_GET['fri']) ? intval($_GET['fri']) : 0;
@@ -268,6 +269,7 @@
 		echo $out;
 // Add form end code
 ?>
+        </fieldset>
 </form>
 <?php
 		}
