Changeset - 9924f8d92ad6
[Not reviewed]
default
0 1 0
nathang - 15 years ago 2010-07-09 13:10:32
ngelderloos7@gmail.com
attempted to add schedule name input but was unsuccessful
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
input.php
Show inline comments
 
@@ -244,24 +244,30 @@
 
if(isset($_SESSION['saved']))
 
	foreach($_SESSION['saved'] as $schedule)
 
		echo "Saved Schedule<br />";
 
else
 
	echo "No saved schedules!<br />";
 
?>
 

	
 
	</p>
 

	
 
<form method="post" action="process.php" id="scheduleForm">
 

	
 
<table id="jsrows">
 
<!--	<tr>
 
		<td colspan="11">Name this schedule:
 
			<input type="text" class="required" name="postData[name]" />
 
			(For example: Fall <?php echo Date("Y"); ?>)
 
		</td>
 
	</tr>-->
 
<!-- Header -->
 
	<tr>
 
		<td>Class</td>
 
		<td class="center">Letter</td>
 
		<td class="center">Start Time</td>
 
		<td class="center">End Time</td>
 
		<td class="center">M</td>
 
		<td class="center">Tu</td>
 
		<td class="center">W</td>
 
		<td class="center">Th</td>
 
		<td class="center">F</td>
 
		<td class="center">Add</td>
 
@@ -284,24 +290,25 @@ else
 
<p>
 
	&nbsp;
 
	<br />
 
</p>
 

	
 
<h3>TODO:</h3>
 

	
 
<ul>
 
	<li>Form validation to ensure endtime is after starttime, at least one day is checked.</li>
 
	<li>Check the saved schedule function. After input my default schedule, the output was the same
 
		as that of the demo. However, when I went back and clicked the "Saved Schedule 0" link, there 
 
		were then 48 possible schedules. It seems that the classes were added twice for some reason.</li>
 
	<li>Attempted to add schedule name field but was unsure of where to send the variable.</li>
 
</ul>
 

	
 
</div>
 

	
 
<div id="footer">
 
	<h5>
 
		&copy; 
 
		<?php echo Date("Y"); ?> 
 
		<a href="http://protofusion.org/~nathang/">
 
			Nathan Gelderloos
 
		</a>
 
		<br />
0 comments (0 inline, 0 general)