Skip to content
Snippets Groups Projects
Commit 01df7f39 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg
Browse files

Fix link to logo image, and removed reference to script in header and added...

Fix link to logo image, and removed reference to script in header and added support for onload parameter to header

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@903 44740490-163a-0410-bde0-09ae8108e29a
parent 747a047a
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
<hr />
<img src="resources/icons/ssplogo-fish-small.png" style="float: right" />
<img src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/ssplogo-fish-small.png" alt="Small fish logo" style="float: right" />
Copyright &copy; 2007-2008 <a href="http://rnd.feide.no/">Feide RnD</a>
<br style="clear: right" />
......
......@@ -12,7 +12,6 @@ if(array_key_exists('header', $this->data)) {
<link rel="stylesheet" type="text/css" href="/<?php echo $this->data['baseurlpath']; ?>resources/default.css" />
<link rel="icon" type="image/icon" href="/<?php echo $this->data['baseurlpath']; ?>resources/icons/favicon.ico" />
<script type="text/javascript" src="/<?php echo $this->data['baseurlpath']; ?>resources/script.js"></script>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
<?php
......@@ -26,6 +25,10 @@ $onLoad = '';
if(array_key_exists('autofocus', $this->data)) {
$onLoad .= 'SimpleSAML_focus(\'' . $this->data['autofocus'] . '\');';
}
if (isset($this->data['onLoad'])) {
$onLoad .= $this->data['onLoad'];
}
if($onLoad !== '') {
$onLoad = ' onload="' . $onLoad . '"';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment