diff --git a/themes/elixir/default/includes/header.php b/themes/elixir/default/includes/header.php index c9a78268f16ac2f503f7abad5396c9f73b9b7cc9..5429f417d4ea7abb89a2788eef34b99950844ba0 100644 --- a/themes/elixir/default/includes/header.php +++ b/themes/elixir/default/includes/header.php @@ -48,9 +48,21 @@ header('X-Frame-Options: SAMEORIGIN'); <link href="<?php echo Module::getModuleUrl('elixir/res/css/cmservice.css'); ?>" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="/<?php echo $this->data['baseurlpath']; ?>resources/script.js"></script> <title><?php echo (array_key_exists('header', $this->data)) ? $this->data['header'] : 'SimpleSAMLphp'; ?></title> + <?php + if (!empty($this->data['htmlinject']['htmlContentHead'])) { + foreach ($this->data['htmlinject']['htmlContentHead'] as $c) { + echo $c; + } + } + ?> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet"> + <?php + if (array_key_exists('head', $this->data)) { + echo '<!-- head -->' . $this->data['head'] . '<!-- /head -->'; + } + ?> </head> <body> <div class="row">