|
1 | 1 | <?php |
2 | 2 |
|
3 | 3 | $this->data['header'] = $this->t('selectidp'); |
4 | | -$this->data['jquery'] = ['core' => true, 'ui' => false, 'css' => false]; |
5 | 4 |
|
6 | 5 | $this->data['head'] = '<link rel="stylesheet" media="screen" type="text/css" href="'. |
7 | 6 | SimpleSAML\Module::getModuleURL('discopower/assets/css/uitheme1.12.1/jquery-ui.min.css').'" />'; |
8 | | -$this->data['head'] = '<link rel="stylesheet" media="screen" type="text/css" href="'. |
| 7 | +$this->data['head'] .= '<link rel="stylesheet" media="screen" type="text/css" href="'. |
9 | 8 | SimpleSAML\Module::getModuleURL('discopower/assets/css/disco.css').'" />'; |
10 | 9 |
|
11 | | -$this->data['head'] .= '<script type="text/javascript" src="'. |
12 | | - SimpleSAML\Module::getModuleURL('discopower/assets/js/jquery.livesearch.js').'"></script>'."\n"; |
13 | | -$this->data['head'] .= '<script type="text/javascript" src="'. |
14 | | - SimpleSAML\Module::getModuleURL('discopower/assets/js/'.$this->data['score'].'.js').'"></script>'."\n"; |
15 | | -$this->data['head'] .= '<script type="text/javascript" src="'. |
16 | | - SimpleSAML\Module::getModuleURL('discopower/assets/js/tablist.js').'"></script>'."\n"; |
17 | | -$this->data['head'] .= '<script type="text/javascript" src="'. |
18 | | - SimpleSAML\Module::getModuleURL('discopower/assets/js/jquery-ui-1.12.1.min.js').'"></script>'."\n"; |
19 | | - |
20 | 10 | if (!empty($this->data['faventry'])) { |
21 | 11 | $this->data['autofocus'] = 'favouritesubmit'; |
22 | 12 | } |
23 | 13 |
|
24 | 14 | $this->includeAtTemplateBase('includes/header.php'); |
25 | 15 |
|
| 16 | +$this->data['htmlinject']['htmlContentPost'][] = '<script type="text/javascript" src="'. |
| 17 | + SimpleSAML\Module::getModuleURL('discopower/assets/js/jquery-1.12.4.min.js').'"></script>'."\n"; |
| 18 | +$this->data['htmlinject']['htmlContentPost'][] = '<script type="text/javascript" src="'. |
| 19 | + SimpleSAML\Module::getModuleURL('discopower/assets/js/jquery-ui-1.12.1.min.js').'"></script>'."\n"; |
| 20 | +$this->data['htmlinject']['htmlContentPost'][] = '<script type="text/javascript" src="'. |
| 21 | + SimpleSAML\Module::getModuleURL('discopower/assets/js/jquery.livesearch.js').'"></script>'."\n"; |
| 22 | +$this->data['htmlinject']['htmlContentPost'][] = '<script type="text/javascript" src="'. |
| 23 | + SimpleSAML\Module::getModuleURL('discopower/assets/js/'.$this->data['score'].'.js').'"></script>'."\n"; |
| 24 | +$this->data['htmlinject']['htmlContentPost'][] = '<script type="text/javascript" src="'. |
| 25 | + SimpleSAML\Module::getModuleURL('discopower/assets/js/tablist.js').'"></script>'."\n"; |
| 26 | + |
| 27 | + |
26 | 28 | function showEntry($t, $metadata, $favourite = false) |
27 | 29 | { |
28 | 30 | $basequerystring = '?'. |
|
0 commit comments