Changeset - 58d65c387776
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 15 years ago 2011-03-30 18:26:35
ohnobinki@ohnopublishing.net
Add information about how the user is responsible for checking the outputs of slate_permutate. Fixes bug 104.
1 file changed with 16 insertions and 2 deletions:
0 comments (0 inline, 0 general)
inc/class.schedule.php
Show inline comments
 
@@ -407,26 +407,40 @@ class Schedule
 
		      $min_time -= 30;
 
		      $time[] = $min_time;
 
		      $sort_time = TRUE;
 
		    }
 
		}
 
	  }
 
	/* ensure that early times are actually first ;-) */
 
	if ($sort_time)
 
	  sort($time);
 

	
 
        echo '    <div id="regDialog" title="Registration Codes">' . PHP_EOL
 
	  . '      <div id="regDialog-content"></div>' . PHP_EOL
 
	  . '      <p id="regDialog-disclaimer" class="graytext"><em>Note: The registration information above corresponds to the sections displayed on the currently selected tab.</em></p>'
 
	  . '    </div>';
 
	  . '      <p class="regDialog-disclaimer graytext">' . PHP_EOL
 
	  . '        <em>' . PHP_EOL
 
	  . '          Note: The registration information above corresponds to the sections' . PHP_EOL
 
	  . '          displayed on the currently selected tab.' . PHP_EOL
 
	  . '        </em>' . PHP_EOL
 
	  . '      </p>' . PHP_EOL
 
	  . '      <p class="regDialog-disclaimer graytext">' . PHP_EOL
 
	  . '        <em>' . PHP_EOL
 
	  . '          Disclaimer: You are responsible for' . PHP_EOL
 
	  . '          double-checking the information you get from and input into slate_permutate' . PHP_EOL
 
	  . '          when registering for classes. There is no guarantee that the harvested' . PHP_EOL
 
	  . '          information is correct or that slate_permutate will handle' . PHP_EOL
 
	  . '          the information you enter correctly.' . PHP_EOL
 
	  . '        </em>' . PHP_EOL
 
	  . '      </p>' . PHP_EOL
 
	  . '    </div>' . PHP_EOL;
 
	echo '<div id="tabs">' . "\n" .
 
               '<div id="show-box" class="show-buttons">
 
                  <form action="#"><p class="nospace">
 
                    <label><strong>Display:</strong></label>
 
                    <input id="show-course-title" name="show-course-title" type="checkbox" /><label for="show-course-title">Course Title</label>
 
                    <input id="show-prof" name="show-prof" type="checkbox" checked="checked" /><label for="show-prof">Professor</label>
 
                    <input id="show-location" name="show-location" type="checkbox" /><label for="show-location">Room</label>
 
                    <input id="show-synonym" name="show-synonym" type="checkbox" /><label for="show-synonym">Synonym</label>
 
                    <span id="regCodes"><label><a href="#"><strong>Register for Classes</strong></a></label></span></p>
 
                  </form>';
 

	
 
          echo '</div> <!-- id="show-box" -->'
0 comments (0 inline, 0 general)