%TMPL:DEF{PROMPT:onsite_plan}% <div class="twikiFormSteps"> <div class="twikiFormStep"> %STARTFORM{ name="onsite_plan" action="save" topic="%WEB%.%TOPIC%" anchor="NewPlan" }% <input type="hidden" name="comment_action" value="save" /> <input type="hidden" name="comment_type" value="onsite_plan" /> <input type="hidden" name="comment_templatetopic" value="%WEB%.%TOPIC%" /> <table> %FORMELEMENT{ name="From" type="date" dateformat="%d %b %Y" size="11" maxlength="11" title="From:" disabled="%IF{"$WIKINAME='TWikiGuest'" then="on"}%" validate="nonempty" hint="in the format of <b><i>DD MON YYYY</i></b>" format="<tr><th>$t</th><td>$e $h</td>" }% %FORMELEMENT{ name="Until" type="date" dateformat="%d %b %Y" size="11" maxlength="11" title="Until:" disabled="%IF{"$WIKINAME='TWikiGuest'" then="on"}%" hint="in the format of <b><i>DD MON YYYY</i></b>" format="<tr><th>$t</th><td>$e $h</td>" }% %FORMELEMENT{ name="Name" type="text" size="30" title="People:" disabled="%IF{"$WIKINAME='TWikiGuest'" then="on"}%" validate="nonempty" hint="free format. <b><tt><font color=red>text...</font></tt></b> to add color" format="<tr><th>$t</th><td>$e $h</td>" }% </table> %FORMELEMENT{ name="comment_from_date" type="hidden" default="$From" condition="$From=nonempty" }% %FORMELEMENT{ name="comment_to_date" type="hidden" default="$Until" condition="$Until=nonempty" }% %FORMELEMENT{ name="comment_name" type="hidden" default="$Name" condition="$Name=nonempty" }% %FORMELEMENT{ type="submit" buttonlabel="Add my dates" disabled="%IF{"$WIKINAME='TWikiGuest'" then="on"}%" }% %ENDFORM% </div> </div> %TMPL:END% %TMPL:DEF{OUTPUT:onsite_plan}% * %URLPARAM{"comment_from_date"}% - %URLPARAM{"comment_to_date"}% - %URLPARAM{"comment_name"}% %POS:AFTER%%TMPL:END%