Author: cutting
Date: Mon Mar  9 18:49:14 2009
New Revision: 751789

URL: http://svn.apache.org/viewvc?rev=751789&view=rev
Log:
HADOOP-5190.  Create a privacy policy that mentions Google Analytics and switch 
to a forrest skin that adds Google Analytics.  Contributed by Tom White.

Added:
    hadoop/zookeeper/site/publish/skin/images/corner-imports.svg.xslt
    hadoop/zookeeper/site/publish/skin/images/dc.svg.xslt
    hadoop/zookeeper/site/publish/skin/images/poddoc.svg.xslt
    hadoop/zookeeper/site/publish/skin/images/rc.svg.xslt
    hadoop/zookeeper/site/publish/skin/images/txtdoc.svg.xslt
    hadoop/zookeeper/site/publish/skin/skinconf.xsl
Modified:
    hadoop/zookeeper/site/author/   (props changed)
    hadoop/zookeeper/site/author/forrest.properties
    hadoop/zookeeper/site/author/src/documentation/   (props changed)
    hadoop/zookeeper/site/author/src/documentation/content/xdocs/site.xml
    hadoop/zookeeper/site/publish/credits.html
    hadoop/zookeeper/site/publish/images/zookeeper_small.gif
    hadoop/zookeeper/site/publish/index.html
    hadoop/zookeeper/site/publish/irc.html
    hadoop/zookeeper/site/publish/issue_tracking.html
    hadoop/zookeeper/site/publish/linkmap.html
    hadoop/zookeeper/site/publish/linkmap.pdf
    hadoop/zookeeper/site/publish/mailing_lists.html
    hadoop/zookeeper/site/publish/releases.html
    hadoop/zookeeper/site/publish/version_control.html

Propchange: hadoop/zookeeper/site/author/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Mar  9 18:49:14 2009
@@ -0,0 +1 @@
+build

Modified: hadoop/zookeeper/site/author/forrest.properties
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/author/forrest.properties?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
--- hadoop/zookeeper/site/author/forrest.properties (original)
+++ hadoop/zookeeper/site/author/forrest.properties Mon Mar  9 18:49:14 2009
@@ -26,6 +26,7 @@
 # Specifies name of Forrest skin to use
 #project.skin=tigris
 #project.skin=pelt
+project.skin=hadoop-pelt
 
 # comma separated list, file:// is supported
 
#forrest.skins.descriptors=http://forrest.apache.org/skins/skins.xml,file:///c:/myskins/skins.xml

Propchange: hadoop/zookeeper/site/author/src/documentation/
------------------------------------------------------------------------------
--- svn:externals (added)
+++ svn:externals Mon Mar  9 18:49:14 2009
@@ -0,0 +1 @@
+skins 
http://svn.apache.org/repos/asf/hadoop/site/author/src/documentation/skins

Modified: hadoop/zookeeper/site/author/src/documentation/content/xdocs/site.xml
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/author/src/documentation/content/xdocs/site.xml?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
--- hadoop/zookeeper/site/author/src/documentation/content/xdocs/site.xml 
(original)
+++ hadoop/zookeeper/site/author/src/documentation/content/xdocs/site.xml Mon 
Mar  9 18:49:14 2009
@@ -21,6 +21,7 @@
     <news      label="News"               href="releases.html#News" />
     <credits   label="Credits"            href="credits.html" /> 
     <sponsors  label="Sponsors"           href="ext:sponsors" />
+    <privacy   label="Privacy Policy"     href="ext:privacy" />
   </project>
 
   <docs label="Documentation"> 
@@ -39,6 +40,7 @@
     <wiki      href="http://wiki.apache.org/hadoop/ZooKeeper"; />
     <faq       href="http://wiki.apache.org/hadoop/ZooKeeper/FAQ"; />
     <nightly   
href="http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/"; />
+    <privacy   href="http://hadoop.apache.org/privacy_policy.html"/>
     <releases  href="http://www.apache.org/dyn/closer.cgi/hadoop/zookeeper/"; />
     <sponsors  href="http://www.apache.org/foundation/thanks.html"/>
     <hadoop-default 
href="http://hadoop.apache.org/zookeeper/hadoop-default.html"; />

