Changes for document

From version 48.6
edited by olivier lizounat
on 2013/10/03 17:07
To version 49.1
edited by olivier lizounat
on 2013/10/04 14:57
Change comment: There is no comment for this version
Content changes
{{groovy}}import groovy.sql.Sql{{groovy}}
import groovy.sql.Sql
}{{/groovy}}}
{{velocity}}#macro (cleanup $txt){{/groovy}}
{{velocity}}
#macro (cleanup $txt)
#if ($xcontext.result2.size()>0)
<input type="hidden" name="from" value="$doc.getURL()">
<input type="hidden" name="userForm" value="ok"/>
<input type="hidden" name="userid" value="$item.userid"/>
<input type="hidden" name="eventnametitle" value="$eventnametitle"/>
<input type="hidden" name="event_id" value="$id"/>
<div class="firstName"><label class="labelwidth">First Name *:<br/><div class="tinfo">(Maximum 60 caracters allowed.)</div></label><span class="clearform"></span><input type=text name=firstname size=30 value="$!request.firstname"><span class="error">$!ErrMsgfirstName </div>class="firstName">
</span><div class="lastName"><label class="labelwidth">Last <label class="labelwidth">First Name *:<br/><div class="tinfo">(Maximum 60 caracters allowed.)</div></label><span class="clearform"></span><input type=text name=lastname size=30 value="$!request.lastname"><span class="error">$!ErrMsglastName</div>allowed.)</div></label>
</span><div class="cieName"><label class="labelwidth">Company *:<br/><div class="tinfo">(Maximum 60 caracters allowed.)</div></label><span class="clearform"></span><input type=text name=company size=30 value="$!request.company"><span class="error">$!ErrMsgcompany</div> <span class="clearform"></span>
</span><div class="emailName"><label class="labelwidth">Email *:<br/><div class="tinfo">(ex: john.doe@ow2.org)</div></label><span class="clearform"></span><input <input type=text name=emailname=firstname size=30 value="$!request.email"><span class="error">$!ErrMsgemail</div>value="$!request.firstname">
<span class="error">$!ErrMsgfirstName </span>
</span><div class="phoneName"><label class="labelwidth">Phone Number :<br/><div class="tinfo">(ex: +33 (0) 123456789)</div></label><span class="clearform"></span><input type=text name=phone_number size=30 value="$!request.phone_number"><span class="error">$!ErrMsgphone_number</div><br><br> </div>
<div id="sessionSelect"><label class="labelwidth">Category Award *:<br/><div class="tinfo">(...)</div></label><span class="clearform"></span>class="lastName">
#if ($xcontext.result.size()>=2)<select name=sessionid><option value="false">Please select in the list</option> <label class="labelwidth">Last Name *:<br/><div class="tinfo">(Maximum 60 caracters allowed.)</div></label>
<span class="clearform"></span>
#foreach($item in $xcontext.result) <input type=text name=lastname size=30 value="$!request.lastname">
#if ($request.sessionid==$item.sessionid) <span class="error">$!ErrMsglastName</span>
<option value="$item.sessionid" selected="selected">$item.sessionname</option> </div>
#else <div class="cieName">
<option value="$item.sessionid">$item.sessionname</option> <label class="labelwidth">Company *:<br/><div class="tinfo">(Maximum 60 caracters allowed.)</div></label>
#end <span class="clearform"></span>
#end <input type=text name=company size=30 value="$!request.company">
#else <span class="error">$!ErrMsgcompany</span>
#foreach($item in $xcontext.result) </div>
$item.sessionname <div class="emailName">
<input type="hidden" value="${item.sessionid}" name="sessionid" /> <label class="labelwidth">Email *:<br/><div class="tinfo">(ex: john.doe@ow2.org)</div></label>
#end <span class="clearform"></span>
<input type=text name=email size=30 value="$!request.email">
<span class="error">$!ErrMsgemail</span>
</div>
<div class="phoneName">
<label class="labelwidth">Phone Number :<br/><div class="tinfo">(ex: +33 (0) 123456789)</div></label>
<span class="clearform"></span>
<input type=text name=phone_number size=30 value="$!request.phone_number">
<span class="error">$!ErrMsgphone_number</span>
</div>
<br>
<br>
<div id="sessionSelect">
<label class="labelwidth">Category Award *:<br/><div class="tinfo">(...)</div></label>
<span class="clearform"></span>
#if ($xcontext.result.size()>=2)<select name=sessionid><option value="false">Please select in the list</option>
#foreach($item in $xcontext.result)
#if ($request.sessionid==$item.sessionid)
<option value="$item.sessionid" selected="selected">$item.sessionname</option>
#else
<option value="$item.sessionid">$item.sessionname</option>
#end
#end
#else
#foreach($item in $xcontext.result)
$item.sessionname
<input type="hidden" value="${item.sessionid}" name="sessionid" />
#end
#end
</select><span class="error">$!ErrMsgsessionid</span>
</div>
<div class="titleName">
<label class="labelwidth">Title of your award entry *:<br/><div class="tinfo">(150 characteres max.)</div></label>
<span class="clearform"></span>
<input type=text size="80" name=prez_title value="$!request.prez_title">
<span class="error">$!ErrMsgprez_title</span>
</div>
<br>
<div class="abstractName">
<label class="labelwidth">Description *:<br/><div class="tinfo">(300 words max.)</div></label>
<span class="clearform"></span>
<textarea cols="80" rows="25" name=prez_abstract>$!request.prez_abstract</textarea>
<span class="error">$!ErrMsgprez_abstract</span>
</div>
<div class="bioName">
<label class="labelwidth">What according to you makes your award entry a good candidate for this category? *:<br/><div class="tinfo">(300 words max. per Bio)</div></label>
<span class="clearform"></span>
<textarea cols="80" rows="10" name=speaker_bio>$!request.speaker_bio</textarea>
<span class="error">$!ErrMsgspeaker_bio </span>
</div>
<div class="legalName">
#if ($!request.legal)
#set ($chck="checked")
#else
#set ($chck="")
#end
<br /><br /><br />
<div class="submitName"><center><input type=submit value="Send"></center></div>
</div>
</form>
</div>
</div>
</select><span class="error">$!ErrMsgsessionid</div>
</span><div class="titleName"><label class="labelwidth">Title of your award entry *:<br/><div class="tinfo">(150 characteres max.)</div></label><span class="clearform"></span><input type=text size="80" name=prez_title value="$!request.prez_title"><span class="error">$!ErrMsgprez_title</div>
</span><br><div class="abstractName"><label class="labelwidth">Description *:<br/><div class="tinfo">(300 words max.)</div></label><span class="clearform"></span><textarea cols="80" rows="25" name=prez_abstract>$!request.prez_abstract</textarea><span class="error">$!ErrMsgprez_abstract</div>
</span><div class="bioName"><label class="labelwidth">What according to you makes your award entry a good candidate for this category? *:<br/><div class="tinfo">(300 words max. per Bio)</div></label><span class="clearform"></span><textarea cols="80" rows="10" name=speaker_bio>$!request.speaker_bio</textarea><span class="error">$!ErrMsgspeaker_bio</div>
</span>
</span><div class="legalName">
#if ($!request.legal)
#set ($chck="checked")
#else
#set ($chck="")
#end
<br /><br /><br />
<div class="submitName"> <center><input type=submit value="Send"></center></div>
</form></div></div>
#end
Powered by XWiki Hosted by Xsalto Free PageRank Checker Creative Commons 2.0 license Legal Notice