Changeset - 96d8403d290f
[Not reviewed]
default
0 2 0
nathang - 15 years ago 2010-10-25 18:19:49
ngelderloos7@gmail.com
Changed default schedule name and only display one empty class when creating a schedule.
2 files changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
input.php
Show inline comments
 
@@ -76,25 +76,25 @@ if (!empty($_REQUEST['selectschool'])
 
  }
 

	
 
$inputPage->showSavedScheds($_SESSION);
 
?>
 
<p>
 
  Welcome to SlatePermutate<?php $inputPage->addressStudent(', ', '',
 
  FALSE); ?>! To get started, enter in some of your
 
  class IDs, and click the autosuggestion to add available sections for each class.
 
</p>
 
<form method="post" action="process.php" id="scheduleForm">
 
<br />
 
<label>Schedule Name</label><br />
 
<input id="scheduleName" style="margin-bottom: 1em;" class="defText required" type="text" size="25" title="(e.g., Spring <?php echo Date('Y'); ?>)" name="postData[name]"
 
<input id="scheduleName" style="margin-bottom: 1em;" class="defText required" type="text" size="25" title="Spring 2011" name="postData[name]"
 
<?php if ($sch) echo 'value="' . htmlentities($sch->getName(), ENT_QUOTES) . '"'; /*"*/ ?>
 
/>
 

	
 
<table id="container">
 
  <tr><td>
 
    <table id="jsrows">
 
	<!-- Header -->
 
	<tr>
 
		<td>Class ID</td>
 
		<td class="center" id="letterNumber">Section</td>
 
		<td class="center">Prof</td>
 
		<td class="center">Start Time</td>
scripts/scheduleInput.js
Show inline comments
 
@@ -322,15 +322,13 @@ jQuery(document).ready(function() {
 
	    }
 
	});
 
	jQuery(".defText").blur();
 

	
 
	//--------------------------------------------------
 
	// Show/Hide advanced items
 
	//--------------------------------------------------
 
	jQuery('.advanced').hide();    
 
	jQuery('#showadvanced').click( function() {
 
		jQuery('#showadvanced').hide();
 
		jQuery('.advanced').slideToggle();
 
	});
 

	
 
        add_class(); 
 
});
0 comments (0 inline, 0 general)