version 1.431, 2015/01/19 15:36:01
|
version 1.431.2.1, 2015/03/03 16:53:59
|
Line 1533 function toggleCountdown() {
|
Line 1533 function toggleCountdown() {
|
return; |
return; |
} |
} |
|
|
|
function zeroTimer() { |
|
if (confirm('Are you sure?')) { |
|
document.getElementsByName('done')[0].value = 'true'; |
|
document.getElementsByName('doneButton')[0].submit(); |
|
} |
|
} |
|
|
END |
END |
} |
} |
|
|
Line 2235 $collapse
|
Line 2242 $collapse
|
<a href="javascript:toggleCountdown();" class="LC_menubuttons_link"> |
<a href="javascript:toggleCountdown();" class="LC_menubuttons_link"> |
<span id="ddcountexpand" class="LC_menubuttons_inline_text" >$expand</span> |
<span id="ddcountexpand" class="LC_menubuttons_inline_text" >$expand</span> |
<img src="/res/adm/pages/timer.png" title="$desc" class="LC_icon" alt="$alttxt" /><span class="LC_menubuttons_inline_text">$title</span></a> |
<img src="/res/adm/pages/timer.png" title="$desc" class="LC_icon" alt="$alttxt" /><span class="LC_menubuttons_inline_text">$title</span></a> |
|
<form method="post" name="doneButton"> |
|
<input type="hidden" name="done" value=""/> |
|
<button type="button" onclick="zeroTimer()">Done</button> |
|
</form> |
END |
END |
} |
} |
} |
} |