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