search page in c3d2web design
git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@377 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
parent
af89e2762c
commit
b4cba5b4e1
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE page SYSTEM "http://www.c3d2.de/dtd/c3d2web.dtd">
|
||||
<?xml-stylesheet type="text/xsl" href="../xsl/html.xsl" ?>
|
||||
|
||||
<page title="Suche" pagetitle="Suche">
|
||||
<p>
|
||||
Spezialseite für seiteninterne Suche. title-Attribut belassen!
|
||||
Anstelle des p-Tags werden vom XSL drei Kommentare gesetzt, die
|
||||
Suchsoftware auf der Serverseite die Suchergebnisse einfügen lassen.
|
||||
</p>
|
||||
</page>
|
|
@ -1,203 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate, no-transform" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
<meta name="generator" content="Hyper Estraier" />
|
||||
<link rel="contents" href="./" />
|
||||
<link rev="made" href="mailto:magnus@hyperestraier.gov" />
|
||||
<title>Hyper Estraier: a full-text search system for communities</title>
|
||||
<style type="text/css">html {
|
||||
margin: 0em 0em; padding: 0em 0em;
|
||||
background: #ffffff none;
|
||||
}
|
||||
body {
|
||||
margin: 0em 0em; padding: 0em 0em;
|
||||
color: #111111;
|
||||
}
|
||||
div.estform {
|
||||
margin: 0.8em 1.0em; padding: 0em 1.0em;
|
||||
background: #eeeeff none; border: solid 1pt #bbbbcc;
|
||||
-moz-border-radius: 0.4em;
|
||||
}
|
||||
div.form_basic {
|
||||
margin: 0.4em 0em 0em 0em; padding: 0em 0em;
|
||||
font-size: smaller;
|
||||
}
|
||||
div.form_extension {
|
||||
margin: 0.3em 0em 0.3em 0em; padding: 0em 0em;
|
||||
font-size: smaller;
|
||||
}
|
||||
div.estresult {
|
||||
margin: 1.0em 1.0em; padding: 0em 0em;
|
||||
}
|
||||
div.resinfo {
|
||||
text-align: right;
|
||||
font-size: smaller;
|
||||
}
|
||||
div.hints {
|
||||
margin-right: 0.8em; text-align: right;
|
||||
font-size: smaller; color: #555555;
|
||||
}
|
||||
div.relkeys {
|
||||
margin-right: 0.3em; text-align: right;
|
||||
font-size: smaller; color: #555555;
|
||||
opacity: 0.70;
|
||||
}
|
||||
div.relkeys a {
|
||||
color: #007777; text-decoration: none;
|
||||
}
|
||||
div.relkeys a:hover {
|
||||
color: #0066dd; text-decoration: underline;
|
||||
}
|
||||
dl.doc {
|
||||
margin: 1.3em 0em;
|
||||
}
|
||||
dl.doc dd {
|
||||
font-size: smaller; color: #222222;
|
||||
}
|
||||
a.doc_title {
|
||||
color: #0011ee; text-decoration: underline;
|
||||
}
|
||||
a.doc_title:hover {
|
||||
color: #0033ff; text-decoration: underline;
|
||||
}
|
||||
span.doc_score {
|
||||
font-size: smaller; color: #555555;
|
||||
}
|
||||
span.doc_score:before {
|
||||
content: "(";
|
||||
}
|
||||
span.doc_score:after {
|
||||
content: ")";
|
||||
}
|
||||
span.doc_link {
|
||||
color: #007744;
|
||||
}
|
||||
dd.doc_attr {
|
||||
margin: 0em 0.8em;
|
||||
}
|
||||
span.doc_val {
|
||||
color: #111111;
|
||||
}
|
||||
dd.doc_text {
|
||||
margin: 0em 1.3em;
|
||||
}
|
||||
strong.key {
|
||||
margin: 0em -0.1em; padding: 0em 0.1em;
|
||||
color: #000011;
|
||||
-moz-border-radius: 0.3em;
|
||||
}
|
||||
strong.key1 { background-color: #ffffcc; }
|
||||
strong.key2 { background-color: #ffeeee; }
|
||||
strong.key3 { background-color: #eeeeff; }
|
||||
strong.key4 { background-color: #eeffdd; }
|
||||
code.delim { color: #555555; letter-spacing: -0.1em; }
|
||||
dd.doc_navi {
|
||||
margin: 0em 1.1em;
|
||||
}
|
||||
div.doc_clip {
|
||||
margin-left: 2.5em; margin-top: -0.6em;
|
||||
}
|
||||
div.doc_clip p {
|
||||
font-size: smaller; color: #444444;
|
||||
}
|
||||
a.detail,a.similar,a.include {
|
||||
color: #007777; text-decoration: none;
|
||||
}
|
||||
a.detail:hover,a.similar:hover,a.include:hover {
|
||||
color: #0066dd; text-decoration: underline;
|
||||
}
|
||||
p.note {
|
||||
margin: 3em 1.5em;
|
||||
color: #444444;
|
||||
}
|
||||
div.paging {
|
||||
margin: 2em 1em; text-align: right;
|
||||
font-size: smaller;
|
||||
}
|
||||
a.navi {
|
||||
margin: 0em 0.2em; padding: 0em 0.5em;
|
||||
background: #eeeeff none; border: solid 1pt #bbbbcc;
|
||||
-moz-border-radius: 0.25em;
|
||||
color: #0022aa; text-decoration: none;
|
||||
}
|
||||
span.void {
|
||||
margin: 0em 0.2em; padding: 0em 0.5em;
|
||||
background: #eeeeee none; border: solid 1pt #bbbbcc;
|
||||
-moz-border-radius: 0.25em;
|
||||
color: #aaaaaa;
|
||||
opacity: 0.70;
|
||||
}
|
||||
a.pnum {
|
||||
margin: 0em 0em; padding: 0em 0.2em;
|
||||
background: #eeeeff none; border: solid 1pt #bbbbcc;
|
||||
-moz-border-radius: 0.25em;
|
||||
font-size: smaller; color: #0022aa; text-decoration: none;
|
||||
}
|
||||
span.pnow {
|
||||
margin: 0em 0em; padding: 0em 0.2em;
|
||||
background: #ffeedd none; border: solid 1pt #bbbbcc;
|
||||
-moz-border-radius: 0.25em;
|
||||
}
|
||||
div.estinfo {
|
||||
margin: 1.5em 1.0em; padding: 0em 0em; text-align: right;
|
||||
font-size: smaller; color: #555555;
|
||||
opacity: 0.80;
|
||||
}
|
||||
div.estinfo a {
|
||||
color: #555555; text-decoration: none;
|
||||
}
|
||||
div.logo {
|
||||
margin: 4.0em 1em; text-align: center;
|
||||
}
|
||||
div.logo h1 {
|
||||
color: #000000;
|
||||
}
|
||||
div.logo div.caption {
|
||||
margin-top: -0.9em;
|
||||
color: #222222;
|
||||
}
|
||||
div.help {
|
||||
margin: 2em 4em; padding: 2em 2em;
|
||||
background-color: #eeeeff; border: 2pt solid #ddddee;
|
||||
-moz-border-radius: 0.8em;
|
||||
}
|
||||
div.help h2 {
|
||||
margin-top: 1.2em;
|
||||
}
|
||||
div.help p {
|
||||
line-height: 145%; text-indent: 0.8em;
|
||||
}
|
||||
div.help pre {
|
||||
margin: 0em 2em; padding: 0em 0.2em;
|
||||
background-color: #ffffff; border: 1pt solid #999999;
|
||||
-moz-border-radius: 0.2em;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">function startup(){
|
||||
if((document.location + "").indexOf("#") != -1) return;
|
||||
var elem = document.getElementById("phrase");
|
||||
if(elem) elem.focus();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="startup();">
|
||||
|
||||
<!--ESTFORM-->
|
||||
|
||||
<!--ESTRESULT-->
|
||||
|
||||
<!--ESTINFO-->
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -22,7 +22,7 @@
|
|||
<xsl:variable name="baseurl">
|
||||
<xsl:if test="name(/*)='item'">../</xsl:if>
|
||||
</xsl:variable>
|
||||
|
||||
|
||||
<xsl:template match="/page">
|
||||
<xsl:variable name="title">
|
||||
<xsl:choose>
|
||||
|
@ -86,18 +86,21 @@
|
|||
</xsl:comment>
|
||||
<div id="navigation">
|
||||
|
||||
<!-- ### Search ### -->
|
||||
<xsl:comment>
|
||||
<xsl:text> ### Search ### </xsl:text>
|
||||
</xsl:comment>
|
||||
|
||||
<form action="/cgi-bin/estseek.cgi" method="get">
|
||||
<p>
|
||||
<input type="text" name="phrase" size="20" value="c3d2" />
|
||||
<input type="submit" name="submit" value="Suchen!" />
|
||||
<a href="/cgi-bin/estseek.cgi"><small>Hilfe</small></a>
|
||||
</p>
|
||||
</form>
|
||||
<xsl:if test="$title != 'Suche'">
|
||||
<!-- ### Search ### -->
|
||||
<xsl:comment>
|
||||
<xsl:text> ### Search ### </xsl:text>
|
||||
</xsl:comment>
|
||||
|
||||
<form action="/cgi-bin/estseek.cgi" method="get">
|
||||
<p>
|
||||
<input type="text" name="phrase" size="20" value="c3d2" />
|
||||
<input type="submit" name="submit" value="Suchen!" />
|
||||
<a href="{$baseurl}cgi-bin/estseek.cgi"><small>Hilfe</small></a>
|
||||
</p>
|
||||
</form>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:call-template name="navitems" />
|
||||
|
||||
|
@ -107,25 +110,37 @@
|
|||
<xsl:comment>
|
||||
<xsl:text> ### Content ### </xsl:text>
|
||||
</xsl:comment>
|
||||
<div id="content">
|
||||
<h2>
|
||||
<xsl:if test="name(.) = 'item'">
|
||||
<xsl:attribute name="class">news</xsl:attribute>
|
||||
</xsl:if>
|
||||
|
||||
<xsl:value-of select="$title" />
|
||||
</h2>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$title != 'Suche'">
|
||||
<div id="content">
|
||||
<h2>
|
||||
<xsl:if test="name(.) = 'item'">
|
||||
<xsl:attribute name="class">news</xsl:attribute>
|
||||
</xsl:if>
|
||||
|
||||
<!-- Für Seiten, die nur ein Newsitem beinhalten,
|
||||
Newsmetadaten anzeigen
|
||||
-->
|
||||
<xsl:if test="name(.) = 'item'">
|
||||
<xsl:call-template name="news-meta"/>
|
||||
</xsl:if>
|
||||
<xsl:value-of select="$title" />
|
||||
</h2>
|
||||
|
||||
<!-- Für Seiten, die nur ein Newsitem beinhalten,
|
||||
Newsmetadaten anzeigen
|
||||
-->
|
||||
<xsl:if test="name(.) = 'item'">
|
||||
<xsl:call-template name="news-meta"/>
|
||||
</xsl:if>
|
||||
|
||||
|
||||
<xsl:apply-templates/>
|
||||
</div> <!-- id="content" -->
|
||||
<xsl:apply-templates/>
|
||||
</div> <!-- id="content" -->
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<div id="search">
|
||||
<xsl:comment>ESTFORM</xsl:comment>
|
||||
<xsl:comment>ESTRESULT</xsl:comment>
|
||||
<xsl:comment>ESTINFO</xsl:comment>
|
||||
</div> <!-- id="search" -->
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
|
||||
<!-- ### News ### -->
|
||||
<xsl:comment>
|
||||
|
|
Loading…
Reference in New Issue