svn path=/trunk/; revision=15546

This commit is contained in:
2010-03-23 11:01:05 +00:00
parent 323725a320
commit 84771b231a
5 changed files with 108 additions and 0 deletions

View File

@@ -158,6 +158,82 @@
</xsl:for-each>
</xsl:element> <!-- /ul -->
</xsl:for-each>
<xsl:element name="div">
<xsl:attribute name="id">search</xsl:attribute>
<xsl:element name="h2">
<xsl:attribute name="class">n</xsl:attribute>
<xsl:value-of select="/buildinfo/textset/text[@id='search']" />
</xsl:element>
<xsl:element name="form">
<xsl:attribute name="method">get</xsl:attribute>
<xsl:attribute name="action">http://search.fsfe.org/yacysearch.html</xsl:attribute>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">verify</xsl:attribute>
<xsl:attribute name="value">true</xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">maximumRecords</xsl:attribute>
<xsl:attribute name="value">10</xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">meanCount</xsl:attribute>
<xsl:attribute name="value">5</xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">resource</xsl:attribute>
<xsl:attribute name="value">local</xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">urlmaskfilter</xsl:attribute>
<xsl:attribute name="value">.*.<xsl:value-of select="/buildinfo/@language"/>.html</xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">prefermaskfilter</xsl:attribute>
<xsl:attribute name="value">.*</xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">display</xsl:attribute>
<xsl:attribute name="value">2</xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">hidden</xsl:attribute>
<xsl:attribute name="name">nav</xsl:attribute>
<xsl:attribute name="value">hosts</xsl:attribute>
</xsl:element>
<xsl:element name="p">
<xsl:element name="input">
<xsl:attribute name="type">text</xsl:attribute>
<xsl:attribute name="name">query</xsl:attribute>
<xsl:attribute name="placeholder">
<xsl:value-of select="/buildinfo/textset/text[@id='search']" />
</xsl:attribute>
</xsl:element>
<xsl:element name="input">
<xsl:attribute name="type">image</xsl:attribute>
<xsl:attribute name="src">/graphics/icons/search-button.png</xsl:attribute>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:element>
<!-- Join the Fellowship -->
<xsl:element name="a">

View File

@@ -154,6 +154,8 @@ dl dd {
}
/* ------------------------------------------------------------------------- */
/* Localmenu */
/* ------------------------------------------------------------------------- */
@@ -166,6 +168,27 @@ dl dd {
}
/* ------------------------------------------------------------------------- */
/* Search box */
/* ------------------------------------------------------------------------- */
#menu #search {
margin: 0;
padding: 0;
}
#menu #search input[type=text] {
padding-right: 2.2em;
width: 160px;
}
#menu #search input[type=image] {
border: 0;
background-color: transparent;
margin: -.3em 0 0 -2.3em;
}
/* ------------------------------------------------------------------------- */
/* Language List */
/* ------------------------------------------------------------------------- */
@@ -573,6 +596,12 @@ form .button a {
text-align: right;
}
form input[_placeholder_on],
form input[_placeholder_on]:hover {
color: #888888;
/* color: rgb(190,190,190);*/
}
form input,
form select,
form textarea {

View File

@@ -39,6 +39,7 @@
sich <a href="/contribute/contribute.html">hier</a>, um zu sehen, wie Sie uns
bei Übersetzungen und anderen Dingen unterstützen können.
</text>
<text id="search">Suche</text>
<!-- Conjunctions -->
<text id="to">bis</text>

View File

@@ -36,6 +36,7 @@
<a href="/contribute/contribute.html">this page</a> to see how you can help
with translations, and other things.
</text>
<text id="search">Search</text>
<!-- Conjunctions -->
<text id="to">to</text>

View File

@@ -38,6 +38,7 @@ préservée.
<a href="/contribute/contribute.html">cette page</a> pour tout renseignement sur la
manière de participer, entre autres, aux traductions.
</text>
<text id="search">Rechercher</text>
<!-- Menu -->
<text id="menu1/about">À propos</text>