2006/unicorn/WebContent/WEB-INF/resources/templates language.vm,1.4,1.5 index.vm,1.13,1.14 xhtml10.vm,1.27,1.28

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

Modified Files:
	language.vm index.vm xhtml10.vm 
Log Message:
updated

Index: language.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/language.vm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- language.vm	5 Oct 2009 13:48:52 -0000	1.4
+++ language.vm	6 Oct 2009 08:21:40 -0000	1.5
@@ -1,8 +1,11 @@
-#set ($noEscape_title = "Unicorn - Translations")
+#set ($title = "Unicorn - Translations")
 #set ($css = ['base_ucn.css'])
 #set ($js = ['mootools-1.2.3-core-nc.js', 'mootools-1.2.3.1-more.js', 'w3c_unicorn_languages.js'])
 #parse('head.vm')
 
+#if ($messages)
+#displayMessages($messages)
+#end
 <div id="translations">
 	<table>
 		<thead>

Index: index.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/index.vm,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- index.vm	30 Sep 2009 13:43:13 -0000	1.13
+++ index.vm	6 Oct 2009 08:21:40 -0000	1.14
@@ -1,7 +1,7 @@
-#set ($noEscape_title = "Unicorn")
+#set ($title = "Unicorn")
 #set ($css = ['base_ucn.css'])
 #set ($js = ['mootools-1.2.3-core-nc.js', 'mootools-1.2.3.1-more.js', 'w3c_unicorn_index.js'])
-#parse( 'head.vm' )
+#parse('head.vm')
 
 #if ($messages)
 #displayMessages($messages)
@@ -82,22 +82,5 @@
 	<div id="don_program">
 		<script type="text/javascript" src="http://www.w3.org/QA/Tools/don_prog.js"></script>
 	</div>
-	<!--<div id="ucn_news">
-		<h1>Latest News</h1>
-		<h2 id="news_200809">September 2008: public preview, phase 2</h2>
-		<p>The public preview of the Unicorn framework gets a massive update after two summers of code and spec improvements. All the changes, aimed at making the unicorn framework faster, more reliable and easier to integrate with validators and web observation tools, include:</p>
-		<ul>
-			<li><strong>Simplified contract format</strong>, making it easier to define interactions between unicorn and an observer</li>
-			<li><strong>New tasks format</strong>, providing a more flexible way to sequence, mix and match observations</li>
-			<li><strong>Performance</strong> improvements, with a new multithreaded architecture</li>
-			<li>The ability to function as a <strong>servlet under more engines</strong>, including Jigsaw</li>
-			<li>A <strong>localized UI</strong> (currently: English and French, as a demo)</li>
-			<li>A brand new <strong>XML parser</strong> taking care of parsing tasks, contracts and observation responses</li>
-			<li>Tons of <strong>bug fixes</strong></li>
-		</ul>
-		<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>
-	</div>-->
 
-#parse( 'footer.vm' )
\ No newline at end of file
+#parse('footer.vm')
\ No newline at end of file

Index: xhtml10.vm
===================================================================
RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/xhtml10.vm,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- xhtml10.vm	30 Sep 2009 16:58:01 -0000	1.27
+++ xhtml10.vm	6 Oct 2009 08:21:40 -0000	1.28
@@ -1,4 +1,4 @@
-#set ($noEscape_title = "$result_for #evaluate($unicorncall.DocumentName)")
+#set ($title = "#evaluate($ucn.evaluate($lang, 'result_for', $unicorncall.DocumentName))")
 #set ($css = ['base_ucn.css'])
 #set ($js = ['mootools-1.2.3-core-nc.js', 'mootools-1.2.3.1-more.js', 'w3c_unicorn_results.js'])
 #if ($unicorncall.isPassed())
@@ -41,12 +41,8 @@
 			#if ($warningCount && $warningCount > 0)<a class="warnings" href="#${observationName}_warning" title="$warning_label:$warningCount"><span class="legend">$warning_label</span><span class="count">$warningCount</span></a> #end
 			<a class="anchor smooth" href="#$observationName" title="$anchor_observation">a</a>
 		</span>
-		#if($observation.isPassed())
-		$test_ok
-		#else
-		$test_fail
-		#end
-		<span class="name">$unicorncall.getObserverName($observationName, $lang) #if ($observation.Rating) ($observation.Rating/100) #end</span>
+		#if($observation.isPassed()) #set($ref = "test_ok") #else #set($ref = "test_fail") #end
+		$ucn.evaluate($lang, "test_ok", "<span class=\"name\">$unicorncall.getObserverName($observationName, $lang)#if($observation.Rating) ($observation.Rating/100)#end</span>")
 		#if ($observation.getFilteredRequestUri())<a class="direct_link" href="$observation.getFilteredRequestUri()" title="$direct_link_title_1">$direct_link_label</a>
 		#else <a class="direct_link" href="$observation.getBaseURI($observationName)" title="$direct_link_title_2">$direct_link_label</a>#end
 	</h2>

Received on Tuesday, 6 October 2009 08:21:46 UTC