Skip to content
Snippets Groups Projects
Commit d0823023 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Add jquery def for including jquery files

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1352 44740490-163a-0410-bde0-09ae8108e29a
parent 0ed87d60
No related branches found
No related tags found
No related merge requests found
...@@ -2,11 +2,13 @@ ...@@ -2,11 +2,13 @@
# $this->data['icon'] = 'compass_l.png'; # $this->data['icon'] = 'compass_l.png';
$this->data['head'] = '<script type="text/javascript" src="/' . $this->data['baseurlpath'] . 'resources/jquery.js"></script>'; // $this->data['head'] = '<script type="text/javascript" src="/' . $this->data['baseurlpath'] . 'resources/jquery.js"></script>';
$this->data['head'] .= '<script type="text/javascript" src="/' . $this->data['baseurlpath'] . 'resources/jquery-ui.js"></script>'; // $this->data['head'] .= '<script type="text/javascript" src="/' . $this->data['baseurlpath'] . 'resources/jquery-ui.js"></script>';
$this->data['head'] .= '<link rel="stylesheet" media="screen" type="text/css" href="/' . $this->data['baseurlpath'] . 'resources/uitheme/jquery-ui-themeroller.css" />'; // $this->data['head'] .= '<link rel="stylesheet" media="screen" type="text/css" href="/' . $this->data['baseurlpath'] . 'resources/uitheme/jquery-ui-themeroller.css" />';
$this->data['head'] .= '<script type="text/javascript"> $this->data['jquery'] = array('core' => TRUE, 'ui' => TRUE, 'css' => TRUE);
$this->data['head'] = '<script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
$("#tabdiv > ul").tabs(); $("#tabdiv > ul").tabs();
......
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