bzr branch
http://gegoxaren.bato24.eu/bzr/lenasys/0.1
1
by Henrik G.
First seed of Lenasys ... Needs to be Organized Further |
1 |
<html>
|
2 |
<head> |
|
3 |
<meta charset="utf-8" /> |
|
4 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
9.5.1
by galaxyAbstractor
Moved shared js, css and php, updated all paths in DuggaSys. |
5 |
<link href="../../css/base.css" rel="stylesheet" type="text/css" /> |
6 |
<link href="../../css/app.css" rel="stylesheet" type="text/css" /> |
|
7 |
<script type="text/javascript" src="../../js/jquery-1.8.0.min.js"></script> |
|
1
by Henrik G.
First seed of Lenasys ... Needs to be Organized Further |
8 |
<title><?php $pagetitle ?></title> |
9 |
<script type="text/javascript"> |
|
10 |
$(document).ready(function() { |
|
11 |
/* $('form').find(':input[type=submit]').focus(function() { |
|
12 |
target = this; |
|
13 |
alert("1:"+target);
|
|
14 |
});*/
|
|
15 |
$('form').submit(function() { |
|
16 |
//alert("2:"+target);
|
|
17 |
//alert("form submitted "+$(document).scrollTop()+" "+$(this).find("#scrolly").val()); |
|
18 |
$(this).find("#scrolly").val($(document).scrollTop());
|
|
19 |
//var val = $("input[type=submit][clicked=true]").val() |
|
20 |
});
|
|
4.10.1
by Daniel Johansson
Uppdaterat DuggaSys till att följa kodstandard utseendemässigt. Namnkonventioner kvar. |
21 |
$('.confirm').click(function() { |
1
by Henrik G.
First seed of Lenasys ... Needs to be Organized Further |
22 |
var answer = confirm('Are you sure?'); |
23 |
return answer // answer is a boolean |
|
24 |
}); |
|
25 |
<?php |
|
4.10.1
by Daniel Johansson
Uppdaterat DuggaSys till att följa kodstandard utseendemässigt. Namnkonventioner kvar. |
26 |
if(isset($_POST['scrolly'])) { |
1
by Henrik G.
First seed of Lenasys ... Needs to be Organized Further |
27 |
echo '$(document).scrollTop('.$_POST['scrolly'].');'; |
28 |
//echo 'alert("setting scrolly");';
|
|
29 |
}
|
|
30 |
?>
|
|
31 |
});
|
|
32 |
|
|
33 |
|
|
34 |
</script> |
|
35 |
</head> |
|
36 |
<body> |
|
37 |
<div id="wrapper"> |
|
4.10.2
by Daniel Johansson
Code updated partly, File to remember map "duggor" has not been checked. |
38 |
<div id="menu"> |
39 |
<?php include "menu.php"; ?> |
|
40 |
</div> |
|
41 |
<div id="content"> |
|
42 |
<?php |
|
43 |
if (isset($errorMsg) && $errorMsg != "") { |
|
44 |
echo "<p class='errorMsg'>".$errorMsg."</p>"; |
|
45 |
}
|
|
1
by Henrik G.
First seed of Lenasys ... Needs to be Organized Further |
46 |
if (isset($userMsg) && $userMsg != "") { |
4.10.2
by Daniel Johansson
Code updated partly, File to remember map "duggor" has not been checked. |
47 |
echo "<h3>".$userMsg."</h3>"; |
48 |
}
|
|
49 |
?>
|
|
50 |
<?php |
|
51 |
// DEBUG //////
|
|
1
by Henrik G.
First seed of Lenasys ... Needs to be Organized Further |
52 |
/*echo "<pre>";
|
4.10.2
by Daniel Johansson
Code updated partly, File to remember map "duggor" has not been checked. |
53 |
print_r($_POST);
|
54 |
//print_r($_SESSION);
|
|
55 |
echo "</pre>";*/
|
|
56 |
///////////////
|
|
57 |
?>
|
|
58 |
<?php include $content; ?> |
|
59 |
</div> |
|
60 |
<div id="footer"> |
|
61 |
<p>Page footer</p> |
|
62 |
<?php |
|
63 |
// DEBUG //////
|
|
64 |
echo "<pre>"; |
|
65 |
print_r($_POST); |
|
66 |
//print_r($_SESSION);
|
|
67 |
echo "</pre>"; |
|
68 |
///////////////
|
|
69 |
?>
|
|
70 |
</div> |
|
71 |
</div> |
|
72 |
</body> |
|
1
by Henrik G.
First seed of Lenasys ... Needs to be Organized Further |
73 |
</html>
|