- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 23 Oct 2009 12:57:09 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates In directory hutz:/tmp/cvs-serv18572/WebContent/WEB-INF/resources/templates Modified Files: xhtml10.vm Log Message: changed position of xml:lang attributes Index: xhtml10.vm =================================================================== RCS file: /sources/public/2006/unicorn/WebContent/WEB-INF/resources/templates/xhtml10.vm,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- xhtml10.vm 23 Oct 2009 12:37:34 -0000 1.46 +++ xhtml10.vm 23 Oct 2009 12:57:06 -0000 1.47 @@ -52,10 +52,10 @@ <div class="results block" #if($observation.getLang()!=$lang)xml:lang="$observation.getLang()"#end> #if ($observation.hasGroups()) #foreach($group in $observation.getGroups()) #if (!$group.hasParent()) - <div class="section group" id="${observationName}_${group.Name}" #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end> - <h3 class="title"><a class="anchor" href="#${observationName}_${group.Name}">a</a>$group.getTitle()</h3> + <div class="section group" id="${observationName}_${group.Name}"> + <h3 class="title" #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end><a class="anchor" href="#${observationName}_${group.Name}">a</a>$group.getTitle()</h3> <div class="block"> - <p>$group.getDescription()</p> + <p #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end>$group.getDescription()</p> <div class="messages"> #set ($messages = $observation.getURISortedMessages($group.getName())) #if ($messages.size() > 0) @@ -75,7 +75,7 @@ #if($message.getType()==2)#set($type="error")#elseif($message.getType()==1)#set($type="warning")#else#set($type="info")#end #set ($messageId = "${observationName}_${group.Name}_${uriCount}_$velocityCount") #if ($message.getContexts().size() == 0) - <tr #if($message.getLang()!=$group.getLang())xml:lang="$message.getLang()"#end> + <tr #if($message.getLang()!=$observation.getLang())xml:lang="$message.getLang()"#end> <td class="linenumber" title=""></td> <td class="colnumber" title=""></td> <td class="codeContext" title="$context_token"></td> @@ -92,7 +92,7 @@ #set ($b = true) #set ($rowspan = $message.getContexts().size()) #foreach($context in $message.getContexts()) - <tr #if($message.getLang()!=$group.getLang())xml:lang="$message.getLang()"#end> + <tr #if($message.getLang()!=$observation.getLang())xml:lang="$message.getLang()"#end> <td class="linenumber" title="#if($context.Line)$line_token $context.Line#end">$!context.Line</td> <td class="colnumber" title="#if($context.Column)$column_token $context.Column#end">$!context.Column</td> <td class="codeContext" title="$context_token"> @@ -121,10 +121,10 @@ </div> #foreach($group in $observation.getGroupChildren($group)) - <div class="section group" id="${observationName}_${group.Name}" #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end> - <h3 class="title"><a class="anchor" href="#${observationName}_${group.Name}">a</a>$group.getTitle()</h3> + <div class="section group" id="${observationName}_${group.Name}"> + <h3 class="title" #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end><a class="anchor" href="#${observationName}_${group.Name}">a</a>$group.getTitle()</h3> <div class="block"> - <p>$group.getDescription()</p> + <p #if($group.getLang()!=$observation.getLang())xml:lang="$group.getLang()"#end>$group.getDescription()</p> <div class="messages"> #set ($messages = $observation.getURISortedMessages($group.getName())) #if ($messages.size() > 0) @@ -144,7 +144,7 @@ #if($message.getType()==2)#set($type="error")#elseif($message.getType()==1)#set($type="warning")#else#set($type="info")#end #set ($messageId = "${observationName}_${group.Name}_${uriCount}_$velocityCount") #if ($message.getContexts().size() == 0) - <tr #if($message.getLang()!=$group.getLang())xml:lang="$message.getLang()"#end> + <tr #if($message.getLang()!=$observation.getLang())xml:lang="$message.getLang()"#end> <td class="linenumber" title=""></td> <td class="colnumber" title=""></td> <td class="codeContext" title="$context_token"></td> @@ -161,7 +161,7 @@ #set ($b = true) #set ($rowspan = $message.getContexts().size()) #foreach($context in $message.getContexts()) - <tr #if($message.getLang()!=$group.getLang())xml:lang="$message.getLang()"#end> + <tr #if($message.getLang()!=$observation.getLang())xml:lang="$message.getLang()"#end> <td class="linenumber" title="#if($context.Line)$line_token $context.Line#end">$!context.Line</td> <td class="colnumber" title="#if($context.Column)$column_token $context.Column#end">$!context.Column</td> <td class="codeContext" title="$context_token">
Received on Friday, 23 October 2009 12:57:13 UTC