Custom login page not displayed correctly when not run under root url

skala
Laurent Opprecht 13 years ago
parent ed41cffb75
commit 665a4d5058
  1. 6
      custompages/index-unlogged.php
  2. 2
      custompages/style.css

@ -29,13 +29,14 @@ if (isset($_GET['loginFailed'])){
<title>Custompage - login</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--[if !IE 6]><!-->
<link rel="stylesheet" type="text/css" href="/custompages/style.css" />
<link rel="stylesheet" type="text/css" href="custompages/style.css" />
<!--<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="/custompages/style-ie6.css" />
<![endif]-->
<script type="text/javascript" src="/custompages/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="custompages/jquery-1.5.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
if (top.location != location)
@ -87,5 +88,6 @@ if (isset($_GET['loginFailed'])){
<img src="<?php echo api_get_path(WEB_PATH)?>/custompages/images/footer.png" />
</div> <!-- #footer -->
</div> <!-- #wrapper -->
</body>
</html>

@ -87,7 +87,7 @@ body {
*/
}
#backgroundimage {
#backgroundimage {
background-attachment:fixed;
width: 100%;
height: 100%;

Loading…
Cancel
Save