diff --git a/templates/frontpage.php b/templates/frontpage.php index 02b94021373d8a28f6dea520e563ed5e6731a59c..74cde8b6aed5aa9e267ce3e9ea39267d1603c915 100644 --- a/templates/frontpage.php +++ b/templates/frontpage.php @@ -2,11 +2,13 @@ # $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-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'] = '<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'] .= '<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() { $("#tabdiv > ul").tabs();