~slub.team/goobi-indexserver/3.x

« back to all changes in this revision

Viewing changes to lucene/src/site/src/documentation/skins/common/skinconf.xsl

  • Committer: Sebastian Meyer
  • Date: 2012-08-03 09:12:40 UTC
  • Revision ID: sebastian.meyer@slub-dresden.de-20120803091240-x6861b0vabq1xror
Remove Lucene and Solr source code and add patches instead
Fix Bug #985487: Auto-suggestion for the search interface

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?>
2
 
<!--
3
 
  Licensed to the Apache Software Foundation (ASF) under one or more
4
 
  contributor license agreements.  See the NOTICE file distributed with
5
 
  this work for additional information regarding copyright ownership.
6
 
  The ASF licenses this file to You under the Apache License, Version 2.0
7
 
  (the "License"); you may not use this file except in compliance with
8
 
  the License.  You may obtain a copy of the License at
9
 
 
10
 
      http://www.apache.org/licenses/LICENSE-2.0
11
 
 
12
 
  Unless required by applicable law or agreed to in writing, software
13
 
  distributed under the License is distributed on an "AS IS" BASIS,
14
 
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
 
  See the License for the specific language governing permissions and
16
 
  limitations under the License.
17
 
-->
18
 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
19
 
  <xsl:template match="skinconfig">
20
 
    <xsl:copy>
21
 
      <xsl:if test="not(disable-print-link)">
22
 
        <disable-print-link>true</disable-print-link>
23
 
      </xsl:if>
24
 
      <xsl:if test="not(disable-pdf-link)">
25
 
        <disable-pdf-link>true</disable-pdf-link>
26
 
      </xsl:if>
27
 
      <xsl:if test="not(disable-txt-link)">
28
 
        <disable-txt-link>true</disable-txt-link>
29
 
      </xsl:if>
30
 
      <xsl:if test="not(disable-pod-link)">
31
 
        <disable-pod-link>true</disable-pod-link>
32
 
      </xsl:if>
33
 
      <xsl:if test="not(disable-xml-link)">
34
 
        <disable-xml-link>true</disable-xml-link>
35
 
      </xsl:if>
36
 
      <xsl:if test="not(disable-external-link-image)">
37
 
        <disable-external-link-image>false</disable-external-link-image>
38
 
      </xsl:if>
39
 
      <xsl:if test="not(disable-compliance-links)">
40
 
        <disable-compliance-links>false</disable-compliance-links>
41
 
      </xsl:if>
42
 
      <xsl:if test="not(obfuscate-mail-links)">
43
 
        <obfuscate-mail-links>true</obfuscate-mail-links>
44
 
      </xsl:if>
45
 
      <xsl:if test="not(obfuscate-mail-value)">
46
 
        <obfuscate-mail-value>.at.</obfuscate-mail-value>
47
 
      </xsl:if>
48
 
      <xsl:if test="not(disable-font-script)">
49
 
        <disable-font-script>true</disable-font-script>
50
 
      </xsl:if>
51
 
<!--
52
 
     <xsl:if test="not(project-name)">
53
 
       <project-name>MyProject</project-name>
54
 
     </xsl:if>
55
 
     <xsl:if test="not(project-description)">
56
 
       <project-description>MyProject Description</project-description>
57
 
     </xsl:if>
58
 
     <xsl:if test="not(project-url)">
59
 
       <project-url>http://myproj.mygroup.org/</project-url>
60
 
     </xsl:if>
61
 
     <xsl:if test="not(project-logo)">
62
 
       <project-logo>images/project.png</project-logo>
63
 
     </xsl:if>
64
 
     <xsl:if test="not(group-name)">
65
 
       <group-name>MyGroup</group-name>
66
 
     </xsl:if>
67
 
     <xsl:if test="not(group-description)">
68
 
       <group-description>MyGroup Description</group-description>
69
 
     </xsl:if>
70
 
     <xsl:if test="not(group-url)">
