2006/unicorn/WebContent/WEB-INF/resources/templates index.vm,1.11,1.12

Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates
In directory hutz:/tmp/cvs-serv27799/WebContent/WEB-INF/resources/templates

Modified Files:
	index.vm 
Log Message:
added mimeType list change on task change

Index: index.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/index.vm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- index.vm	24 Sep 2009 17:46:33 -0000	1.11
+++ index.vm	30 Sep 2009 09:32:00 -0000	1.12
@@ -69,12 +69,8 @@
 					<div class="input">
 						<p class="instructions">$instruction-by-input</p>
 						<p>
-							<textarea name="${param_prefix}text" rows="12" cols="70">$!param_text</textarea>
-							<select id="ucn_text_mime" name="${param_prefix}text_mime">
-							#foreach($mime in $current_task.SupportedMimeTypes)  
-								<option value="$mime" #if($param_text_mime && $param_text_mime == $mime)selected="selected"#end>$mime</option>
-							#end
-							</select>
+							<textarea id="ucn_text" name="${param_prefix}text" rows="12" cols="70">$!param_text</textarea>
+							#mimeList($current_task)
 						</p> 
 					</div>
 #parse('parameters.vm')
@@ -102,7 +98,6 @@
 		<h2 id="news_200609">September 2006: public preview</h2>
 		<p>Welcome to the public preview of the unicorn tool. To learn more about this tool
 		or how you can provide feedback for this preview, check the <a href="http://www.w3.org/QA/2006/09/unicorn_public_preview.html">W3C QA Weblog</a>.</p>
-		<p><strong>Note</strong>: You need to enable Javascript to be able to check documents.</p>
 	</div>-->
 
 #parse( 'footer.vm' )
\ No newline at end of file

Received on Wednesday, 30 September 2009 09:32:05 UTC