Skip to content

Commit

Permalink
Homepage|Fixed: ThickBox 3 scripts were being included outside <body>
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Feb 23, 2012
1 parent 5df4bfd commit 508b4ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions web/classes/frontcontroller.class.php
Expand Up @@ -415,10 +415,6 @@ public function outputHeader($mainHeading='')
<meta http-equiv="content-style-type" content="text/css" />
<link rel="stylesheet" href="/style.css" type="text/css" media="all" />
</head>
<script type="text/javascript">
// Thickbox 3 loading image
tb_pathToImage = "/external/thickbox/loading-thickbox.gif";
</script>
<?php
}

Expand Down
6 changes: 5 additions & 1 deletion web/plugins/disabled.screens/screens.php
Expand Up @@ -158,7 +158,11 @@ public function execute($args=NULL)

$FrontController->beginPage($this->title());

?><div id="screenshots"><?php
?><div id="screenshots">
<script type="text/javascript">
tb_pathToImage = "/external/thickbox/loading-thickbox.gif";
</script>
<?php

$this->generateHTML('Doom', 'doomCarousel');
$this->generateHTML('Heretic', 'hereticCarousel');
Expand Down

0 comments on commit 508b4ef

Please sign in to comment.