71
 
       <group-url>http://mygroup.org</group-url>
72
 
     </xsl:if>
73
 
     <xsl:if test="not(group-logo)">
74
 
       <group-logo>images/group.png</group-logo>
75
 
     </xsl:if>
76
 
     <xsl:if test="not(host-url)">
77
 
       <host-url/>
78
 
     </xsl:if>
79
 
     <xsl:if test="not(host-logo)">
80
 
       <host-logo/>
81
 
     </xsl:if>
82
 
     <xsl:if test="not(year)">
83
 
       <year>2006</year>
84
 
     </xsl:if>
85
 
     <xsl:if test="not(vendor)">
86
 
       <vendor>The Acme Software Foundation.</vendor>
87
 
     </xsl:if>
88
 
     -->
89
 
      <xsl:if test="not(trail)">
90
 
        <trail>
91
 
          <link1 name="" href=""/>
92
 
          <link2 name="" href=""/>
93
 
          <link3 name="" href=""/>
94
 
        </trail>
95
 
      </xsl:if>
96
 
      <xsl:if test="not(toc)">
97
 
        <toc level="2" location="page"/>
98
 
      </xsl:if>
99
 
      <xsl:if test="not(pdf/page-numbering-format)">
100
 
        <pdf>
101
 
          <page-numbering-format>Page 1</page-numbering-format>
102
 
        </pdf>
103
 
      </xsl:if>
104
 
      <xsl:if test="not(pdf/show-external-urls)">
105
 
        <pdf>
106
 
          <show-external-urls>true</show-external-urls>
107
 
        </pdf>
108
 
      </xsl:if>
109
 
<!--
110
 
  <xsl:if test="not(colors)">
111
 
  <colors>
112
 
    <color name="header" value="#294563"/>
113
 
 
114
 
    <color name="tab-selected" value="#4a6d8c"/>
115
 
    <color name="tab-unselected" value="#b5c7e7"/>
116
 
    <color name="subtab-selected" value="#4a6d8c"/>
117
 
    <color name="subtab-unselected" value="#4a6d8c"/>
118
 
 
119
 
    <color name="heading" value="#294563"/>
120
 
    <color name="subheading" value="#4a6d8c"/>
121
 
 
122
 
    <color name="navstrip" value="#cedfef"/>
123
 
    <color name="toolbox" value="#294563"/>
124
 
 
125
 
    <color name="menu" value="#4a6d8c"/>
126
 
    <color name="dialog" value="#4a6d8c"/>
127
 
 
128
 
    <color name="body" value="#ffffff"/>
129
 
 
130
 
    <color name="table" value="#7099C5"/>
131
 
    <color name="table-cell" value="#f0f0ff"/>
132
 
    <color name="highlight" value="#ffff00"/>
133
 
    <color name="fixme" value="#c60"/>
134
 
    <color name="note" value="#069"/>
135
 
 
136
 
    <color name="warning" value="#900"/>
137
 
    <color name="code" value="#CFDCED"/>
138
 
 
139
 
    <color name="footer" value="#cedfef"/>
140
 
  </colors>
141
 
  </xsl:if>
142
 
-->
143
 
      <xsl:if test="not(extra-css)">
144
 
        <extra-css/>
145
 
      </xsl:if>
146
 
      <xsl:if test="not(credits)">
147
 
        <credits>
148
 
          <credit>
149
 
            <name>Built with Apache Forrest</name>
150
 
            <url>http://forrest.apache.org/</url>
151
 
            <image>images/built-with-forrest-button.png</image>
152
 
            <width>88</width>
153
 
            <height>31</height>
154
 
          </credit>
155
 
<!-- A credit with @role='pdf' will have its name and url displayed in the
156
 
    PDF page's footer. -->
157
 
        </credits>
158
 
      </xsl:if>
159
 
      <xsl:copy-of select="@*"/>
160
 
      <xsl:copy-of select="node()"/>
