CC-1695 Remove Campcaster Studio and make install easier

This commit is contained in:
paul.baranowski 2010-09-30 15:46:44 -04:00
parent 89a138b5f8
commit 81d499060b
478 changed files with 63037 additions and 0 deletions

View file

@ -0,0 +1,23 @@
<script language="javascript">
{literal}
function myClock(y, m, d, h, i, s, interval) {
clock = new Array();
clock['interval'] = interval;
clock['time'] = new Date(y, m, d, h, i ,s);
clock['run'] = setInterval("incClock();", clock['interval']);
}
function incClock() {
clock['time'].setTime(clock['time'].getTime() + clock['interval']);
document.getElementById("servertime").innerHTML = twoDigit(clock['time'].getHours()) + ":" + twoDigit(clock['time'].getMinutes()) + ":" + twoDigit(clock['time'].getSeconds());
}
{/literal}
myClock({$_now|date_format:"%Y"|string_format:"%d"}, {$_now|date_format:"%m"|string_format:"%d"}, {$_now|date_format:"%d"|string_format:"%d"},
{$_now|date_format:"%H"|string_format:"%d"}, {$_now|date_format:"%M"|string_format:"%d"}, {$_now|date_format:"%S"|string_format:"%d"},
1000);
</script>