source: main/waeup.ikoba/trunk/layout/static/js/ikoba-functions.js @ 17240

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

Rename javascripts.

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.