- From: Robin Berjon via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 21 Dec 2009 15:48:53 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv13064/js
Modified Files:
respec.js
Log Message:
improve support for basic documents
Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- respec.js 17 Dec 2009 13:52:02 -0000 1.70
+++ respec.js 21 Dec 2009 15:48:50 -0000 1.71
@@ -377,11 +377,12 @@
"<div class='head'>" +
"<p><a href='http://www.w3.org/'><img width='72' height='48' src='http://www.w3.org/Icons/w3c_home' alt='W3C'/></a>" +
"<h1>" + this.title + "</h1>" +
- "<h2>W3C " + this.status2text[this.specStatus] + " " + this._humanDate(this.publishDate) + "</h2><dl>" +
- "<dt>This Version:</dt><dd><a href='" + thisVersion + "'>" + thisVersion + "</a></dd>" +
- "<dt>Latest Published Version:</dt><dd>" + latestVersion + "</dd>" +
- "<dt>Latest Editor's Draft:</dt><dd><a href='" + this.edDraftURI + "'>" + this.edDraftURI + "</a></dd>";
- if (this.specStatus != "FPWD")
+ "<h2>W3C " + this.status2text[this.specStatus] + " " + this._humanDate(this.publishDate) + "</h2><dl>";
+ if (this.specStatus != "MO")
+ header += "<dt>This Version:</dt><dd><a href='" + thisVersion + "'>" + thisVersion + "</a></dd>" +
+ "<dt>Latest Published Version:</dt><dd>" + latestVersion + "</dd>" +
+ "<dt>Latest Editor's Draft:</dt><dd><a href='" + this.edDraftURI + "'>" + this.edDraftURI + "</a></dd>";
+ if (this.specStatus != "FPWD" && this.specStatus != "MO")
header += "<dt>Previous version:</dt><dd>" + prevVersion + "</dd>";
if (this.prevRecShortname) {
@@ -424,43 +425,51 @@
},
makeSotD: function () {
- var art = "a ";
- var custom = document.getElementById("sotd");
- if (this.specStatus == "ED" || this.specStatus == "XGR" || this.specStatus == "IG-NOTE") art = "an ";
- var sotd = "<section id='sotd' class='introductory'><h2>Status of This Document</h2>" +
- "<p><em>This section describes the status of this document at the time of its publication. Other " +
- "documents may supersede this document. A list of current W3C publications and the latest revision " +
- "of this technical report can be found in the <a href='http://www.w3.org/TR/'>W3C technical reports " +
- "index</a> at http://www.w3.org/TR/.</em></p>";
- if (custom) {
- sotd += custom.innerHTML;
- custom.parentNode.removeChild(custom);
+ var sotd;
+ if (this.specStatus == "MO") {
+ sotd = "<section id='sotd' class='introductory'><h2>Status of This Document</h2>" +
+ "<p>This document is merely a W3C-internal member-confidential document. It has no "+
+ "official standing of any kind and does not represent consensus of the W3C Membership.</p></section>";
}
- sotd +=
- "<p>This document was published by the <a href='" + this.wgURI + "'>" + this.wg + "</a> as " + art + this.status2long[this.specStatus] + ".";
- if (this.isRecTrack && this.specStatus != "REC") sotd += " This document is intended to become a W3C Recommendation.";
- sotd +=
- " If you wish to make comments regarding this document, please send them to <a href='mailto:" + this.wgPublicList + "@w3.org'>" +
- this.wgPublicList + "@w3.org</a> (<a href='mailto:" + this.wgPublicList + "-request@w3.org?subject=subscribe'>subscribe</a>, " +
- "<a href='http://lists.w3.org/Archives/Public/" + this.wgPublicList + "/'>archives</a>).";
- if (this.specStatus == "LC") sotd += " The Last Call period ends " + this._humanDate(this.lcEnd) + ".";
- sotd += " All feedback is welcome.</p>";
- if (this.specStatus != "REC") {
- sotd += "<p>Publication as a " + this.status2text[this.specStatus] + " does not imply endorsement by the W3C Membership. " +
- "This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate " +
- "to cite this document as other than work in progress.</p>";
+ else {
+ var art = "a ";
+ var custom = document.getElementById("sotd");
+ if (this.specStatus == "ED" || this.specStatus == "XGR" || this.specStatus == "IG-NOTE") art = "an ";
+ sotd = "<section id='sotd' class='introductory'><h2>Status of This Document</h2>" +
+ "<p><em>This section describes the status of this document at the time of its publication. Other " +
+ "documents may supersede this document. A list of current W3C publications and the latest revision " +
+ "of this technical report can be found in the <a href='http://www.w3.org/TR/'>W3C technical reports " +
+ "index</a> at http://www.w3.org/TR/.</em></p>";
+ if (custom) {
+ sotd += custom.innerHTML;
+ custom.parentNode.removeChild(custom);
+ }
+ sotd +=
+ "<p>This document was published by the <a href='" + this.wgURI + "'>" + this.wg + "</a> as " + art + this.status2long[this.specStatus] + ".";
+ if (this.isRecTrack && this.specStatus != "REC") sotd += " This document is intended to become a W3C Recommendation.";
+ sotd +=
+ " If you wish to make comments regarding this document, please send them to <a href='mailto:" + this.wgPublicList + "@w3.org'>" +
+ this.wgPublicList + "@w3.org</a> (<a href='mailto:" + this.wgPublicList + "-request@w3.org?subject=subscribe'>subscribe</a>, " +
+ "<a href='http://lists.w3.org/Archives/Public/" + this.wgPublicList + "/'>archives</a>).";
+ if (this.specStatus == "LC") sotd += " The Last Call period ends " + this._humanDate(this.lcEnd) + ".";
+ sotd += " All feedback is welcome.</p>";
+ if (this.specStatus != "REC") {
+ sotd += "<p>Publication as a " + this.status2text[this.specStatus] + " does not imply endorsement by the W3C Membership. " +
+ "This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate " +
+ "to cite this document as other than work in progress.</p>";
+ }
+ if (this.specStatus == "LC")
+ sotd += "<p>This is a Last Call Working Draft and thus the Working Group has determined that this document has satisfied the " +
+ "relevant technical requirements and is sufficiently stable to advance through the Technical Recommendation process.</p>";
+ sotd +=
+ "<p>This document was produced by a group operating under the <a href='http://www.w3.org/Consortium/Patent-Policy-20040205/'>5 February " +
+ "2004 W3C Patent Policy</a>. W3C maintains a <a href='" + this.wgPatentURI + "' rel='disclosure'>public list of any patent disclosures</a> " +
+ "made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An " +
+ "individual who has actual knowledge of a patent which the individual believes contains " +
+ "<a href='http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential'>Essential Claim(s)</a> must disclose the " +
+ "information in accordance with <a href='http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure'>section " +
+ "6 of the W3C Patent Policy</a>.</p></section>";
}
- if (this.specStatus == "LC")
- sotd += "<p>This is a Last Call Working Draft and thus the Working Group has determined that this document has satisfied the " +
- "relevant technical requirements and is sufficiently stable to advance through the Technical Recommendation process.</p>";
- sotd +=
- "<p>This document was produced by a group operating under the <a href='http://www.w3.org/Consortium/Patent-Policy-20040205/'>5 February " +
- "2004 W3C Patent Policy</a>. W3C maintains a <a href='" + this.wgPatentURI + "' rel='disclosure'>public list of any patent disclosures</a> " +
- "made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An " +
- "individual who has actual knowledge of a patent which the individual believes contains " +
- "<a href='http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential'>Essential Claim(s)</a> must disclose the " +
- "information in accordance with <a href='http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure'>section " +
- "6 of the W3C Patent Policy</a>.</p></section>";
var tmp = sn.element("div");
tmp.innerHTML = sotd;
Received on Monday, 21 December 2009 15:48:54 UTC