source: main/kofacustom.sampleuni/trunk/layout/static/js/kofa-functions.js @ 17083

Last change on this file since 17083 was 11751, checked in by Henrik Bettermann, 10 years ago

Merge js files.

File size: 449 bytes
Line 
1var RecaptchaOptions = {
2    theme : 'white'
3 };
4
5function renderCurrentYear() {
6        var mydate=new Date()
7        var year=mydate.getYear()
8        if (year < 1000)
9        year+=1900
10        var day=mydate.getDay()
11        var month=mydate.getMonth()
12        var daym=mydate.getDate()
13        if (daym<10)
14        daym="0"+daym
15        document.write(year)
16}
17
18function toggle(source, name) {
19  checkboxes = document.getElementsByName(name);
20  for(var i in checkboxes)
21    checkboxes[i].checked = source.checked;
22}
Note: See TracBrowser for help on using the repository browser.