Revision: 1356
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1356&view=rev
Author:   cimorrison
Date:     2010-06-08 15:39:10 +0000 (Tue, 08 Jun 2010)

Log Message:
-----------
Clarified the edit_entry form slightly by adding a thin horizontal line between 
the repeat section and the rest of the form.   Can be disabled in the CSS.    
See SF Feature Request ID 3011370.

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

Modified: mrbs/trunk/web/edit_entry.php
===================================================================
--- mrbs/trunk/web/edit_entry.php       2010-06-08 11:11:56 UTC (rev 1355)
+++ mrbs/trunk/web/edit_entry.php       2010-06-08 15:39:10 UTC (rev 1356)
@@ -776,6 +776,8 @@
       // If repeats are allowed and the edit_type is a series (which means
       // that either you're editing an existing series or else you're making
       // a new booking) then print the repeat inputs
+      echo "<fieldset id=\"rep_info\">\n";
+      echo "<legend></legend>\n";
       ?>
       <div id="rep_type">
         <label><?php echo get_vocab("rep_type")?>:</label>
@@ -822,6 +824,7 @@
         <input type="text" id="rep_num_weeks" name="rep_num_weeks" 
value="<?php echo $rep_num_weeks?>">
       </div>
       <?php
+      echo "</fieldset>\n";
     }
     elseif (isset($id))
     {
@@ -839,7 +842,9 @@
       echo "<legend></legend>\n";
       echo "<div>\n";
       echo "<label>" . get_vocab("rep_type") . ":</label>\n";
-      echo "<input type=\"text\" value =\"" . get_vocab($key) . "\" 
disabled=\"disabled\">\n";
+      echo "<select value =\"" . get_vocab($key) . "\" 
disabled=\"disabled\">\n";
+      echo "<option>" . get_vocab($key) . "</option>\n";
+      echo "</select>\n";
       echo "<input type=\"hidden\" name=\"rep_type\" value=\"" . REP_NONE . 
"\">\n";
       echo "</div>\n";
       if (isset($rep_type) && ($rep_type != REP_NONE))

Modified: mrbs/trunk/web/mrbs.css.php
===================================================================
--- mrbs/trunk/web/mrbs.css.php 2010-06-08 11:11:56 UTC (rev 1355)
+++ mrbs/trunk/web/mrbs.css.php 2010-06-08 15:39:10 UTC (rev 1356)
@@ -589,8 +589,7 @@
 .form_general input#all_day {width: auto; margin-left: 1.0em; margin-right: 
0.5em}
 .form_general input#private {width: auto; margin-left: 3.0em; margin-right: 
0.5em}
 .form_general #div_rooms select, .form_general #div_typematch select {float: 
left; margin-right: 2.0em}
-fieldset#rep_info {border-top: 1px solid <?php echo $report_h3_border_color 
?>; padding-top: 1em}
-.form_general #rep_info input {width: 13em}
+fieldset#rep_info {border-top: 1px solid <?php echo 
$site_faq_entry_border_color ?>; padding-top: 0.7em}
 .form_general input#rep_num_weeks {width: 2.0em}
 
 .edit_area_room span.error {display: block; width: 100%; margin-bottom: 0.5em}


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

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to