Changeset:
        3262cd0eca6d
        
https://sourceforge.net/p/mrbs/hg-code/ci/3262cd0eca6dd91819564a931b1d68de4d64c51f
Author:
        Campbell Morrison <[email protected]>
Date:
        Sun Oct 02 15:00:24 2016 +0100
Log message:

Simplified

diffstat:

 web/Themes/default/header.inc |  5 +----
 web/css/mrbs-print.css.php    |  4 +++-
 2 files changed, 4 insertions(+), 5 deletions(-)

diffs (40 lines):

diff -r 07472a6fbf7b -r 3262cd0eca6d web/Themes/default/header.inc
--- a/web/Themes/default/header.inc     Sun Oct 02 14:49:55 2016 +0100
+++ b/web/Themes/default/header.inc     Sun Oct 02 15:00:24 2016 +0100
@@ -245,21 +245,18 @@
       //]]>
     </script> 
 
-    <div class="screenonly">
-
   <?php
   if (!empty($locale_warning))
   {
     echo "[Warning: ".$locale_warning."]";
   }
   
-  echo "<header id=\"banner\">\n";
+  echo "<header id=\"banner\" class=\"screenonly\">\n";
   print_header_site_info();
   print_nav($day, $month, $year, $room, $area, $search_str);
   echo "</header>\n";
 ?>
 
-</div>
 
 <div id="contents">
 <?php
diff -r 07472a6fbf7b -r 3262cd0eca6d web/css/mrbs-print.css.php
--- a/web/css/mrbs-print.css.php        Sun Oct 02 14:49:55 2016 +0100
+++ b/web/css/mrbs-print.css.php        Sun Oct 02 15:00:24 2016 +0100
@@ -13,7 +13,9 @@
 
 ?>
 
-div.screenonly { display: none; }
+div.screenonly, header#banner.screenonly {
+  display: none;
+}
 
 td.new a, a.new_booking img { display: none; }
 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to