Skip to content
Snippets Groups Projects
Commit dda5ba6e authored by Tim Steiner's avatar Tim Steiner
Browse files

Add jQuery library to the default layout.

parent 258318b4
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,8 @@ $staticBaseUrl .= $_SERVER['HTTP_HOST'] ...@@ -12,7 +12,8 @@ $staticBaseUrl .= $_SERVER['HTTP_HOST']
$this->headLink()->appendStylesheet($this->baseUrl() . '/css/index.css', 'all'); $this->headLink()->appendStylesheet($this->baseUrl() . '/css/index.css', 'all');
$this->headLink()->appendStylesheet($this->baseUrl() . '/css/print.css', 'print'); $this->headLink()->appendStylesheet($this->baseUrl() . '/css/print.css', 'print');
$this->headScript()->prependFile($this->baseUrl() . '/javascript/index.js'); $this->headScript()->prependFile($this->baseUrl() . '/javascript/index.js');
$this->headScript()->prependFile($this->baseUrl() . '/yui/yuiloader/yuiloader-min.js'); $this->headScript()->prependFile('http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js');
$this->headScript()->prependFile('http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js');
$this->headLink(array('rel' => 'home', $this->headLink(array('rel' => 'home',
'href' => $staticBaseUrl, 'href' => $staticBaseUrl,
...@@ -44,7 +45,7 @@ $template->maincontentarea = '<div id="creqMain">' . "\n" ...@@ -44,7 +45,7 @@ $template->maincontentarea = '<div id="creqMain">' . "\n"
. '</div>' . "\n"; . '</div>' . "\n";
$template->doctitle = '<title>' . $this->layout()->title . ': ' . $this->layout()->tagline . '</title>'; $template->doctitle = '<title>' . $this->layout()->title . ': ' . $this->layout()->tagline . '</title>';
$template->head .= "\n" . $this->headLink()->__toString() $template->head .= "\n" . $this->headLink()->__toString()
. "\n" . $this->headMeta()->__toString() . "\n" . $this->headMeta()->__toString()
. "\n" . $this->headScript()->__toString() . "\n" . $this->headScript()->__toString()
. "\n" . $this->headStyle()->__toString(); . "\n" . $this->headStyle()->__toString();
...@@ -81,7 +82,7 @@ EOF; ...@@ -81,7 +82,7 @@ EOF;
$template->contactinfo = <<<EOF $template->contactinfo = <<<EOF
<h3>Contacting Us</h3> <h3>Contacting Us</h3>
<p> <p>
<strong>Office of Undergraduate Studies</strong><br /> <strong>Office of Undergraduate Studies</strong><br />
201 Seaton Hall<br /> 201 Seaton Hall<br />
Lincoln NE 68583-0683<br /> Lincoln NE 68583-0683<br />
(402) 472-1185<br /> (402) 472-1185<br />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment