You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by gs...@apache.org on 2009/06/11 13:53:08 UTC
svn commit: r783728 [1/4] - in /lucene/solr/trunk: site/ site/skin/
site/skin/images/ src/site/ src/site/src/documentation/
src/site/src/documentation/skins/ src/site/src/documentation/skins/common/
src/site/src/documentation/skins/common/css/ src/site...
Author: gsingers
Date: Thu Jun 11 11:53:05 2009
New Revision: 783728
URL: http://svn.apache.org/viewvc?rev=783728&view=rev
Log:
SOLR-1209: change default search to be Solr powered instead of Google powered
Added:
lucene/solr/trunk/src/site/src/documentation/skins/
lucene/solr/trunk/src/site/src/documentation/skins/common/
lucene/solr/trunk/src/site/src/documentation/skins/common/css/
lucene/solr/trunk/src/site/src/documentation/skins/common/css/forrest.css.xslt
lucene/solr/trunk/src/site/src/documentation/skins/common/images/
lucene/solr/trunk/src/site/src/documentation/skins/common/images/README.txt
lucene/solr/trunk/src/site/src/documentation/skins/common/images/corner-imports.svg.xslt
lucene/solr/trunk/src/site/src/documentation/skins/common/images/dc.svg.xslt
lucene/solr/trunk/src/site/src/documentation/skins/common/images/poddoc.svg.xslt
lucene/solr/trunk/src/site/src/documentation/skins/common/images/rc.svg.xslt
lucene/solr/trunk/src/site/src/documentation/skins/common/images/txtdoc.svg.xslt
lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/
lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/breadcrumbs-optimized.js
lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/breadcrumbs.js
lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/fontsize.js
lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/getBlank.js
lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/getMenu.js
lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/menu.js
lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/prototype.js
lucene/solr/trunk/src/site/src/documentation/skins/common/skinconf.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/translations/
lucene/solr/trunk/src/site/src/documentation/skins/common/translations/CommonMessages_de.xml
lucene/solr/trunk/src/site/src/documentation/skins/common/translations/CommonMessages_en_US.xml
lucene/solr/trunk/src/site/src/documentation/skins/common/translations/CommonMessages_es.xml
lucene/solr/trunk/src/site/src/documentation/skins/common/translations/CommonMessages_fr.xml
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/fo/
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/fo/document-to-fo.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/fo/footerinfo.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/fo/pdfoutline.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/html/
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/html/book-to-menu.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/html/document-to-html.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/html/dotdots.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/html/pathutils.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/html/renderlogo.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/html/site-to-xhtml.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/html/split.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/html/strip_namespaces.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/html/tab-to-menu.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/html/tabutils.xsl
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/svg/
lucene/solr/trunk/src/site/src/documentation/skins/common/xslt/svg/document-to-svg.xsl
lucene/solr/trunk/src/site/src/documentation/skins/lucene/
lucene/solr/trunk/src/site/src/documentation/skins/lucene/css/
lucene/solr/trunk/src/site/src/documentation/skins/lucene/css/basic.css
lucene/solr/trunk/src/site/src/documentation/skins/lucene/css/print.css
lucene/solr/trunk/src/site/src/documentation/skins/lucene/css/profile.css.xslt
lucene/solr/trunk/src/site/src/documentation/skins/lucene/css/screen.css
lucene/solr/trunk/src/site/src/documentation/skins/lucene/note.txt
lucene/solr/trunk/src/site/src/documentation/skins/lucene/skinconf.xsl
lucene/solr/trunk/src/site/src/documentation/skins/lucene/xslt/
lucene/solr/trunk/src/site/src/documentation/skins/lucene/xslt/fo/
lucene/solr/trunk/src/site/src/documentation/skins/lucene/xslt/fo/document-to-fo.xsl
lucene/solr/trunk/src/site/src/documentation/skins/lucene/xslt/html/
lucene/solr/trunk/src/site/src/documentation/skins/lucene/xslt/html/book-to-menu.xsl
lucene/solr/trunk/src/site/src/documentation/skins/lucene/xslt/html/document-to-html.xsl
lucene/solr/trunk/src/site/src/documentation/skins/lucene/xslt/html/site-to-xhtml.xsl
lucene/solr/trunk/src/site/src/documentation/skins/lucene/xslt/html/tab-to-menu.xsl
Modified:
lucene/solr/trunk/site/broken-links.xml
lucene/solr/trunk/site/features.html
lucene/solr/trunk/site/index.html
lucene/solr/trunk/site/issue_tracking.html
lucene/solr/trunk/site/linkmap.html
lucene/solr/trunk/site/mailing_lists.html
lucene/solr/trunk/site/skin/images/corner-imports.svg.xslt
lucene/solr/trunk/site/skin/images/dc.svg.xslt
lucene/solr/trunk/site/skin/images/poddoc.svg.xslt
lucene/solr/trunk/site/skin/images/rc.svg.xslt
lucene/solr/trunk/site/skin/images/txtdoc.svg.xslt
lucene/solr/trunk/site/skin/skinconf.xsl
lucene/solr/trunk/site/tutorial.html
lucene/solr/trunk/site/version_control.html
lucene/solr/trunk/site/who.html
lucene/solr/trunk/site/who.pdf
lucene/solr/trunk/src/site/forrest.properties
lucene/solr/trunk/src/site/src/documentation/skinconf.xml
Modified: lucene/solr/trunk/site/broken-links.xml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/broken-links.xml?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/broken-links.xml (original)
+++ lucene/solr/trunk/site/broken-links.xml Thu Jun 11 11:53:05 2009
@@ -1,12 +1,12 @@
<broken-links>
<link message="null" uri="images/solr_FC.jpg">
<referrer uri="linkmap.html"/>
- <referrer uri="tutorial.html"/>
- <referrer uri="index.html"/>
<referrer uri="issue_tracking.html"/>
- <referrer uri="version_control.html"/>
- <referrer uri="features.html"/>
<referrer uri="who.html"/>
<referrer uri="mailing_lists.html"/>
+ <referrer uri="version_control.html"/>
+ <referrer uri="tutorial.html"/>
+ <referrer uri="features.html"/>
+ <referrer uri="index.html"/>
</link>
</broken-links>
Modified: lucene/solr/trunk/site/features.html
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/features.html?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/features.html (original)
+++ lucene/solr/trunk/site/features.html Thu Jun 11 11:53:05 2009
@@ -49,7 +49,7 @@
+-->
<div class="searchbox">
<form action="http://www.google.com/search" method="get" class="roundtopsmall">
-<input value="lucene.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">
+<input value="" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">
<input name="Search" value="Search" type="submit">
</form>
</div>
Modified: lucene/solr/trunk/site/index.html
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/index.html?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/index.html (original)
+++ lucene/solr/trunk/site/index.html Thu Jun 11 11:53:05 2009
@@ -49,7 +49,7 @@
+-->
<div class="searchbox">
<form action="http://www.google.com/search" method="get" class="roundtopsmall">
-<input value="lucene.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">
+<input value="" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">
<input name="Search" value="Search" type="submit">
</form>
</div>
Modified: lucene/solr/trunk/site/issue_tracking.html
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/issue_tracking.html?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/issue_tracking.html (original)
+++ lucene/solr/trunk/site/issue_tracking.html Thu Jun 11 11:53:05 2009
@@ -49,7 +49,7 @@
+-->
<div class="searchbox">
<form action="http://www.google.com/search" method="get" class="roundtopsmall">
-<input value="lucene.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">
+<input value="" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">
<input name="Search" value="Search" type="submit">
</form>
</div>
Modified: lucene/solr/trunk/site/linkmap.html
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/linkmap.html?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/linkmap.html (original)
+++ lucene/solr/trunk/site/linkmap.html Thu Jun 11 11:53:05 2009
@@ -49,7 +49,7 @@
+-->
<div class="searchbox">
<form action="http://www.google.com/search" method="get" class="roundtopsmall">
-<input value="lucene.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">
+<input value="" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">
<input name="Search" value="Search" type="submit">
</form>
</div>
Modified: lucene/solr/trunk/site/mailing_lists.html
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/mailing_lists.html?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/mailing_lists.html (original)
+++ lucene/solr/trunk/site/mailing_lists.html Thu Jun 11 11:53:05 2009
@@ -49,7 +49,7 @@
+-->
<div class="searchbox">
<form action="http://www.google.com/search" method="get" class="roundtopsmall">
-<input value="lucene.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">
+<input value="" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">
<input name="Search" value="Search" type="submit">
</form>
</div>
Modified: lucene/solr/trunk/site/skin/images/corner-imports.svg.xslt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/skin/images/corner-imports.svg.xslt?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/skin/images/corner-imports.svg.xslt (original)
+++ lucene/solr/trunk/site/skin/images/corner-imports.svg.xslt Thu Jun 11 11:53:05 2009
@@ -1,11 +1,11 @@
<?xml version="1.0"?>
<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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
+ 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
@@ -16,81 +16,77 @@
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/color[@name=$bg-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$bg-color-name]/@value"/>;</xsl:if></xsl:variable>
- <xsl:variable name="fill"><xsl:if test="skinconfig/colors/color[@name=$stroke-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$stroke-color-name]/@value"/>;</xsl:if></xsl:variable>
- <xsl:variable name="stroke"><xsl:if test="skinconfig/colors/color[@name=$fg-color-name]">stroke:<xsl:value-of select="skinconfig/colors/color[@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"/>
+ <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/color[@name=$bg-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$bg-color-name]/@value"/>;</xsl:if>
+ </xsl:variable>
+ <xsl:variable name="fill">
+ <xsl:if test="skinconfig/colors/color[@name=$stroke-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$stroke-color-name]/@value"/>;</xsl:if>
+ </xsl:variable>
+ <xsl:variable name="stroke">
+ <xsl:if test="skinconfig/colors/color[@name=$fg-color-name]">stroke:<xsl:value-of select="skinconfig/colors/color[@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: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}"
+<!-- 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 -->
+ </g>
+<!-- end -->
</xsl:template>
-
-
<xsl:template match="*"></xsl:template>
<xsl:template match="text()"></xsl:template>
-
</xsl:stylesheet>
Modified: lucene/solr/trunk/site/skin/images/dc.svg.xslt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/skin/images/dc.svg.xslt?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/skin/images/dc.svg.xslt (original)
+++ lucene/solr/trunk/site/skin/images/dc.svg.xslt Thu Jun 11 11:53:05 2009
@@ -1,11 +1,11 @@
<?xml version="1.0"?>
<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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
+ 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
@@ -17,15 +17,12 @@
-->
<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 -->
+<!-- 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}"
+ <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>
+ </g>
</xsl:template>
-
</xsl:stylesheet>
-
Modified: lucene/solr/trunk/site/skin/images/poddoc.svg.xslt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/skin/images/poddoc.svg.xslt?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/skin/images/poddoc.svg.xslt (original)
+++ lucene/solr/trunk/site/skin/images/poddoc.svg.xslt Thu Jun 11 11:53:05 2009
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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
+ 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
@@ -30,13 +30,11 @@
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"/>
@@ -44,7 +42,6 @@
<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;
Modified: lucene/solr/trunk/site/skin/images/rc.svg.xslt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/skin/images/rc.svg.xslt?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/skin/images/rc.svg.xslt (original)
+++ lucene/solr/trunk/site/skin/images/rc.svg.xslt Thu Jun 11 11:53:05 2009
@@ -1,11 +1,11 @@
<?xml version="1.0"?>
<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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
+ 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
@@ -17,14 +17,11 @@
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="corner-imports.svg.xslt" />
-
- <!-- Rounded corner -->
+<!-- Rounded corner -->
<xsl:template name="figure">
- <g transform="translate(0.5 0.5)">
- <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
+ <g transform="translate(0.5 0.5)">
+ <ellipse cx="{$smallersize}" cy="{$smallersize}" rx="{$smallersize}" ry="{$smallersize}"
style="{$fill}{$stroke}stroke-width:1"/>
- </g>
+ </g>
</xsl:template>
-
</xsl:stylesheet>
-
Modified: lucene/solr/trunk/site/skin/images/txtdoc.svg.xslt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/skin/images/txtdoc.svg.xslt?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/skin/images/txtdoc.svg.xslt (original)
+++ lucene/solr/trunk/site/skin/images/txtdoc.svg.xslt Thu Jun 11 11:53:05 2009
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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
+ 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
@@ -30,13 +30,11 @@
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"/>
@@ -44,7 +42,6 @@
<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;
Modified: lucene/solr/trunk/site/skin/skinconf.xsl
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/skin/skinconf.xsl?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/skin/skinconf.xsl (original)
+++ lucene/solr/trunk/site/skin/skinconf.xsl Thu Jun 11 11:53:05 2009
@@ -1,11 +1,11 @@
<?xml version="1.0"?>
<!--
- Copyright 2002-2004 The Apache Software Foundation or its licensors,
- as applicable.
-
- Licensed 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
+ 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
@@ -16,138 +16,223 @@
limitations under the License.
-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
- <xsl:template match="skinconfig">
-
+ <xsl:template match="skinconfig">
+ <xsl:copy>
+ <xsl:if test="not(disable-print-link)">
+ <disable-print-link>true</disable-print-link>
+ </xsl:if>
+ <xsl:if test="not(disable-pdf-link)">
+ <disable-pdf-link>true</disable-pdf-link>
+ </xsl:if>
+ <xsl:if test="not(disable-txt-link)">
+ <disable-txt-link>true</disable-txt-link>
+ </xsl:if>
+ <xsl:if test="not(disable-pod-link)">
+ <disable-pod-link>true</disable-pod-link>
+ </xsl:if>
+ <xsl:if test="not(disable-xml-link)">
+ <disable-xml-link>true</disable-xml-link>
+ </xsl:if>
+ <xsl:if test="not(disable-external-link-image)">
+ <disable-external-link-image>false</disable-external-link-image>
+ </xsl:if>
+ <xsl:if test="not(disable-compliance-links)">
+ <disable-compliance-links>false</disable-compliance-links>
+ </xsl:if>
+ <xsl:if test="not(obfuscate-mail-links)">
+ <obfuscate-mail-links>true</obfuscate-mail-links>
+ </xsl:if>
+ <xsl:if test="not(obfuscate-mail-value)">
+ <obfuscate-mail-value>.at.</obfuscate-mail-value>
+ </xsl:if>
+ <xsl:if test="not(disable-font-script)">
+ <disable-font-script>true</disable-font-script>
+ </xsl:if>
+<!--
+ <xsl:if test="not(project-name)">
+ <project-name>MyProject</project-name>
+ </xsl:if>
+ <xsl:if test="not(project-description)">
+ <project-description>MyProject Description</project-description>
+ </xsl:if>
+ <xsl:if test="not(project-url)">
+ <project-url>http://myproj.mygroup.org/</project-url>
+ </xsl:if>
+ <xsl:if test="not(project-logo)">
+ <project-logo>images/project.png</project-logo>
+ </xsl:if>
+ <xsl:if test="not(group-name)">
+ <group-name>MyGroup</group-name>
+ </xsl:if>
+ <xsl:if test="not(group-description)">
+ <group-description>MyGroup Description</group-description>
+ </xsl:if>
+ <xsl:if test="not(group-url)">
+ <group-url>http://mygroup.org</group-url>
+ </xsl:if>
+ <xsl:if test="not(group-logo)">
+ <group-logo>images/group.png</group-logo>
+ </xsl:if>
+ <xsl:if test="not(host-url)">
+ <host-url/>
+ </xsl:if>
+ <xsl:if test="not(host-logo)">
+ <host-logo/>
+ </xsl:if>
+ <xsl:if test="not(year)">
+ <year>2006</year>
+ </xsl:if>
+ <xsl:if test="not(vendor)">
+ <vendor>The Acme Software Foundation.</vendor>
+ </xsl:if>
+ -->
+ <xsl:if test="not(trail)">
+ <trail>
+ <link1 name="" href=""/>
+ <link2 name="" href=""/>
+ <link3 name="" href=""/>
+ </trail>
+ </xsl:if>
+ <xsl:if test="not(toc)">
+ <toc level="2" location="page"/>
+ </xsl:if>
+ <xsl:if test="not(pdf/page-numbering-format)">
+ <pdf>
+ <page-numbering-format>Page 1</page-numbering-format>
+ </pdf>
+ </xsl:if>
+ <xsl:if test="not(pdf/show-external-urls)">
+ <pdf>
+ <show-external-urls>true</show-external-urls>
+ </pdf>
+ </xsl:if>
+<!--
<xsl:if test="not(colors)">
<colors>
-<!-- Lenya -->
- <color name="header" value="#ffffff"/>
+ <color name="header" value="#294563"/>
+
+ <color name="tab-selected" value="#4a6d8c"/>
+ <color name="tab-unselected" value="#b5c7e7"/>
+ <color name="subtab-selected" value="#4a6d8c"/>
+ <color name="subtab-unselected" value="#4a6d8c"/>
+
+ <color name="heading" value="#294563"/>
+ <color name="subheading" value="#4a6d8c"/>
+
+ <color name="navstrip" value="#cedfef"/>
+ <color name="toolbox" value="#294563"/>
+
+ <color name="menu" value="#4a6d8c"/>
+ <color name="dialog" value="#4a6d8c"/>
+
+ <color name="body" 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="table" value="#7099C5"/>
+ <color name="table-cell" value="#f0f0ff"/>
<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"/>
+ <color name="fixme" value="#c60"/>
+ <color name="note" value="#069"/>
+
+ <color name="warning" value="#900"/>
+ <color name="code" value="#CFDCED"/>
+
+ <color name="footer" value="#cedfef"/>
</colors>
</xsl:if>
-
- <xsl:copy>
+-->
+ <xsl:if test="not(extra-css)">
+ <extra-css/>
+ </xsl:if>
+ <xsl:if test="not(credits)">
+ <credits>
+ <credit>
+ <name>Built with Apache Forrest</name>
+ <url>http://forrest.apache.org/</url>
+ <image>images/built-with-forrest-button.png</image>
+ <width>88</width>
+ <height>31</height>
+ </credit>
+<!-- A credit with @role='pdf' will have its name and url displayed in the
+ PDF page's footer. -->
+ </credits>
+ </xsl:if>
<xsl:copy-of select="@*"/>
- <xsl:copy-of select="node()[not(name(.)='colors')]"/>
- <xsl:apply-templates select="colors"/>
- </xsl:copy>
-
- </xsl:template>
-
+ <xsl:copy-of select="node()"/>
+<!--
+ <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']"/>
-
+ <colors>
<xsl:if test="not(color[@name='header'])">
- <color name="header" value="#FFFFFF"/>
- </xsl:if>
+ <color name="header" value="#294563"/>
+ </xsl:if>
<xsl:if test="not(color[@name='tab-selected'])">
- <color name="tab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- </xsl:if>
+ <color name="tab-selected" value="#4a6d8c"/>
+ </xsl:if>
<xsl:if test="not(color[@name='tab-unselected'])">
- <color name="tab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
+ <color name="tab-unselected" value="#b5c7e7"/>
</xsl:if>
<xsl:if test="not(color[@name='subtab-selected'])">
- <color name="subtab-selected" value="#4C6C8F" link="#ffffff" vlink="#ffffff" hlink="#ffffff"/>
- </xsl:if>
+ <color name="subtab-selected" value="#4a6d8c"/>
+ </xsl:if>
<xsl:if test="not(color[@name='subtab-unselected'])">
- <color name="subtab-unselected" value="#E5E4D9" link="#000000" vlink="#000000" hlink="#000000"/>
- </xsl:if>
+ <color name="subtab-unselected" value="#4a6d8c"/>
+ </xsl:if>
<xsl:if test="not(color[@name='heading'])">
- <color name="heading" value="#E5E4D9"/>
- </xsl:if>
+ <color name="heading" value="#294563"/>
+ </xsl:if>
<xsl:if test="not(color[@name='subheading'])">
- <color name="subheading" value="#E5E4D9"/>
+ <color name="subheading" value="#4a6d8c"/>
</xsl:if>
- <xsl:if test="not(color[@name='published'])">
- <color name="feedback" value="#4C6C8F" font="#FFFFFF" align="center"/>
- </xsl:if>
- <xsl:if test="not(color[@name='published'])">
- <color name="published" value="#4C6C8F" font="#FFFFFF"/>
- </xsl:if>
<xsl:if test="not(color[@name='navstrip'])">
- <color name="navstrip" value="#E5E4D9" font="#000000"/>
- </xsl:if>
+ <color name="navstrip" value="#cedfef"/>
+ </xsl:if>
<xsl:if test="not(color[@name='toolbox'])">
- <color name="toolbox" value="#CFDCED" font="#000000"/>
- </xsl:if>
- <xsl:if test="not(color[@name='border'])">
- <color name="border" value="#999999"/>
- </xsl:if>
+ <color name="toolbox" value="#294563"/>
+ </xsl:if>
<xsl:if test="not(color[@name='menu'])">
- <color name="menu" value="#4C6C8F" font="#ffffff" link="#ffffff" vlink="#ffffff" hlink="#ffffff" />
+ <color name="menu" value="#4a6d8c"/>
</xsl:if>
- <xsl:if test="not(color[@name='menuheading'])">
- <color name="menuheading" value="#cfdced" font="#000000" />
- </xsl:if>
- <xsl:if test="not(color[@name='searchbox'])">
- <color name="searchbox" value="#E5E4D9" font="#000000"/>
- </xsl:if>
<xsl:if test="not(color[@name='dialog'])">
- <color name="dialog" value="#E5E4D9" font="#000000" link="#000000" vlink="#000000" hlink="#000000"/>
- </xsl:if>
+ <color name="dialog" value="#4a6d8c"/>
+ </xsl:if>
<xsl:if test="not(color[@name='body'])">
- <color name="body" value="#ffffff" />
- </xsl:if>
+ <color name="body" value="#ffffff"/>
+ </xsl:if>
<xsl:if test="not(color[@name='table'])">
- <color name="table" value="#ccc"/>
- </xsl:if>
+ <color name="table" value="#7099C5"/>
+ </xsl:if>
<xsl:if test="not(color[@name='table-cell'])">
- <color name="table-cell" value="#ffffff"/>
- </xsl:if>
+ <color name="table-cell" value="#f0f0ff"/>
+ </xsl:if>
<xsl:if test="not(color[@name='highlight'])">
- <color name="highlight" value="#ffff00"/>
- </xsl:if>
+ <color name="highlight" value="#yellow"/>
+ </xsl:if>
<xsl:if test="not(color[@name='fixme'])">
<color name="fixme" value="#c60"/>
- </xsl:if>
+ </xsl:if>
<xsl:if test="not(color[@name='note'])">
<color name="note" value="#069"/>
- </xsl:if>
+ </xsl:if>
<xsl:if test="not(color[@name='warning'])">
<color name="warning" value="#900"/>
- </xsl:if>
+ </xsl:if>
<xsl:if test="not(color[@name='code'])">
- <color name="code" value="#a5b6c6"/>
- </xsl:if>
+ <color name="code" value="#CFDCED"/>
+ </xsl:if>
<xsl:if test="not(color[@name='footer'])">
- <color name="footer" value="#E5E4D9"/>
- </xsl:if>
-
- </xsl:copy>
+ <color name="footer" value="#cedfef"/>
+ </xsl:if>
+
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:copy-of select="node()[name(.)='color']"/>
+ </xsl:copy>
+ </colors>
</xsl:template>
-
+-->
</xsl:stylesheet>
Modified: lucene/solr/trunk/site/tutorial.html
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/tutorial.html?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/tutorial.html (original)
+++ lucene/solr/trunk/site/tutorial.html Thu Jun 11 11:53:05 2009
@@ -5,7 +5,7 @@
<meta content="Apache Forrest" name="Generator">
<meta name="Forrest-version" content="0.8">
<meta name="Forrest-skin-name" content="pelt">
-<title>Solr tutorial (version 1.3.0.2009.04.03.17.24.49)</title>
+<title>Solr tutorial (version 1.3.0.2009.06.08.10.38.19)</title>
<link type="text/css" href="skin/basic.css" rel="stylesheet">
<link media="screen" type="text/css" href="skin/screen.css" rel="stylesheet">
<link media="print" type="text/css" href="skin/print.css" rel="stylesheet">
@@ -49,7 +49,7 @@
+-->
<div class="searchbox">
<form action="http://www.google.com/search" method="get" class="roundtopsmall">
-<input value="lucene.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">
+<input value="" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">
<input name="Search" value="Search" type="submit">
</form>
</div>
@@ -155,7 +155,7 @@
</div>
<div id="credit">
<hr>
- This document is for Apache Solr version 1.3.0.2009.04.03.17.24.49. If you are using a different version of Solr, please consult the documentation that was distributed with the version you are using.
+ This document is for Apache Solr version 1.3.0.2009.06.08.10.38.19. If you are using a different version of Solr, please consult the documentation that was distributed with the version you are using.
</div>
<div id="roundbottom">
<img style="display: none" class="corner" height="15" width="15" alt="" src="skin/images/rc-b-l-15-1body-2menu-3menu.png"></div>
@@ -177,7 +177,7 @@
</div>
<h1>Solr tutorial</h1>
<div id="motd-area">
- This document is for Apache Solr version 1.3.0.2009.04.03.17.24.49. If you are using a different version of Solr, please consult the documentation that was distributed with the version you are using.
+ This document is for Apache Solr version 1.3.0.2009.06.08.10.38.19. If you are using a different version of Solr, please consult the documentation that was distributed with the version you are using.
</div>
<div id="minitoc-area">
<ul class="minitoc">
Modified: lucene/solr/trunk/site/version_control.html
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/version_control.html?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/version_control.html (original)
+++ lucene/solr/trunk/site/version_control.html Thu Jun 11 11:53:05 2009
@@ -49,7 +49,7 @@
+-->
<div class="searchbox">
<form action="http://www.google.com/search" method="get" class="roundtopsmall">
-<input value="lucene.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">
+<input value="" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">
<input name="Search" value="Search" type="submit">
</form>
</div>
Modified: lucene/solr/trunk/site/who.html
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/who.html?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/site/who.html (original)
+++ lucene/solr/trunk/site/who.html Thu Jun 11 11:53:05 2009
@@ -49,7 +49,7 @@
+-->
<div class="searchbox">
<form action="http://www.google.com/search" method="get" class="roundtopsmall">
-<input value="lucene.apache.org" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google">
+<input value="" name="sitesearch" type="hidden"><input onFocus="getBlank (this, 'Search the site with Solr');" size="25" name="q" id="query" type="text" value="Search the site with Solr">
<input name="Search" value="Search" type="submit">
</form>
</div>
@@ -208,7 +208,7 @@
<li>Ryan McKinley</li>
<li>Mark Miller</li>
-
+
<li>Noble Paul</li>
<li>Yonik Seeley</li>
@@ -219,7 +219,7 @@
</div>
-<a name="N1003B"></a><a name="Inactive+Committers+%28in+alphabetical+order%29"></a>
+<a name="N1003E"></a><a name="Inactive+Committers+%28in+alphabetical+order%29"></a>
<h2 class="boxed">Inactive Committers (in alphabetical order)</h2>
<div class="section">
<ul>
Modified: lucene/solr/trunk/site/who.pdf
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/site/who.pdf?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
Binary files - no diff available.
Modified: lucene/solr/trunk/src/site/forrest.properties
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/forrest.properties?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/src/site/forrest.properties (original)
+++ lucene/solr/trunk/src/site/forrest.properties Thu Jun 11 11:53:05 2009
@@ -26,7 +26,7 @@
# Specifies name of Forrest skin to use
# See list at http://forrest.apache.org/docs/skins.html
-#project.skin=pelt
+project.skin=lucene
# Descriptors for plugins and skins
# comma separated list, file:// is supported
Modified: lucene/solr/trunk/src/site/src/documentation/skinconf.xml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skinconf.xml?rev=783728&r1=783727&r2=783728&view=diff
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skinconf.xml (original)
+++ lucene/solr/trunk/src/site/src/documentation/skinconf.xml Thu Jun 11 11:53:05 2009
@@ -35,7 +35,7 @@
no search box. @domain will enable sitesearch for the specific domain with google.
In other words google will search the @domain for the query string.
-->
- <search name="Solr" domain="lucene.apache.org" provider="google"/>
+ <search name="Solr" provider="Solr"/>
<!-- Disable the print link? If enabled, invalid HTML 4.0.1 -->
<disable-print-link>true</disable-print-link>
Added: lucene/solr/trunk/src/site/src/documentation/skins/common/css/forrest.css.xslt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/css/forrest.css.xslt?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/css/forrest.css.xslt (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/css/forrest.css.xslt Thu Jun 11 11:53:05 2009
@@ -0,0 +1,78 @@
+<?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">
+<!-- This is not used by Forrest but makes it possible to debug the
+ stylesheet in standalone editors -->
+ <xsl:output method = "text" omit-xml-declaration="yes" />
+<!--
+ If the skin doesn't override this, at least aural styles
+ and extra-css are present
+-->
+ <xsl:template match="skinconfig">
+ <xsl:call-template name="aural"/>
+ <xsl:call-template name="a-external"/>
+ <xsl:apply-templates/>
+ <xsl:call-template name="add-extra-css"/>
+ </xsl:template>
+ <xsl:template match="colors">
+ <xsl:apply-templates/>
+ </xsl:template>
+ <xsl:template name="aural">
+
+/* ==================== aural ============================ */
+
+@media aural {
+ h1, h2, h3, h4, h5, h6 { voice-family: paul, male; stress: 20; richness: 90 }
+ h1 { pitch: x-low; pitch-range: 90 }
+ h2 { pitch: x-low; pitch-range: 80 }
+ h3 { pitch: low; pitch-range: 70 }
+ h4 { pitch: medium; pitch-range: 60 }
+ h5 { pitch: medium; pitch-range: 50 }
+ h6 { pitch: medium; pitch-range: 40 }
+ li, dt, dd { pitch: medium; richness: 60 }
+ dt { stress: 80 }
+ pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
+ em { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
+ strong { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
+ dfn { pitch: high; pitch-range: 60; stress: 60 }
+ s, strike { richness: 0 }
+ i { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
+ b { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
+ u { richness: 0 }
+
+ :link { voice-family: harry, male }
+ :visited { voice-family: betty, female }
+ :active { voice-family: betty, female; pitch-range: 80; pitch: x-high }
+}
+ </xsl:template>
+ <xsl:template name="a-external">
+a.external {
+ padding: 0 20px 0px 0px;
+ display:inline;
+ background-repeat: no-repeat;
+ background-position: center right;
+ background-image: url(images/external-link.gif);
+}
+ </xsl:template>
+ <xsl:template name="add-extra-css">
+<xsl:text>/* extra-css */</xsl:text>
+ <xsl:value-of select="extra-css"/>
+ </xsl:template>
+ <xsl:template match="*"></xsl:template>
+ <xsl:template match="text()"></xsl:template>
+</xsl:stylesheet>
Added: lucene/solr/trunk/src/site/src/documentation/skins/common/images/README.txt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/images/README.txt?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/images/README.txt (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/images/README.txt Thu Jun 11 11:53:05 2009
@@ -0,0 +1 @@
+The images in this directory are used if the current skin lacks them.
Added: lucene/solr/trunk/src/site/src/documentation/skins/common/images/corner-imports.svg.xslt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/images/corner-imports.svg.xslt?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/images/corner-imports.svg.xslt (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/images/corner-imports.svg.xslt Thu Jun 11 11:53:05 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/color[@name=$bg-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$bg-color-name]/@value"/>;</xsl:if>
+ </xsl:variable>
+ <xsl:variable name="fill">
+ <xsl:if test="skinconfig/colors/color[@name=$stroke-color-name]">fill:<xsl:value-of select="skinconfig/colors/color[@name=$stroke-color-name]/@value"/>;</xsl:if>
+ </xsl:variable>
+ <xsl:variable name="stroke">
+ <xsl:if test="skinconfig/colors/color[@name=$fg-color-name]">stroke:<xsl:value-of select="skinconfig/colors/color[@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: lucene/solr/trunk/src/site/src/documentation/skins/common/images/dc.svg.xslt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/images/dc.svg.xslt?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/images/dc.svg.xslt (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/images/dc.svg.xslt Thu Jun 11 11:53:05 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: lucene/solr/trunk/src/site/src/documentation/skins/common/images/poddoc.svg.xslt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/images/poddoc.svg.xslt?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/images/poddoc.svg.xslt (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/images/poddoc.svg.xslt Thu Jun 11 11:53:05 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: lucene/solr/trunk/src/site/src/documentation/skins/common/images/rc.svg.xslt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/images/rc.svg.xslt?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/images/rc.svg.xslt (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/images/rc.svg.xslt Thu Jun 11 11:53:05 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: lucene/solr/trunk/src/site/src/documentation/skins/common/images/txtdoc.svg.xslt
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/images/txtdoc.svg.xslt?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/images/txtdoc.svg.xslt (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/images/txtdoc.svg.xslt Thu Jun 11 11:53:05 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: lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/breadcrumbs-optimized.js
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/breadcrumbs-optimized.js?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/breadcrumbs-optimized.js (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/breadcrumbs-optimized.js Thu Jun 11 11:53:05 2009
@@ -0,0 +1,90 @@
+/*
+* 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.
+*/
+var PREPREND_CRUMBS=new Array();
+var link1="@skinconfig.trail.link1.name@";
+var link2="@skinconfig.trail.link2.name@";
+var link3="@skinconfig.trail.link3.name@";
+if(!(link1=="")&&!link1.indexOf( "@" ) == 0){
+ PREPREND_CRUMBS.push( new Array( link1, @skinconfig.trail.link1.href@ ) ); }
+if(!(link2=="")&&!link2.indexOf( "@" ) == 0){
+ PREPREND_CRUMBS.push( new Array( link2, @skinconfig.trail.link2.href@ ) ); }
+if(!(link3=="")&&!link3.indexOf( "@" ) == 0){
+ PREPREND_CRUMBS.push( new Array( link3, @skinconfig.trail.link3.href@ ) ); }
+var DISPLAY_SEPARATOR=" > ";
+var DISPLAY_PREPREND=" > ";
+var DISPLAY_POSTPREND=":";
+var CSS_CLASS_CRUMB="breadcrumb";
+var CSS_CLASS_TRAIL="breadcrumbTrail";
+var CSS_CLASS_SEPARATOR="crumbSeparator";
+var FILE_EXTENSIONS=new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" );
+var PATH_SEPARATOR="/";
+
+function sc(s) {
+ var l=s.toLowerCase();
+ return l.substr(0,1).toUpperCase()+l.substr(1);
+}
+function getdirs() {
+ var t=document.location.pathname.split(PATH_SEPARATOR);
+ var lc=t[t.length-1];
+ for(var i=0;i < FILE_EXTENSIONS.length;i++)
+ {
+ if(lc.indexOf(FILE_EXTENSIONS[i]))
+ return t.slice(1,t.length-1); }
+ return t.slice(1,t.length);
+}
+function getcrumbs( d )
+{
+ var pre = "/";
+ var post = "/";
+ var c = new Array();
+ if( d != null )
+ {
+ for(var i=0;i < d.length;i++) {
+ pre+=d[i]+postfix;
+ c.push(new Array(d[i],pre)); }
+ }
+ if(PREPREND_CRUMBS.length > 0 )
+ return PREPREND_CRUMBS.concat( c );
+ return c;
+}
+function gettrail( c )
+{
+ var h=DISPLAY_PREPREND;
+ for(var i=0;i < c.length;i++)
+ {
+ h+='<a href="'+c[i][1]+'" >'+sc(c[i][0])+'</a>';
+ if(i!=(c.length-1))
+ h+=DISPLAY_SEPARATOR; }
+ return h+DISPLAY_POSTPREND;
+}
+
+function gettrailXHTML( c )
+{
+ var h='<span class="'+CSS_CLASS_TRAIL+'">'+DISPLAY_PREPREND;
+ for(var i=0;i < c.length;i++)
+ {
+ h+='<a href="'+c[i][1]+'" class="'+CSS_CLASS_CRUMB+'">'+sc(c[i][0])+'</a>';
+ if(i!=(c.length-1))
+ h+='<span class="'+CSS_CLASS_SEPARATOR+'">'+DISPLAY_SEPARATOR+'</span>'; }
+ return h+DISPLAY_POSTPREND+'</span>';
+}
+
+if(document.location.href.toLowerCase().indexOf("http://")==-1)
+ document.write(gettrail(getcrumbs()));
+else
+ document.write(gettrail(getcrumbs(getdirs())));
+
Added: lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/breadcrumbs.js
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/breadcrumbs.js?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/breadcrumbs.js (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/breadcrumbs.js Thu Jun 11 11:53:05 2009
@@ -0,0 +1,237 @@
+/*
+* 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.
+*/
+/**
+ * This script, when included in a html file, builds a neat breadcrumb trail
+ * based on its url. That is, if it doesn't contains bugs (I'm relatively
+ * sure it does).
+ *
+ * Typical usage:
+ * <script type="text/javascript" language="JavaScript" src="breadcrumbs.js"></script>
+ */
+
+/**
+ * IE 5 on Mac doesn't know Array.push.
+ *
+ * Implement it - courtesy to fritz.
+ */
+var abc = new Array();
+if (!abc.push) {
+ Array.prototype.push = function(what){this[this.length]=what}
+}
+
+/* ========================================================================
+ CONSTANTS
+ ======================================================================== */
+
+/**
+ * Two-dimensional array containing extra crumbs to place at the front of
+ * the trail. Specify first the name of the crumb, then the URI that belongs
+ * to it. You'll need to modify this for every domain or subdomain where
+ * you use this script (you can leave it as an empty array if you wish)
+ */
+var PREPREND_CRUMBS = new Array();
+
+var link1 = "@skinconfig.trail.link1.name@";
+var link2 = "@skinconfig.trail.link2.name@";
+var link3 = "@skinconfig.trail.link3.name@";
+
+var href1 = "@skinconfig.trail.link1.href@";
+var href2 = "@skinconfig.trail.link2.href@";
+var href3 = "@skinconfig.trail.link3.href@";
+
+ if(!(link1=="")&&!link1.indexOf( "@" ) == 0){
+ PREPREND_CRUMBS.push( new Array( link1, href1 ) );
+ }
+ if(!(link2=="")&&!link2.indexOf( "@" ) == 0){
+ PREPREND_CRUMBS.push( new Array( link2, href2 ) );
+ }
+ if(!(link3=="")&&!link3.indexOf( "@" ) == 0){
+ PREPREND_CRUMBS.push( new Array( link3, href3 ) );
+ }
+
+/**
+ * String to include between crumbs:
+ */
+var DISPLAY_SEPARATOR = " > ";
+/**
+ * String to include at the beginning of the trail
+ */
+var DISPLAY_PREPREND = " > ";
+/**
+ * String to include at the end of the trail
+ */
+var DISPLAY_POSTPREND = "";
+
+/**
+ * CSS Class to use for a single crumb:
+ */
+var CSS_CLASS_CRUMB = "breadcrumb";
+
+/**
+ * CSS Class to use for the complete trail:
+ */
+var CSS_CLASS_TRAIL = "breadcrumbTrail";
+
+/**
+ * CSS Class to use for crumb separator:
+ */
+var CSS_CLASS_SEPARATOR = "crumbSeparator";
+
+/**
+ * Array of strings containing common file extensions. We use this to
+ * determine what part of the url to ignore (if it contains one of the
+ * string specified here, we ignore it).
+ */
+var FILE_EXTENSIONS = new Array( ".html", ".htm", ".jsp", ".php", ".php3", ".php4" );
+
+/**
+ * String that separates parts of the breadcrumb trail from each other.
+ * When this is no longer a slash, I'm sure I'll be old and grey.
+ */
+var PATH_SEPARATOR = "/";
+
+/* ========================================================================
+ UTILITY FUNCTIONS
+ ======================================================================== */
+/**
+ * Capitalize first letter of the provided string and return the modified
+ * string.
+ */
+function sentenceCase( string )
+{ return string;
+ //var lower = string.toLowerCase();
+ //return lower.substr(0,1).toUpperCase() + lower.substr(1);
+}
+
+/**
+ * Returns an array containing the names of all the directories in the
+ * current document URL
+ */
+function getDirectoriesInURL()
+{
+ var trail = document.location.pathname.split( PATH_SEPARATOR );
+
+ // check whether last section is a file or a directory
+ var lastcrumb = trail[trail.length-1];
+ for( var i = 0; i < FILE_EXTENSIONS.length; i++ )
+ {
+ if( lastcrumb.indexOf( FILE_EXTENSIONS[i] ) )
+ {
+ // it is, remove it and send results
+ return trail.slice( 1, trail.length-1 );
+ }
+ }
+
+ // it's not; send the trail unmodified
+ return trail.slice( 1, trail.length );
+}
+
+/* ========================================================================
+ BREADCRUMB FUNCTIONALITY
+ ======================================================================== */
+/**
+ * Return a two-dimensional array describing the breadcrumbs based on the
+ * array of directories passed in.
+ */
+function getBreadcrumbs( dirs )
+{
+ var prefix = "/";
+ var postfix = "/";
+
+ // the array we will return
+ var crumbs = new Array();
+
+ if( dirs != null )
+ {
+ for( var i = 0; i < dirs.length; i++ )
+ {
+ prefix += dirs[i] + postfix;
+ crumbs.push( new Array( dirs[i], prefix ) );
+ }
+ }
+
+ // preprend the PREPREND_CRUMBS
+ if(PREPREND_CRUMBS.length > 0 )
+ {
+ return PREPREND_CRUMBS.concat( crumbs );
+ }
+
+ return crumbs;
+}
+
+/**
+ * Return a string containing a simple text breadcrumb trail based on the
+ * two-dimensional array passed in.
+ */
+function getCrumbTrail( crumbs )
+{
+ var xhtml = DISPLAY_PREPREND;
+
+ for( var i = 0; i < crumbs.length; i++ )
+ {
+ xhtml += '<a href="' + crumbs[i][1] + '" >';
+ xhtml += unescape( crumbs[i][0] ) + '</a>';
+ if( i != (crumbs.length-1) )
+ {
+ xhtml += DISPLAY_SEPARATOR;
+ }
+ }
+
+ xhtml += DISPLAY_POSTPREND;
+
+ return xhtml;
+}
+
+/**
+ * Return a string containing an XHTML breadcrumb trail based on the
+ * two-dimensional array passed in.
+ */
+function getCrumbTrailXHTML( crumbs )
+{
+ var xhtml = '<span class="' + CSS_CLASS_TRAIL + '">';
+ xhtml += DISPLAY_PREPREND;
+
+ for( var i = 0; i < crumbs.length; i++ )
+ {
+ xhtml += '<a href="' + crumbs[i][1] + '" class="' + CSS_CLASS_CRUMB + '">';
+ xhtml += unescape( crumbs[i][0] ) + '</a>';
+ if( i != (crumbs.length-1) )
+ {
+ xhtml += '<span class="' + CSS_CLASS_SEPARATOR + '">' + DISPLAY_SEPARATOR + '</span>';
+ }
+ }
+
+ xhtml += DISPLAY_POSTPREND;
+ xhtml += '</span>';
+
+ return xhtml;
+}
+
+/* ========================================================================
+ PRINT BREADCRUMB TRAIL
+ ======================================================================== */
+
+// check if we're local; if so, only print the PREPREND_CRUMBS
+if( document.location.href.toLowerCase().indexOf( "http://" ) == -1 )
+{
+ document.write( getCrumbTrail( getBreadcrumbs() ) );
+}
+else
+{
+ document.write( getCrumbTrail( getBreadcrumbs( getDirectoriesInURL() ) ) );
+}
+
Added: lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/fontsize.js
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/fontsize.js?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/fontsize.js (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/fontsize.js Thu Jun 11 11:53:05 2009
@@ -0,0 +1,166 @@
+/*
+* 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.
+*/
+function init()
+{ //embedded in the doc
+ //ndeSetTextSize();
+}
+
+function checkBrowser(){
+ if (!document.getElementsByTagName){
+ return true;
+ }
+ else{
+ return false;
+ }
+}
+
+
+function ndeSetTextSize(chgsize,rs)
+{
+ var startSize;
+ var newSize;
+
+ if (!checkBrowser)
+ {
+ return;
+ }
+
+ startSize = parseInt(ndeGetDocTextSize());
+
+ if (!startSize)
+ {
+ startSize = 16;
+ }
+
+ switch (chgsize)
+ {
+ case 'incr':
+ newSize = startSize + 2;
+ break;
+
+ case 'decr':
+ newSize = startSize - 2;
+ break;
+
+ case 'reset':
+ if (rs) {newSize = rs;} else {newSize = 16;}
+ break;
+
+ default:
+ try{
+ newSize = parseInt(ndeReadCookie("nde-textsize"));
+ }
+ catch(e){
+ alert(e);
+ }
+
+ if (!newSize || newSize == 'NaN')
+ {
+ newSize = startSize;
+ }
+ break;
+
+ }
+
+ if (newSize < 10)
+ {
+ newSize = 10;
+ }
+
+ newSize += 'px';
+
+ document.getElementsByTagName('html')[0].style.fontSize = newSize;
+ document.getElementsByTagName('body')[0].style.fontSize = newSize;
+
+ ndeCreateCookie("nde-textsize", newSize, 365);
+}
+
+function ndeGetDocTextSize()
+{
+ if (!checkBrowser)
+ {
+ return 0;
+ }
+
+ var size = 0;
+ var body = document.getElementsByTagName('body')[0];
+
+ if (body.style && body.style.fontSize)
+ {
+ size = body.style.fontSize;
+ }
+ else if (typeof(getComputedStyle) != 'undefined')
+ {
+ size = getComputedStyle(body,'').getPropertyValue('font-size');
+ }
+ else if (body.currentStyle)
+ {
+ size = body.currentStyle.fontSize;
+ }
+
+ //fix IE bug
+ if( isNaN(size)){
+ if(size.substring(size.length-1)=="%"){
+ return
+ }
+
+ }
+
+ return size;
+
+}
+
+
+
+function ndeCreateCookie(name,value,days)
+{
+ var cookie = name + "=" + value + ";";
+
+ if (days)
+ {
+ var date = new Date();
+ date.setTime(date.getTime()+(days*24*60*60*1000));
+ cookie += " expires=" + date.toGMTString() + ";";
+ }
+ cookie += " path=/";
+
+ document.cookie = cookie;
+
+}
+
+function ndeReadCookie(name)
+{
+ var nameEQ = name + "=";
+ var ca = document.cookie.split(';');
+
+
+ for(var i = 0; i < ca.length; i++)
+ {
+ var c = ca[i];
+ while (c.charAt(0) == ' ')
+ {
+ c = c.substring(1, c.length);
+ }
+
+ ctest = c.substring(0,name.length);
+
+ if(ctest == name){
+ return c.substring(nameEQ.length,c.length);
+ }
+ }
+ return null;
+}
Added: lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/getBlank.js
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/getBlank.js?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/getBlank.js (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/getBlank.js Thu Jun 11 11:53:05 2009
@@ -0,0 +1,40 @@
+/*
+* 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.
+*/
+/**
+ * getBlank script - when included in a html file and called from a form text field, will set the value of this field to ""
+ * if the text value is still the standard value.
+ * getPrompt script - when included in a html file and called from a form text field, will set the value of this field to the prompt
+ * if the text value is empty.
+ *
+ * Typical usage:
+ * <script type="text/javascript" language="JavaScript" src="getBlank.js"></script>
+ * <input type="text" id="query" value="Search the site:" onFocus="getBlank (this, 'Search the site:');" onBlur="getBlank (this, 'Search the site:');"/>
+ */
+<!--
+function getBlank (form, stdValue){
+if (form.value == stdValue){
+ form.value = '';
+ }
+return true;
+}
+function getPrompt (form, stdValue){
+if (form.value == ''){
+ form.value = stdValue;
+ }
+return true;
+}
+//-->
Added: lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/getMenu.js
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/getMenu.js?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/getMenu.js (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/getMenu.js Thu Jun 11 11:53:05 2009
@@ -0,0 +1,45 @@
+/*
+* 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.
+*/
+/**
+ * This script, when included in a html file, can be used to make collapsible menus
+ *
+ * Typical usage:
+ * <script type="text/javascript" language="JavaScript" src="menu.js"></script>
+ */
+
+if (document.getElementById){
+ document.write('<style type="text/css">.menuitemgroup{display: none;}</style>')
+}
+
+
+function SwitchMenu(obj, thePath)
+{
+var open = 'url("'+thePath + 'images/chapter_open.gif")';
+var close = 'url("'+thePath + 'images/chapter.gif")';
+ if(document.getElementById) {
+ var el = document.getElementById(obj);
+ var title = document.getElementById(obj+'Title');
+
+ if(el.style.display != "block"){
+ title.style.backgroundImage = open;
+ el.style.display = "block";
+ }else{
+ title.style.backgroundImage = close;
+ el.style.display = "none";
+ }
+ }// end - if(document.getElementById)
+}//end - function SwitchMenu(obj)
Added: lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/menu.js
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/menu.js?rev=783728&view=auto
==============================================================================
--- lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/menu.js (added)
+++ lucene/solr/trunk/src/site/src/documentation/skins/common/scripts/menu.js Thu Jun 11 11:53:05 2009
@@ -0,0 +1,48 @@
+/*
+* 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.
+*/
+/**
+ * This script, when included in a html file, can be used to make collapsible menus
+ *
+ * Typical usage:
+ * <script type="text/javascript" language="JavaScript" src="menu.js"></script>
+ */
+
+if (document.getElementById){
+ document.write('<style type="text/css">.menuitemgroup{display: none;}</style>')
+}
+
+function SwitchMenu(obj)
+{
+ if(document.getElementById) {
+ var el = document.getElementById(obj);
+ var title = document.getElementById(obj+'Title');
+
+ if(obj.indexOf("_selected_")==0&&el.style.display == ""){
+ el.style.display = "block";
+ title.className = "pagegroupselected";
+ }
+
+ if(el.style.display != "block"){
+ el.style.display = "block";
+ title.className = "pagegroupopen";
+ }
+ else{
+ el.style.display = "none";
+ title.className = "pagegroup";
+ }
+ }// end - if(document.getElementById)
+}//end - function SwitchMenu(obj)