161
 
<!--
162
 
      <xsl:copy-of select="node()[not(name(.)='colors')]"/>
163
 
      <xsl:apply-templates select="colors"/>-->
164
 
    </xsl:copy>
165
 
  </xsl:template>
166
 
<!--
167
 
    <xsl:template match="colors">
168
 
    <colors>
169
 
     <xsl:if test="not(color[@name='header'])">
170
 
       <color name="header" value="#294563"/>
171
 
     </xsl:if>
172
 
     <xsl:if test="not(color[@name='tab-selected'])">
173
 
      <color name="tab-selected" value="#4a6d8c"/>
174
 
     </xsl:if>
175
 
     <xsl:if test="not(color[@name='tab-unselected'])">
176
 
      <color name="tab-unselected" value="#b5c7e7"/>
177
 
     </xsl:if>
178
 
     <xsl:if test="not(color[@name='subtab-selected'])">
179
 
      <color name="subtab-selected" value="#4a6d8c"/>
180
 
     </xsl:if>
181
 
     <xsl:if test="not(color[@name='subtab-unselected'])">
182
 
      <color name="subtab-unselected" value="#4a6d8c"/>
183
 
     </xsl:if>
184
 
     <xsl:if test="not(color[@name='heading'])">
185
 
      <color name="heading" value="#294563"/>
186
 
     </xsl:if>
187
 
     <xsl:if test="not(color[@name='subheading'])">
188
 
      <color name="subheading" value="#4a6d8c"/>
189
 
     </xsl:if>
190
 
     <xsl:if test="not(color[@name='navstrip'])">
191
 
      <color name="navstrip" value="#cedfef"/>
192
 
     </xsl:if>
193
 
     <xsl:if test="not(color[@name='toolbox'])">
194
 
       <color name="toolbox" value="#294563"/>
195
 
     </xsl:if>
196
 
     <xsl:if test="not(color[@name='menu'])">
197
 
       <color name="menu" value="#4a6d8c"/>
198
 
     </xsl:if>
199
 
     <xsl:if test="not(color[@name='dialog'])">
200
 
      <color name="dialog" value="#4a6d8c"/>
201
 
     </xsl:if>
202
 
     <xsl:if test="not(color[@name='body'])">
203
 
      <color name="body" value="#ffffff"/>
204
 
     </xsl:if>
205
 
     <xsl:if test="not(color[@name='table'])">
206
 
      <color name="table" value="#7099C5"/>
207
 
     </xsl:if>
208
 
     <xsl:if test="not(color[@name='table-cell'])">
209
 
      <color name="table-cell" value="#f0f0ff"/>
210
 
     </xsl:if>
211
 
     <xsl:if test="not(color[@name='highlight'])">
212
 
       <color name="highlight" value="#yellow"/>
213
 
     </xsl:if>
214
 
     <xsl:if test="not(color[@name='fixme'])">
215
 
       <color name="fixme" value="#c60"/>
216
 
     </xsl:if>
217
 
     <xsl:if test="not(color[@name='note'])">
218
 
       <color name="note" value="#069"/>
219
 
     </xsl:if>
220
 
     <xsl:if test="not(color[@name='warning'])">
221
 
       <color name="warning" value="#900"/>
222
 
     </xsl:if>
223
 
     <xsl:if test="not(color[@name='code'])">
224
 
       <color name="code" value="#CFDCED"/>
225
 
     </xsl:if>
226
 
     <xsl:if test="not(color[@name='footer'])">
227
 
       <color name="footer" value="#cedfef"/>
228
 
     </xsl:if>
229
 
 
230
 
     <xsl:copy>
231
 
      <xsl:copy-of select="@*"/>
232
 
      <xsl:copy-of select="node()[name(.)='color']"/>
233
 
     </xsl:copy>
234
 
 
235
 
      </colors>
236
 
    </xsl:template>
237
 
-->
238
 
</xsl:stylesheet>