Revision: 1107
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1107&view=rev
Author:   cimorrison
Date:     2009-05-13 10:14:13 +0000 (Wed, 13 May 2009)

Log Message:
-----------
Tidied up the code and moved the $clipped variable to the top of the file to 
make it more obvious.    No change to functionality.

Modified Paths:
--------------
    mrbs/trunk/web/mrbs.css.php

Modified: mrbs/trunk/web/mrbs.css.php
===================================================================
--- mrbs/trunk/web/mrbs.css.php 2009-05-12 08:51:40 UTC (rev 1106)
+++ mrbs/trunk/web/mrbs.css.php 2009-05-13 10:14:13 UTC (rev 1107)
@@ -9,6 +9,10 @@
 
 // ***** SETTINGS ***********************
 
+$clipped = TRUE;                // Set to TRUE if you want the cells in the 
day and week views to be clipped.   This
+                                // gives a table where all the rows have the 
same hight, regardless of content.
+                                // Alternatively set to FALSE if you want the 
cells to expand to fit the content.
+  
 $month_cell_scrolling = TRUE;   // set to TRUE if you want the cells in the 
month view to scroll if there are too
                                 // many bookings to display; set to FALSE if 
you want the table cell to expand to
                                 // accommodate the bookings.   (NOTE: (1) 
scrolling doesn't work in IE6 and so the table
@@ -343,8 +347,6 @@
 
 */
 
-$clipped = TRUE;                 // Set to TRUE for clipping, FALSE if not   
-
 if ($clipped)
 {
   // work out how many classes we'll need.   If we're transposing the table 
then we'll only need one, since all
@@ -363,16 +365,17 @@
        "max-height: " . $div_height . "px; " . 
        "min-height: " . $div_height . "px;}\n";
   }
+  echo "div.celldiv {overflow: hidden}\n";
 }
+?>
+div.celldiv {margin: 0; padding: 0}
+.row_labels div.celldiv {overflow: visible}  /* we want to see the content in 
the row label columns */
+<?php
 
 
 // Multiple bookings.  These rules control the styling of the cells and 
controls when there is more than
 // one booking in a time slot.
 ?>
-
-div.celldiv {overflow: hidden; margin: 0; padding: 0}
-.row_labels div.celldiv {overflow: visible}  /* we want to see the content in 
the row label columns */
-
 div.mini, div.maxi {position: relative}     /* establish a relative position 
for the absolute position to follow */
 div.multiple_control {
     display: none;       /* will be over-ridden by JavaScript if enabled */


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

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to