<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html metal:use-macro="container/page_macro/macros/master_page">

<span tal:omit-tag="" metal:fill-slot="main_content_slot">

			<span metal:use-macro="container/main_macro/macros/rajalopp" tal:omit-tag=""></span>
			<span tal:omit-tag="" i18n:translate="">properties</span>
			
			<br />
			<form action="itemPropPoster" method="post">
			<div style="position:absolute; top:30px; margin-left:1px">
				<h3>
					<img src="" tal:replace="structure python:context.get_icon().tag()" />
					<label tal:content="context/get_name">heading</label>
				</h3>
			</div>

			<div style="position:absolute; top:70px;margin-left:1px">
			<span tal:omit-tag="" tal:condition="python:context.meta_type!='WebtopFolder'">
				<input type="checkbox" name="ifcomment" value="1" checked="checked" tal:attributes="checked python:context.isCommentable() and default">
				<label i18n:translate="">Allow comments?</label>
				<br />

				<input type="checkbox" name="ifrateable" value="1" checked="checked" tal:attributes="checked python:context.isRateable() and default">
				<label i18n:translate="">Allow rating?</label>
				
				<br />
				<br />
				
				<label i18n:translate="">Document status:</label>
				<br />
				<input type="radio" name="docStatus" value="0" tal:attributes="checked python:context.getDocStatus(request)==0 and default" checked="checked">
<label i18n:translate="">Unset</label><br />
				<input type="radio" name="docStatus" value="2" tal:attributes="checked python:context.getDocStatus(request)==2 and default" checked="checked">
<label i18n:translate="">Draft</label><br />
				<input type="radio" name="docStatus" value="4" tal:attributes="checked python:context.getDocStatus(request)==4 and default" checked="checked">
<label i18n:translate="">Revising</label><br />
				<input type="radio" name="docStatus" value="6" tal:attributes="checked python:context.getDocStatus(request)==6 and default" checked="checked">
<label i18n:translate="">Final</label>

				<br />
			</span>
				<br />
				
				<label i18n:translate="">Time limit?</label>
				<br />
				<input type="radio" name="timeFunc" value="0" tal:attributes="checked python:context.getTimeFunc()==0 and default" checked="checked"><label i18n:translate="">Not necessary</label>
				<br />
				<input type="radio" name="timeFunc" value="1" tal:attributes="checked python:context.getTimeFunc()==1" checked="checked"><label i18n:translate="">Limit to</label>
				<br />
				<label i18n:translate="">Starting time:</label>
				<br />
				<label tal:replace="structure python:context.getTimeBar('Starting',context.getStartTime())" />
				<br />
				<label i18n:translate="">Ending time:</label>
				<br />
				<label tal:replace="structure python:context.getTimeBar('Ending',context.getEndTime())" />
				<br /><br />				
				<input type="submit" value="Save" i18n:attributes="value" name="saveProp">
			</div>

			
			<div style="position:absolute; top:70px;margin-left:300px">
			<span tal:omit-tag="" tal:condition="python:context.meta_type!='WebtopFolder'">
				<input type="checkbox" name="ifShowComment" value="1" checked="checked" tal:attributes="checked python:context.isCommentsVisible() and default">
				<label i18n:translate="">Show existing comments?</label>
				<br />
				
				<input type="checkbox" name="ifShowRating" value="1" checked="checked" tal:attributes="checked python:context.isRatingVisible() and default">
				<label i18n:translate="">Show current ratings?</label>
				<br />
			</span>
				<br />
				<label i18n:translate="">Who can access this object?</label>
				<br />
				
				<input type="radio" name="objPermission" value="10" tal:attributes="checked python:context.getObjPermission()==10 and default" checked="checked" /><label i18n:translate="">Anyone</label>
				<br />
				<input type="radio" name="objPermission" value="0" tal:attributes="checked python:context.getObjPermission()==0 and default" checked="checked" /><label i18n:translate="">All course Participants</label>
				<br />

				<input type="radio" name="objPermission" value="2" tal:attributes="checked python:context.getObjPermission()==2 and default" checked="checked" /><a href="wt_userForm" i18n:translate="">Some participants</a>
				<br />
				
				<input type="radio" name="objPermission" value="20" tal:attributes="checked python:context.getObjPermission()==20 and default" checked="checked" /><a href="wt_userForm" i18n:translate="">Subgroup members</a>
				<select name="subgroup_name">
					<span tal:repeat="sgname python:curUser.kysiJooksvaKursuseSisegrupid()" tal:omit-tag="">
						<option value="" selected="selected" tal:attributes="value sgname/id;selected python:context.getSubgroupName()==sgname.id and default" tal:content="sgname/id"></option>
					</span>
				</select>
				<br />
				
				<input type="radio" name="objPermission" value="4" tal:attributes="checked python:context.getObjPermission()==4 and default" checked="checked" /><label i18n:translate="">Only teachers on this course</label>
				<br />
				<input type="radio" name="objPermission" value="6" tal:attributes="checked python:context.getObjPermission()==6 and default" checked="checked" /><label i18n:translate="">Private</label>
				<br />
					
			</div>
			</form>
			
 </span> 
</html>
