-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.html
84 lines (75 loc) · 2.09 KB
/
footer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<div id = 'footer'>
<form>
<div class = "btn-group" style = "width:100%">
<input type="button" value="Home" onclick="window.location.href='index.html'" />
<input type="button" value="Texts" onclick="window.location.href='text-toc.html'" />
<input type="button" value="Grammar" onclick="window.location.href='grammar-toc.html'" />
<input type="button" value="Dictionary" onclick="window.location.href='dictionary-toc.html'" />
</div>
</form>
<p>These pages use content from <a href = "http://www-personal.umich.edu/~jheath/" target = "_blank">Jeffrey Heath's</a> work on the Nunggubuyu language.<br>The online presentation is being prepared by Nick Thieberger, Simon Musgrave and Brett Baker.<br>Created by <a href="mailto:[email protected]">Simon Musgrave</a></p>
<p>Copyright 2011/2018</p>
<script
type="text/JavaScript"
language="JavaScript">
<!--
//
// format date as dd-mmm-yy
// example: 12-Jan-99
//
function date_ddmmmyy(date)
{
var d = date.getDate();
var m = date.getMonth() + 1;
var y = date.getYear();
// handle different year values
// returned by IE and NS in
// the year 2000.
if(y >= 2000)
{
y -= 2000;
}
if(y >= 100)
{
y -= 100;
}
// could use splitString() here
// but the following method is
// more compatible
var mmm =
( 1==m)?'Jan':( 2==m)?'Feb':(3==m)?'Mar':
( 4==m)?'Apr':( 5==m)?'May':(6==m)?'Jun':
( 7==m)?'Jul':( 8==m)?'Aug':(9==m)?'Sep':
(10==m)?'Oct':(11==m)?'Nov':'Dec';
return "" +
(d<10?"0"+d:d) + "-" +
mmm + "-" +
(y<10?"0"+y:y);
}
//
// get last modified date of the
// current document.
//
function date_lastmodified()
{
var lmd = document.lastModified;
var s = "Unknown";
var d1;
// check if we have a valid date
// before proceeding
if(0 != (d1=Date.parse(lmd)))
{
s = "" + date_ddmmmyy(new Date(d1));
}
return s;
}
//
// finally display the last modified date
// as DD-MMM-YY
//
document.write(
"This page was updated on " +
date_lastmodified() );
// -->
</script>
</div>