Modified: hadoop/zookeeper/site/publish/credits.html
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/credits.html?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
--- hadoop/zookeeper/site/publish/credits.html (original)
+++ hadoop/zookeeper/site/publish/credits.html Mon Mar  9 18:49:14 2009
@@ -4,7 +4,7 @@
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="pelt">
+<meta name="Forrest-skin-name" content="hadoop-pelt">
 <title>ZooKeeper credits</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
@@ -113,6 +113,9 @@
 <div class="menuitem">
 <a href="http://www.apache.org/foundation/thanks.html";>Sponsors</a>
 </div>
+<div class="menuitem">
+<a href="http://hadoop.apache.org/privacy_policy.html";>Privacy Policy</a>
+</div>
 </div>
 <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" 
class="menutitle">Documentation</div>
 <div id="menu_1.2" class="menuitemgroup">
@@ -295,5 +298,13 @@
     |end bottomstrip
     +-->
 </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."; : 
"http://www.";);
+document.write(unescape("%3Cscript src='" + gaJsHost + 
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-7453027-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/zookeeper/site/publish/images/zookeeper_small.gif
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/images/zookeeper_small.gif?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
Binary files - no diff available.

Modified: hadoop/zookeeper/site/publish/index.html
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/index.html?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
--- hadoop/zookeeper/site/publish/index.html (original)
+++ hadoop/zookeeper/site/publish/index.html Mon Mar  9 18:49:14 2009
@@ -4,7 +4,7 @@
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="pelt">
+<meta name="Forrest-skin-name" content="hadoop-pelt">
 <title>Welcome to ZooKeeper!</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
@@ -113,6 +113,9 @@
 <div class="menuitem">
 <a href="http://www.apache.org/foundation/thanks.html";>Sponsors</a>
 </div>
+<div class="menuitem">
+<a href="http://hadoop.apache.org/privacy_policy.html";>Privacy Policy</a>
+</div>
 </div>
 <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" 
class="menutitle">Documentation</div>
 <div id="menu_1.2" class="menuitemgroup">
@@ -240,5 +243,13 @@
     |end bottomstrip
     +-->
 </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."; : 
"http://www.";);
+document.write(unescape("%3Cscript src='" + gaJsHost + 
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-7453027-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/zookeeper/site/publish/irc.html
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/irc.html?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
--- hadoop/zookeeper/site/publish/irc.html (original)
+++ hadoop/zookeeper/site/publish/irc.html Mon Mar  9 18:49:14 2009
@@ -4,7 +4,7 @@
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="pelt">
+<meta name="Forrest-skin-name" content="hadoop-pelt">
 <title>ZooKeeper IRC Channel</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
@@ -113,6 +113,9 @@
 <div class="menuitem">
 <a href="http://www.apache.org/foundation/thanks.html";>Sponsors</a>
 </div>
+<div class="menuitem">
+<a href="http://hadoop.apache.org/privacy_policy.html";>Privacy Policy</a>
+</div>
 </div>
 <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" 
class="menutitle">Documentation</div>
 <div id="menu_1.2" class="menuitemgroup">
@@ -192,5 +195,13 @@
     |end bottomstrip
     +-->
 </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."; : 
"http://www.";);
+document.write(unescape("%3Cscript src='" + gaJsHost + 
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-7453027-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/zookeeper/site/publish/issue_tracking.html
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/issue_tracking.html?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
--- hadoop/zookeeper/site/publish/issue_tracking.html (original)
+++ hadoop/zookeeper/site/publish/issue_tracking.html Mon Mar  9 18:49:14 2009
@@ -4,7 +4,7 @@
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="pelt">
+<meta name="Forrest-skin-name" content="hadoop-pelt">
 <title>ZooKeeper Issue Tracking</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
@@ -113,6 +113,9 @@
 <div class="menuitem">
 <a href="http://www.apache.org/foundation/thanks.html";>Sponsors</a>
 </div>
+<div class="menuitem">
+<a href="http://hadoop.apache.org/privacy_policy.html";>Privacy Policy</a>
+</div>
 </div>
 <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" 
class="menutitle">Documentation</div>
 <div id="menu_1.2" class="menuitemgroup">
@@ -195,5 +198,13 @@
     |end bottomstrip
     +-->
 </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."; : 
"http://www.";);
+document.write(unescape("%3Cscript src='" + gaJsHost + 
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-7453027-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/zookeeper/site/publish/linkmap.html
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/linkmap.html?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
--- hadoop/zookeeper/site/publish/linkmap.html (original)
+++ hadoop/zookeeper/site/publish/linkmap.html Mon Mar  9 18:49:14 2009
@@ -4,7 +4,7 @@
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="pelt">
+<meta name="Forrest-skin-name" content="hadoop-pelt">
 <title>Site Linkmap Table of Contents</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
@@ -113,6 +113,9 @@
 <div class="menuitem">
 <a href="http://www.apache.org/foundation/thanks.html";>Sponsors</a>
 </div>
+<div class="menuitem">
+<a href="http://hadoop.apache.org/privacy_policy.html";>Privacy Policy</a>
+</div>
 </div>
 <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" 
class="menutitle">Documentation</div>
 <div id="menu_1.2" class="menuitemgroup">
@@ -197,6 +200,12 @@
 <a 
href="http://www.apache.org/foundation/thanks.html";>Sponsors</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>sponsors</em>
 </li>
 </ul>
+    
+<ul>
+<li>
+<a href="http://hadoop.apache.org/privacy_policy.html";>Privacy 
Policy</a>&nbsp;&nbsp;___________________&nbsp;&nbsp;<em>privacy</em>
+</li>
+</ul>
   
 </ul>
 </ul>
@@ -285,5 +294,13 @@
     |end bottomstrip
     +-->
 </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."; : 
"http://www.";);
+document.write(unescape("%3Cscript src='" + gaJsHost + 
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-7453027-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/zookeeper/site/publish/linkmap.pdf
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/linkmap.pdf?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
Binary files - no diff available.

Modified: hadoop/zookeeper/site/publish/mailing_lists.html
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/mailing_lists.html?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
--- hadoop/zookeeper/site/publish/mailing_lists.html (original)
+++ hadoop/zookeeper/site/publish/mailing_lists.html Mon Mar  9 18:49:14 2009
@@ -4,7 +4,7 @@
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="pelt">
+<meta name="Forrest-skin-name" content="hadoop-pelt">
 <title>ZooKeeper Mailing Lists</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
@@ -113,6 +113,9 @@
 <div class="menuitem">
 <a href="http://www.apache.org/foundation/thanks.html";>Sponsors</a>
 </div>
+<div class="menuitem">
+<a href="http://hadoop.apache.org/privacy_policy.html";>Privacy Policy</a>
+</div>
 </div>
 <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" 
class="menutitle">Documentation</div>
 <div id="menu_1.2" class="menuitemgroup">
@@ -291,5 +294,13 @@
     |end bottomstrip
     +-->
 </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."; : 
"http://www.";);
+document.write(unescape("%3Cscript src='" + gaJsHost + 
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-7453027-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 </body>
 </html>

Modified: hadoop/zookeeper/site/publish/releases.html
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/releases.html?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
--- hadoop/zookeeper/site/publish/releases.html (original)
+++ hadoop/zookeeper/site/publish/releases.html Mon Mar  9 18:49:14 2009
@@ -4,7 +4,7 @@
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="pelt">
+<meta name="Forrest-skin-name" content="hadoop-pelt">
 <title>Zookeeper Releases</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
@@ -113,6 +113,9 @@
 <div class="menuitem">
 <a href="http://www.apache.org/foundation/thanks.html";>Sponsors</a>
 </div>
+<div class="menuitem">
+<a href="http://hadoop.apache.org/privacy_policy.html";>Privacy Policy</a>
+</div>
 </div>
 <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" 
class="menutitle">Documentation</div>
 <div id="menu_1.2" class="menuitemgroup">
@@ -260,5 +263,13 @@
     |end bottomstrip
     +-->
 </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."; : 
"http://www.";);
+document.write(unescape("%3Cscript src='" + gaJsHost + 
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-7453027-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 </body>
 </html>

Added: hadoop/zookeeper/site/publish/skin/images/corner-imports.svg.xslt
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/skin/images/corner-imports.svg.xslt?rev=751789&view=auto
==============================================================================
--- hadoop/zookeeper/site/publish/skin/images/corner-imports.svg.xslt (added)
+++ hadoop/zookeeper/site/publish/skin/images/corner-imports.svg.xslt Mon Mar  
9 18:49:14 2009
@@ -0,0 +1,92 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
+  <xsl:param name="orientation-tb"/>
+  <xsl:param name="orientation-lr"/>
+  <xsl:param name="size"/>
+  <xsl:param name="bg-color-name"/>
+  <xsl:param name="stroke-color-name"/>
+  <xsl:param name="fg-color-name"/>
+<!-- if not all colors are present, don't even try to render the corners -->
+  <xsl:variable name="isize">
+    <xsl:choose>
+      <xsl:when test="$bg-color-name and $stroke-color-name and 
$fg-color-name">
+        <xsl:value-of select="$size"/>
+      </xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="smallersize" select="number($isize)-1"/>
+  <xsl:variable name="biggersize" select="number($isize)+1"/>
+  <xsl:variable name="bg">
+    <xsl:if 
test="skinconfig/colors/col...@name=$bg-color-name]">fill:<xsl:value-of 
select="skinconfig/colors/col...@name=$bg-color-name]/@value"/>;</xsl:if>
+  </xsl:variable>
+  <xsl:variable name="fill">
+    <xsl:if 
test="skinconfig/colors/col...@name=$stroke-color-name]">fill:<xsl:value-of 
select="skinconfig/colors/col...@name=$stroke-color-name]/@value"/>;</xsl:if>
+  </xsl:variable>
+  <xsl:variable name="stroke">
+    <xsl:if 
test="skinconfig/colors/col...@name=$fg-color-name]">stroke:<xsl:value-of 
select="skinconfig/colors/col...@name=$fg-color-name]/@value"/>;</xsl:if>
+  </xsl:variable>
+  <xsl:template match="skinconfig">
+    <svg width="{$isize}" height="{$isize}">
+<!-- background-->
+      <rect x="-1" y="-1" width="{$biggersize}" height="{$biggersize}" 
style="{$bg}stroke-width:0"/>
+<!-- 0,0 0,-4 4,0 4,-4-->
+      <xsl:variable name="flip-tb-scale">
+        <xsl:choose>
+          <xsl:when test="$orientation-tb='t'">1</xsl:when>
+          <xsl:otherwise>-1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:variable name="flip-lr-scale">
+        <xsl:choose>
+          <xsl:when test="$orientation-lr='l'">1</xsl:when>
+          <xsl:otherwise>-1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:variable name="flip-tb-translate">
+        <xsl:choose>
+          <xsl:when test="$orientation-tb='t'">0</xsl:when>
+          <xsl:otherwise>-<xsl:value-of select="$isize" />
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:variable name="flip-lr-translate">
+        <xsl:choose>
+          <xsl:when test="$orientation-lr='l'">0</xsl:when>
+          <xsl:otherwise>-<xsl:value-of select="$isize" />
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+<!-- flip transform -->
+      <g transform="scale({$flip-lr-scale},{$flip-tb-scale}) 
translate({$flip-lr-translate}, {$flip-tb-translate})">
+        <xsl:call-template name="figure" />
+      </g>
+    </svg>
+  </xsl:template>
+  <xsl:template name="figure">
+<!-- Just change shape here -->
+    <g transform="translate(0.5 0.5)">
+      <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" 
ry="{$smallersize}"
+                                style="{$fill}{$stroke}stroke-width:1"/>
+    </g>
+<!-- end -->
+  </xsl:template>
+  <xsl:template match="*"></xsl:template>
+  <xsl:template match="text()"></xsl:template>
+</xsl:stylesheet>

Added: hadoop/zookeeper/site/publish/skin/images/dc.svg.xslt
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/skin/images/dc.svg.xslt?rev=751789&view=auto
==============================================================================
--- hadoop/zookeeper/site/publish/skin/images/dc.svg.xslt (added)
+++ hadoop/zookeeper/site/publish/skin/images/dc.svg.xslt Mon Mar  9 18:49:14 
2009
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
+  <xsl:import href="corner-imports.svg.xslt" />
+<!-- Diagonal 45 degrees corner -->
+  <xsl:template name="figure">
+    <xsl:variable name="biggersize" select="number($size)+number($size)"/>
+    <g transform="translate(0 0.5)">
+      <polygon points="0,{$size} {$size},0 {$biggersize},0 
{$biggersize},{$biggersize} 0,{$biggersize}"
+                    style="{$fill}{$stroke}stroke-width:1"/>
+    </g>
+  </xsl:template>
+</xsl:stylesheet>

Added: hadoop/zookeeper/site/publish/skin/images/poddoc.svg.xslt
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/skin/images/poddoc.svg.xslt?rev=751789&view=auto
==============================================================================
--- hadoop/zookeeper/site/publish/skin/images/poddoc.svg.xslt (added)
+++ hadoop/zookeeper/site/publish/skin/images/poddoc.svg.xslt Mon Mar  9 
18:49:14 2009
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<svg width="20pt" height="20pt"
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:xlink="http://www.w3.org/1999/xlink";>
+  <defs
+     id="defs550">
+    <linearGradient id="gray2white">
+      <stop style="stop-color:#7f7f7f;stop-opacity:1;" offset="0.000000"/>
+      <stop style="stop-color:#ffffff;stop-opacity:1;" offset="1.000000"/>
+    </linearGradient>
+    <linearGradient id="pageshade" xlink:href="#gray2white"
+       x1="0.95" y1="0.95"
+       x2="0.40" y2="0.20"
+       gradientUnits="objectBoundingBox" spreadMethod="pad" />
+    <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
+  </defs>
+  <g transform="scale(0.08)">
+    <g transform="translate(40, 0)">
+      <rect width="230" height="300" x="0" y="0"
+            style="fill:url(#pageshade);fill-rule:evenodd;
+            stroke:#000000;stroke-width:1.25;"/>
+      <g transform="translate(15, 60)">
+        <use xlink:href="#hr" x="0" y="0"/>
+        <use xlink:href="#hr" x="0" y="60"/>
+        <use xlink:href="#hr" x="0" y="120"/>
+        <use xlink:href="#hr" x="0" y="180"/>
+      </g>
+    </g>
+    <g transform="translate(0,70),scale(1.1,1.6)">
+      <rect width="200" height="100" x="0" y="0"
+         style="fill:#ff0000;fill-rule:evenodd;
+                stroke:#000000;stroke-width:2.33903;"/>
+      <text x="20" y="75"
+            style="stroke:#ffffff;stroke-width:1.0;
+                   font-size:72;font-weight:normal;fill:#ffffff;
+                   font-family:Arial;text-anchor:start;">POD</text>
+    </g>
+  </g>
+</svg>

Added: hadoop/zookeeper/site/publish/skin/images/rc.svg.xslt
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/skin/images/rc.svg.xslt?rev=751789&view=auto
==============================================================================
--- hadoop/zookeeper/site/publish/skin/images/rc.svg.xslt (added)
+++ hadoop/zookeeper/site/publish/skin/images/rc.svg.xslt Mon Mar  9 18:49:14 
2009
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
+  <xsl:import href="corner-imports.svg.xslt" />
+<!-- Rounded corner -->
+  <xsl:template name="figure">
+    <g transform="translate(0.5 0.5)">
+      <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" 
ry="{$smallersize}"
+                                style="{$fill}{$stroke}stroke-width:1"/>
+    </g>
+  </xsl:template>
+</xsl:stylesheet>

Added: hadoop/zookeeper/site/publish/skin/images/txtdoc.svg.xslt
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/skin/images/txtdoc.svg.xslt?rev=751789&view=auto
==============================================================================
--- hadoop/zookeeper/site/publish/skin/images/txtdoc.svg.xslt (added)
+++ hadoop/zookeeper/site/publish/skin/images/txtdoc.svg.xslt Mon Mar  9 
18:49:14 2009
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<svg width="20pt" height="20pt"
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:xlink="http://www.w3.org/1999/xlink";>
+  <defs
+     id="defs550">
+    <linearGradient id="gray2white">
+      <stop style="stop-color:#7f7f7f;stop-opacity:1;" offset="0.000000"/>
+      <stop style="stop-color:#ffffff;stop-opacity:1;" offset="1.000000"/>
+    </linearGradient>
+    <linearGradient id="pageshade" xlink:href="#gray2white"
+       x1="0.95" y1="0.95"
+       x2="0.40" y2="0.20"
+       gradientUnits="objectBoundingBox" spreadMethod="pad" />
+    <path d="M 0 0 L 200 0" style="stroke:#000000;stroke-width:1pt;" id="hr"/>
+  </defs>
+  <g transform="scale(0.08)">
+    <g transform="translate(40, 0)">
+      <rect width="230" height="300" x="0" y="0"
+            style="fill:url(#pageshade);fill-rule:evenodd;
+            stroke:#000000;stroke-width:1.25;"/>
+      <g transform="translate(15, 60)">
+        <use xlink:href="#hr" x="0" y="0"/>
+        <use xlink:href="#hr" x="0" y="60"/>
+        <use xlink:href="#hr" x="0" y="120"/>
+        <use xlink:href="#hr" x="0" y="180"/>
+      </g>
+    </g>
+    <g transform="translate(0,70),scale(1.1,1.6)">
+      <rect width="200" height="100" x="0" y="0"
+         style="fill:#ff0000;fill-rule:evenodd;
+                stroke:#000000;stroke-width:2.33903;"/>
+      <text x="20" y="75"
+            style="stroke:#ffffff;stroke-width:1.0;
+                   font-size:72;font-weight:normal;fill:#ffffff;
+                   font-family:Arial;text-anchor:start;">TXT</text>
+    </g>
+  </g>
+</svg>

Added: hadoop/zookeeper/site/publish/skin/skinconf.xsl
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/skin/skinconf.xsl?rev=751789&view=auto
==============================================================================
--- hadoop/zookeeper/site/publish/skin/skinconf.xsl (added)
+++ hadoop/zookeeper/site/publish/skin/skinconf.xsl Mon Mar  9 18:49:14 2009
@@ -0,0 +1,137 @@
+<?xml version="1.0"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
+  <xsl:template match="skinconfig">
+    <xsl:if test="not(colors)">
+      <colors>
+<!-- Lenya -->
+        <color name="header" value="#ffffff"/>
+        <color name="tab-selected" value="#4C6C8F" link="#ffffff" 
vlink="#ffffff" hlink="#ffffff"/>
+        <color name="tab-unselected" value="#E5E4D9" link="#000000" 
vlink="#000000" hlink="#000000"/>
+        <color name="subtab-selected" value="#4C6C8F" link="#ffffff" 
vlink="#ffffff" hlink="#ffffff"/>
+        <color name="subtab-unselected" value="#E5E4D9" link="#000000" 
vlink="#000000" hlink="#000000"/>
+        <color name="heading" value="#E5E4D9"/>
+        <color name="subheading" value="#E5E4D9"/>
+        <color name="published" value="#4C6C8F" font="#FFFFFF"/>
+        <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
+        <color name="navstrip" value="#E5E4D9" font="#000000"/>
+        <color name="toolbox" value="#CFDCED" font="#000000"/>
+        <color name="border" value="#999999"/>
+        <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" 
vlink="#ffffff" hlink="#ffffff"  />
+        <color name="menuheading" value="#cfdced" font="#000000" />
+        <color name="searchbox" value="#E5E4D9" font="#000000"/>
+        <color name="dialog" value="#E5E4D9" font="#000000"/>
+        <color name="body" value="#ffffff" />
+        <color name="table" value="#ccc"/>
+        <color name="table-cell" value="#ffffff"/>
+        <color name="highlight" value="#ffff00"/>
+        <color name="fixme" value="#cc6600"/>
+        <color name="note" value="#006699"/>
+        <color name="warning" value="#990000"/>
+        <color name="code" value="#003366"/>
+        <color name="footer" value="#E5E4D9"/>
+      </colors>
+    </xsl:if>
+    <xsl:copy>
+      <xsl:copy-of select="@*"/>
+      <xsl:copy-of select="node()[not(name(.)='colors')]"/>
+      <xsl:apply-templates select="colors"/>
+    </xsl:copy>
+  </xsl:template>
+  <xsl:template match="colors">
+    <xsl:copy>
+      <xsl:copy-of select="@*"/>
+      <xsl:copy-of select="node()[name(.)='color']"/>
+      <xsl:if test="not(col...@name='header'])">
+        <color name="header" value="#FFFFFF"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='tab-selected'])">
+        <color name="tab-selected" value="#4C6C8F" link="#ffffff" 
vlink="#ffffff" hlink="#ffffff"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='tab-unselected'])">
+        <color name="tab-unselected" value="#E5E4D9" link="#000000" 
vlink="#000000" hlink="#000000"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='subtab-selected'])">
+        <color name="subtab-selected" value="#4C6C8F" link="#ffffff" 
vlink="#ffffff" hlink="#ffffff"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='subtab-unselected'])">
+        <color name="subtab-unselected" value="#E5E4D9" link="#000000" 
vlink="#000000" hlink="#000000"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='heading'])">
+        <color name="heading" value="#E5E4D9"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='subheading'])">
+        <color name="subheading" value="#E5E4D9"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='feedback'])">
+        <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='published'])">
+        <color name="published" value="#4C6C8F" font="#FFFFFF"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='navstrip'])">
+        <color name="navstrip" value="#E5E4D9" font="#000000"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='toolbox'])">
+        <color name="toolbox" value="#CFDCED" font="#000000"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='border'])">
+        <color name="border" value="#999999"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='menu'])">
+        <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" 
vlink="#ffffff" hlink="#ffffff"  />
+      </xsl:if>
+      <xsl:if test="not(col...@name='menuheading'])">
+        <color name="menuheading" value="#cfdced" font="#000000" />
+      </xsl:if>
+      <xsl:if test="not(col...@name='searchbox'])">
+        <color name="searchbox" value="#E5E4D9" font="#000000"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='dialog'])">
+        <color name="dialog" value="#E5E4D9" font="#000000" link="#000000" 
vlink="#000000" hlink="#000000"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='body'])">
+        <color name="body" value="#ffffff" />
+      </xsl:if>
+      <xsl:if test="not(col...@name='table'])">
+        <color name="table" value="#ccc"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='table-cell'])">
+        <color name="table-cell" value="#ffffff"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='highlight'])">
+        <color name="highlight" value="#ffff00"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='fixme'])">
+        <color name="fixme" value="#c60"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='note'])">
+        <color name="note" value="#069"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='warning'])">
+        <color name="warning" value="#900"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='code'])">
+        <color name="code" value="#a5b6c6"/>
+      </xsl:if>
+      <xsl:if test="not(col...@name='footer'])">
+        <color name="footer" value="#E5E4D9"/>
+      </xsl:if>
+    </xsl:copy>
+  </xsl:template>
+</xsl:stylesheet>

