Revision: 2135
          http://mrbs.svn.sourceforge.net/mrbs/?rev=2135&view=rev
Author:   cimorrison
Date:     2011-10-20 15:31:16 +0000 (Thu, 20 Oct 2011)
Log Message:
-----------
Fixed HTML5 validation errors

Modified Paths:
--------------
    mrbs/branches/draggable_bookings/web/edit_area_room.php
    mrbs/branches/draggable_bookings/web/edit_entry.php
    mrbs/branches/draggable_bookings/web/edit_users.php
    mrbs/branches/draggable_bookings/web/mrbs.css.php
    mrbs/branches/draggable_bookings/web/pending.php
    mrbs/branches/draggable_bookings/web/report.php
    mrbs/branches/draggable_bookings/web/search.php

Modified: mrbs/branches/draggable_bookings/web/edit_area_room.php
===================================================================
--- mrbs/branches/draggable_bookings/web/edit_area_room.php     2011-10-20 
14:55:26 UTC (rev 2134)
+++ mrbs/branches/draggable_bookings/web/edit_area_room.php     2011-10-20 
15:31:16 UTC (rev 2135)
@@ -1007,7 +1007,7 @@
       echo "</div>\n";
       // Minimum book ahead
       echo "<div>\n";
-      echo "<label for=\"area_min_book_ahead\">" . get_vocab("min_book_ahead") 
. ":</label>\n";
+      echo "<label>" . get_vocab("min_book_ahead") . ":</label>\n";
       echo "<input class=\"checkbox\" type=\"checkbox\" 
id=\"area_min_ba_enabled\" name=\"area_min_ba_enabled\"" .
            (($min_book_ahead_enabled) ? " checked=\"checked\"" : "") .
            " onChange=\"check_book_ahead()\">\n";
@@ -1024,7 +1024,7 @@
       echo "</div>\n";
       // Maximum book ahead
       echo "<div>\n";
-      echo "<label for=\"area_max_book_ahead\">" . get_vocab("max_book_ahead") 
. ":</label>\n";
+      echo "<label>" . get_vocab("max_book_ahead") . ":</label>\n";
       echo "<input class=\"checkbox\" type=\"checkbox\" 
id=\"area_max_ba_enabled\" name=\"area_max_ba_enabled\"" .
            (($max_book_ahead_enabled) ? " checked=\"checked\"" : "") .
            " onChange=\"check_book_ahead()\">\n";

Modified: mrbs/branches/draggable_bookings/web/edit_entry.php
===================================================================
--- mrbs/branches/draggable_bookings/web/edit_entry.php 2011-10-20 14:55:26 UTC 
(rev 2134)
+++ mrbs/branches/draggable_bookings/web/edit_entry.php 2011-10-20 15:31:16 UTC 
(rev 2135)
@@ -820,7 +820,7 @@
 
 
     echo "<div id=\"div_start_date\">\n";
-    echo "<label for=\"start_datepicker\">" . get_vocab("start") . 
":</label>\n";
+    echo "<label>" . get_vocab("start") . ":</label>\n";
     $date = getdate($start_time);
     gendateselector("start_", $date['mday'], $date['mon'], $date['year']);
     // If we're using periods the booking model is slightly different:
@@ -858,7 +858,7 @@
     echo "</div>\n";
     
     echo "<div id=\"div_end_date\">\n";
-    echo "<label for=\"start_datepicker\">" . get_vocab("end") . ":</label>\n";
+    echo "<label>" . get_vocab("end") . ":</label>\n";
     $date = getdate($end_time);
     // Don't show the end date selector if multiday is not allowed
     echo "<div" . (($multiday_allowed) ? '' : " style=\"visibility: hidden\"") 
. ">\n";

Modified: mrbs/branches/draggable_bookings/web/edit_users.php
===================================================================
--- mrbs/branches/draggable_bookings/web/edit_users.php 2011-10-20 14:55:26 UTC 
(rev 2134)
+++ mrbs/branches/draggable_bookings/web/edit_users.php 2011-10-20 15:31:16 UTC 
(rev 2135)
@@ -771,7 +771,7 @@
     
     if (!in_array($fieldname, $ignore_columns))
     {
-      echo "<th><div>" . get_loc_field_name($tbl_users, $fieldname) . 
"</div></th>";
+      echo "<th>" . get_loc_field_name($tbl_users, $fieldname) . "</th>";
     }
   }
   

