cat <<EOF
<fieldset class="tab">
- <span class=no>…</span><!--
+ <button class=no type=submit name=new_session value=$sid>+</button><!--
--><input class=date name=${sid}_date value="" placeholder="$(l10n date)" /><!--
--><input class=therapist name=${sid}_therapist value="" placeholder="$(l10n therapist)" /><!--
- --><button type=submit name=new_session value=$sid>+</button></span>
+ --><span class=signature><span></span>
<input type=hidden name="${sid}_note1" value="">
</fieldset>
EOF
<input type="hidden" name="id" value="${id}">
<label class="tab heading">
- <span class=no>Nr.</span><!--
- --><span class=date>Datum</span><!--
- --><span class=therapist>Therapeut</span><!--
- --><span class=signature>Sig.</span>
+ <span class=no>$(l10n number)</span><!--
+ --><span class=date>$(l10n date)</span><!--
+ --><span class=therapist>$(l10n therapist)</span><!--
+ --><span class=signature>$(l10n signature)</span>
</label>
$(therapy_sessions)
data.value = image_serialize
}
- window.addEventListener( 'mouseup', function() { drawstop() } )
- canvas.addEventListener( 'mousedown', function(e) { drawstart(e.clientX, e.clientY) } )
- canvas.addEventListener( 'mousemove', function(e) { circle(e.clientX, e.clientY) } )
+ window.addEventListener( 'mouseup', function() { drawstop() } )
+ canvas.addEventListener( 'mousedown', function(e) { drawstart(e.clientX, e.clientY) } )
+ canvas.addEventListener( 'mousemove', function(e) { circle(e.clientX, e.clientY) } )
- window.addEventListener( 'touchend', function() { drawstop() } )
+ window.addEventListener( 'touchend', function() { drawstop() } )
canvas.addEventListener( 'touchstart', function(e) { drawstart(e.touches[0].clientX, e.touches[0].clientY) } )
- canvas.addEventListener( 'touchmove', function(e) { circle(e.touches[0].clientX, e.touches[0].clientY) } )
+ canvas.addEventListener( 'touchmove', function(e) { circle(e.touches[0].clientX, e.touches[0].clientY) } )
--></script>
</form>