data['htmlinject'] = [ 'htmlContentPre' => [], 'htmlContentPost' => [], 'htmlContentHead' => [], ]; $jquery = []; if (array_key_exists('jquery', $this->data)) { $jquery = $this->data['jquery']; } if (array_key_exists('pageid', $this->data)) { $hookinfo = [ 'pre' => &$this->data['htmlinject']['htmlContentPre'], 'post' => &$this->data['htmlinject']['htmlContentPost'], 'head' => &$this->data['htmlinject']['htmlContentHead'], 'jquery' => &$jquery, 'page' => $this->data['pageid'] ]; SimpleSAML\Module::callHooks('htmlinject', $hookinfo); } // - o - o - o - o - o - o - o - o - o - o - o - o - /** * Do not allow to frame SimpleSAMLphp pages from another location. * This prevents clickjacking attacks in modern browsers. * * If you don't want any framing at all you can even change this to * 'DENY', or comment it out if you actually want to allow foreign * sites to put SimpleSAMLphp in a frame. The latter is however * probably not a good security practice. */ header('X-Frame-Options: SAMEORIGIN'); ?> M4_LAB: User Login data['baseurlpath'].'resources/jquery-1.8.js">'."\n"; } if (isset($jquery['ui']) && $jquery['ui']) { echo ''."\n"; } if (isset($jquery['css']) && $jquery['css']) { echo ''."\n"; } } } if (isset($this->data['clipboard.js'])) { echo ''."\n"; } if (!empty($this->data['htmlinject']['htmlContentHead'])) { foreach ($this->data['htmlinject']['htmlContentHead'] as $c) { echo $c; } } if ($this->isLanguageRTL()) { ?> data)) { echo ''.$this->data['head'].''; } ?> data)) { $onLoad .= ' onload="SimpleSAML_focus(\''.$this->data['autofocus'].'\');"'; } ?> >
data['htmlinject']['htmlContentPre'])) { foreach ($this->data['htmlinject']['htmlContentPre'] as $c) { echo $c; } } $config = \SimpleSAML\Configuration::getInstance(); if(! $config->getBoolean('production', true)) { echo '
' . $this->t('{preprodwarning:warning:warning}'). '
'; }