2009/dap/ReSpec.js/js respec.js,1.86,1.87

Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv7493/js

Modified Files:
	respec.js 
Log Message:
more unofficial

Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- respec.js	10 Feb 2010 12:57:21 -0000	1.86
+++ respec.js	15 Feb 2010 10:42:47 -0000	1.87
@@ -395,7 +395,8 @@
             header += "<a href='http://www.w3.org/2005/Incubator/XGR/'><img alt='W3C Incubator Report' src='http://www.w3.org/2005/Incubator/images/XGR' height='48' width='160'/></a>";
         header +=
             "<h1>" + this.title + "</h1>" +
-            "<h2>W3C " + this.status2text[this.specStatus] + " " + this._humanDate(this.publishDate) + "</h2><dl>";
+            "<h2>" + (this.specStatus == "unofficial" ? "" : "W3C ") + 
+            this.status2text[this.specStatus] + " " + this._humanDate(this.publishDate) + "</h2><dl>";
         if (!this.isNoTrack)
             header += "<dt>This Version:</dt><dd><a href='" + thisVersion + "'>" + thisVersion + "</a></dd>" + 
                       "<dt>Latest Published Version:</dt><dd>" + latestVersion + "</dd>" + 
@@ -456,7 +457,13 @@
     
     makeSotD:     function () {
         var sotd;
-        if (this.isNoTrack) {
+        if (this.specStatus == "unofficial") {
+            sotd = "<section id='sotd' class='introductory'><h2>Status of This Document</h2>" +
+            "<p>This document is merely a public working draft of a potential specification. It has " +
+            "no official standing of any kind and does not represent the support or consensus of any " +
+            "standards organization.</p></section>"
+        }
+        else if (this.isNoTrack) {
             var mc = (this.specStatus == "MO") ? " member-confidential" : "";
             sotd = "<section id='sotd' class='introductory'><h2>Status of This Document</h2>" +
                 "<p>This document is merely a W3C-internal" + mc + " document. It has no "+

Received on Monday, 15 February 2010 10:42:51 UTC