Changeset - 73f58d77e758
[Not reviewed]
default
0 2 0
Nathan Brink (binki) - 15 years ago 2010-09-30 21:44:39
ohnobinki@ohnopublishing.net
Add jQueryUI back to input.php and fix the glider on schedulecreator.php by using id="my-glider" instead of class="my-glider".
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
class.schedule.php
Show inline comments
 
@@ -265,13 +265,13 @@ class Schedule
 
			"\n\n<div id=\"header\">\n<h1><em>SlatePermutate</em> - Scheduler</h1><h3>Schedule name: " . $this->getName() . "</h3>\n</div><div id=\"content\">".
 

	
 
			*/
 
		$footcloser = '';
 

	
 
                if(isset($_REQUEST['print']) && $_REQUEST['print'] != ''){
 
	                $headcode = array('jQuery', 'outputStyle', 'outputPrintStyle');
 
			$headcode = array('jQuery', 'outputStyle', 'outputPrintStyle');
 
		}
 
		else {
 
			$footcloser .="<script type=\"text/javascript\" charset=\"utf-8\">". 
 
				"\n\tvar my_glider = new Glider('my-glider', {duration:0});".
 
				"\n</script>";
 
			$headcode = array('outputStyle', 'gliderHeadcode');
 
@@ -310,13 +310,13 @@ class Schedule
 

	
 
		echo "<p>There were a total of " . $this->possiblePermutations . " possible permutations. Only " . $this->nPermutations . " permutations had no class conflicts.</p>";
 
		
 

	
 
		if($this->nPermutations > 0)
 
		{
 
			$table .= "<div class=\"my-glider\">\n"
 
			$table .= "<div id=\"my-glider\">\n"
 
			  . "  <div class=\"controls\">\n";
 
			
 
			for($nn = 1; $nn <= $this->nPermutations; $nn++)
 
			{
 
			$table .= "<a href=\"#section" . $nn . "\">&nbsp;" . $nn . "&nbsp;</a>";
 
			}
input.php
Show inline comments
 
@@ -3,13 +3,13 @@
 
include_once 'errors.php';
 
include_once 'class.schedule.php';
 
include_once 'class.class.php';
 
include_once 'class.section.php';
 
include_once 'inc/class.page.php';
 

	
 
$scripts = array('jQuery','jValidate','schedInput');
 
$scripts = array('jQuery', 'jQueryUI', 'jValidate','schedInput');
 
$inputPage = new page('Scheduler', $scripts, FALSE);
 

	
 
$sch = FALSE;
 
if (isset($_REQUEST['savedkey']) && isset($_SESSION['saved']))
 
  {
 
    $savedkey = (int)$_REQUEST['savedkey'];
0 comments (0 inline, 0 general)