Modified: mrbs/branches/draggable_bookings/web/mrbs.css.php
===================================================================
--- mrbs/branches/draggable_bookings/web/mrbs.css.php   2011-10-20 14:55:26 UTC 
(rev 2134)
+++ mrbs/branches/draggable_bookings/web/mrbs.css.php   2011-10-20 15:31:16 UTC 
(rev 2135)
@@ -732,7 +732,6 @@
 table.sub th {background-color: #788D9C}
 .js .admin_table table.sub th:first-child {background-color: <?php echo 
$pending_control_color ?>;
     border-left-color: <?php echo $admin_table_border_color ?>}
-div.div_buttons {float: left; height: 2em}
 #pending_list form {margin: 2px 4px}
 
 

Modified: mrbs/branches/draggable_bookings/web/pending.php
===================================================================
--- mrbs/branches/draggable_bookings/web/pending.php    2011-10-20 14:55:26 UTC 
(rev 2134)
+++ mrbs/branches/draggable_bookings/web/pending.php    2011-10-20 15:31:16 UTC 
(rev 2135)
@@ -20,7 +20,6 @@
   $query_string = "id=$target_id";
   $query_string .= ($is_series) ? "&amp;series=1" : "";
   
-  echo "<div class=\"div_buttons\">\n";
   if (auth_book_admin($user, $row['room_id']))
   {
     // approve
@@ -87,7 +86,6 @@
       echo "&nbsp";
     }
   }
-  echo "</div>\n";
 }
 
 
@@ -122,9 +120,7 @@
   
   echo "<th>" . get_vocab("series") . "</th>\n";
   
-  echo "<th>\n";
-  display_buttons($row, TRUE);
-  echo "</th>\n";
+  echo "<th>&nbsp;</th>\n";
   echo "</tr>\n";
   echo "</thead>\n";
 }
@@ -263,7 +259,7 @@
       {
         // end the last series table if there was one
         $is_series = FALSE;
-        echo "</tbody></table></td></tr>\n";
+        echo "</tbody></table></div></td></tr>\n";
       }
     
       if (!empty($row['repeat_id']))

Modified: mrbs/branches/draggable_bookings/web/report.php
===================================================================
--- mrbs/branches/draggable_bookings/web/report.php     2011-10-20 14:55:26 UTC 
(rev 2134)
+++ mrbs/branches/draggable_bookings/web/report.php     2011-10-20 15:31:16 UTC 
(rev 2135)
@@ -1074,7 +1074,7 @@
       
         <div id="div_report_start">
           <?php
-          echo "<label for=\"from_datepicker\">" . get_vocab("report_start") . 
":</label>\n";
+          echo "<label>" . get_vocab("report_start") . ":</label>\n";
           genDateSelector("from_", $from_day, $from_month, $from_year);
           ?>
         
@@ -1082,7 +1082,7 @@
       
         <div id="div_report_end">
           <?php
-          echo "<label for=\"to_datepicker\">" . get_vocab("report_end") . 
":</label>\n";
+          echo "<label>" . get_vocab("report_end") . ":</label>\n";
           genDateSelector("to_", $to_day, $to_month, $to_year);
           ?>
         </div>

Modified: mrbs/branches/draggable_bookings/web/search.php
===================================================================
--- mrbs/branches/draggable_bookings/web/search.php     2011-10-20 14:55:26 UTC 
(rev 2134)
+++ mrbs/branches/draggable_bookings/web/search.php     2011-10-20 15:31:16 UTC 
(rev 2135)
@@ -160,7 +160,7 @@
         </div>   
         <div id="div_search_from">
           <?php
-          echo "<label for=\"from_datepicker\">" . get_vocab("from") . 
":</label>\n";
+          echo "<label>" . get_vocab("from") . ":</label>\n";
           genDateSelector ("from_", $day, $month, $year);
           ?>
         </div> 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to