Modified: hadoop/zookeeper/site/publish/version_control.html
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/site/publish/version_control.html?rev=751789&r1=751788&r2=751789&view=diff
==============================================================================
--- hadoop/zookeeper/site/publish/version_control.html (original)
+++ hadoop/zookeeper/site/publish/version_control.html Mon Mar  9 18:49:14 2009
@@ -4,7 +4,7 @@
 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta content="Apache Forrest" name="Generator">
 <meta name="Forrest-version" content="0.8">
-<meta name="Forrest-skin-name" content="pelt">
+<meta name="Forrest-skin-name" content="hadoop-pelt">
 <title>ZooKeeper Version Control System</title>
 <link type="text/css" href="skin/basic.css" rel="stylesheet">
 <link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
@@ -113,6 +113,9 @@
 <div class="menuitem">
 <a href="http://www.apache.org/foundation/thanks.html";>Sponsors</a>
 </div>
+<div class="menuitem">
+<a href="http://hadoop.apache.org/privacy_policy.html";>Privacy Policy</a>
+</div>
 </div>
 <div onclick="SwitchMenu('menu_1.2', 'skin/')" id="menu_1.2Title" 
class="menutitle">Documentation</div>
 <div id="menu_1.2" class="menuitemgroup">
@@ -251,5 +254,13 @@
     |end bottomstrip
     +-->
 </div>
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl."; : 
"http://www.";);
+document.write(unescape("%3Cscript src='" + gaJsHost + 
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script><script type="text/javascript">
+try {
+var pageTracker = _gat._getTracker("UA-7453027-1");
+pageTracker._trackPageview();
+} catch(err) {}</script>
 </body>
 </html>


Reply via email to