docs into openclonk-design

stable-5.2
Tobias Zwick 2010-01-29 15:44:06 +01:00
parent 5101d10e37
commit fde2143f8e
9 changed files with 855 additions and 519 deletions

View File

@ -29,8 +29,8 @@ xmlfiles := $(sort $(shell find sdk -name '.*' -prune -o -name \*.xml -print))
# Targets:
# strip from all files the .xml, and add a .html
htmlfiles := $(addsuffix .html, $(basename $(xmlfiles)))
# strip from all files the .xml, and add a .php
htmlfiles := $(addsuffix .php, $(basename $(xmlfiles)))
# The translated files and directories
sdk-dirs-en := $(subst sdk, sdk-en, $(sdk-dirs))
@ -38,7 +38,7 @@ xmlfiles-en := $(subst sdk, sdk-en, $(xmlfiles))
htmlfiles-en := $(subst sdk, sdk-en, $(htmlfiles))
# For clonk.de
online-sdk-files := $(foreach lang, en de, $(addprefix online/$(lang)/, $(htmlfiles) content.html))
online-sdk-files := $(foreach lang, en de, $(addprefix online/$(lang)/, $(htmlfiles) content.php))
online-dirs := $(foreach lang, en de, $(addprefix online/$(lang)/, $(sdk-dirs) images))
online-extra-files := $(foreach lang, en de, $(addprefix online/$(lang)/, $(extra-files)))
@ -75,10 +75,10 @@ chm/de/Output.hhc: $(xmlfiles) chm/de/. chm/en/. build_chm_files.py experimental
@echo generate chm files
@python build_chm_files.py $(xmlfiles)
online/de/content.html: chm/de/Output.hhc build_contents.pl
online/de/content.php: chm/de/Output.hhc build_contents.pl
@echo generate $@
@perl build_contents.pl $< > $@
online/en/content.html: chm/en/Output.hhc build_contents.pl
online/en/content.php: chm/en/Output.hhc build_contents.pl
@echo generate $@
@perl build_contents.pl $< > $@
@ -103,12 +103,12 @@ sdk-en/%.xml: sdk/%.xml en.mo xml2po.py clonk.py
define run-xslt
@echo generate $@
@xsltproc -o $@ --param webnotes $(webnotes) --param fileext "'.html'" $(XSLTFLAGS) $(stylesheet) $<
@xsltproc -o $@ --param webnotes $(webnotes) --param fileext "'.php'" $(XSLTFLAGS) $(stylesheet) $<
endef
online/%: webnotes=1
chm/%: webnotes=0
online/de/sdk/%.html: sdk/%.xml $(stylesheet) ; $(run-xslt)
online/en/sdk/%.html: sdk-en/%.xml $(stylesheet) ; $(run-xslt)
online/de/sdk/%.php: sdk/%.xml $(stylesheet) ; $(run-xslt)
online/en/sdk/%.php: sdk-en/%.xml $(stylesheet) ; $(run-xslt)
chm/de/sdk/%.html: sdk/%.xml $(stylesheet) ; $(run-xslt)
chm/en/sdk/%.html: sdk-en/%.xml $(stylesheet) ; $(run-xslt)

View File

@ -1,40 +0,0 @@
var cat;
function CheckCharacters(text,allowed) {
for (var i = 0; i < text.length; ++i) {
if(allowed.indexOf(text.charAt(i))<0 ) {
return false;
}
}
return true;
}
function Calc() {
var input = document.getElementById("input").value*1;
if(CheckCharacters(input,"0123456789")) cat=input;
for(var i=0;i<BIT_COUNT;++i)
Mark(i);
}
function Mark(bit) {
if((1<<bit) & cat) {
if(!(bit%2))
document.getElementById(PREFIX+bit).className="mark";
else
document.getElementById(PREFIX+bit).className="darkmark";
}
else {
if(!(bit%2))
document.getElementById(PREFIX+bit).className="";
else
document.getElementById(PREFIX+bit).className="dark";
}
}
function Switch(bit) {
cat = cat ^ (1 << bit);
Mark(bit);
document.getElementById("input").value = cat;
}

View File

@ -3,7 +3,7 @@
use strict;
# A quick and dirty script to turn Microsofts hhc-format to strict html in Clonkstyle
# usage: build_contents.pl infile.hhc > outfile.html
# usage: build_contents.pl infile.hhc > outfile.php
#print header
@ -19,6 +19,7 @@ print <<HEADER;
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>$title</title>
<link rel=stylesheet type="text/css" href="doku.css">
<link rel=stylesheet type="text/css" href="http://www.openclonk.org/header/header.css">
<style type="text/css">
ul {
list-style:none;
@ -106,15 +107,16 @@ HEADER
if ($lang eq 'de') {
print <<HEADER;
<?php readfile("http://www.openclonk.org/header/header.php?p=docsde"); ?>
<div id="content">
<ul class="nav">
<li class="fineprint">Clonk Entwicklermodus Dokumentation</li>
<li><a href="sdk/index.html">Einleitung</a></li>
<li><a href="content.html">Inhalt</a></li>
<li><a href="sdk/index.php">Einleitung</a></li>
<li><a href="content.php">Inhalt</a></li>
<li><a href="search.php">Suche</a></li>
<li><a href="sdk/console.html">Engine</a></li>
<li><a href="sdk/cmdline.html">Kommandozeile</a></li>
<li><a href="sdk/files.html">Spieldaten</a></li>
<li><a href="sdk/script/index.html">Script</a></li>
<li><a href="sdk/console.php">Engine</a></li>
<li><a href="sdk/cmdline.php">Kommandozeile</a></li>
<li><a href="sdk/files.php">Spieldaten</a></li>
<li><a href="sdk/script/index.php">Script</a></li>
</ul>
<h1>Inhalt</h1>
<div class="text">
@ -122,14 +124,16 @@ if ($lang eq 'de') {
HEADER
} else {
print <<HEADER;
<ul class="nav"><li class="fineprint">Clonk Developer Mode Documentation</li>
<li><a href="sdk/index.html">Introduction</a></li>
<li><a href="content.html">Contents</a></li>
<?php readfile("http://www.openclonk.org/header/header.php?p=docs"); ?>
<div id="content">
<ul class="nav">
<li><a href="sdk/index.php">Introduction</a></li>
<li><a href="content.php">Contents</a></li>
<li><a href="search.php">Search</a></li>
<li><a href="sdk/console.html">Engine</a></li>
<li><a href="sdk/cmdline.html">Command Line</a></li>
<li><a href="sdk/files.html">Game Data</a></li>
<li><a href="sdk/script/index.html">Script</a></li>
<li><a href="sdk/console.php">Engine</a></li>
<li><a href="sdk/cmdline.php">Command Line</a></li>
<li><a href="sdk/files.php">Game Data</a></li>
<li><a href="sdk/script/index.php">Script</a></li>
</ul>
<h1>Contents</h1>
<div class="text">
@ -206,7 +210,7 @@ while (<>) { # assigns each line in turn to $_
# some additional text at the bottom, too
print <<FOOTER;
</div>
</div>
</body>
</html>
FOOTER

View File

@ -13,8 +13,11 @@
<link rel="stylesheet" type="text/css">
<xsl:attribute name="href"><xsl:value-of select="$relpath" />doku.css</xsl:attribute>
</link>
<link rel="stylesheet" type="text/css">
<xsl:attribute name="href">http://www.openclonk.org/header/header.css</xsl:attribute>
</link>
<title>
<xsl:value-of select="descendant::title" /><xsl:apply-templates select="../deprecated" />
OpenClonk <xsl:choose><xsl:when test='lang("en")'>Reference - </xsl:when><xsl:otherwise>Referenz - </xsl:otherwise></xsl:choose><xsl:value-of select="descendant::title" /><xsl:apply-templates select="../deprecated" />
</title>
<xsl:if test="descendant::table[bitmask]">
<script type="text/javascript">
@ -25,12 +28,15 @@
var PREFIX = "bit"; // Prefix für die numerierten IDs
</script>
</xsl:if>
<!--
<xsl:if test="$webnotes">
<xsl:processing-instruction name="php">
$g_page_language = '<xsl:choose><xsl:when test='lang("en")'>english</xsl:when><xsl:otherwise>german</xsl:otherwise></xsl:choose>';
require_once('<xsl:value-of select="$relpath" />../webnotes/core/api.php');
pwn_head();
?</xsl:processing-instruction>
</xsl:if> -->
<xsl:if test="$webnotes">
<script type="text/javascript">
function switchLanguage() {
var loc = window.location.href;
@ -53,17 +59,24 @@
<html>
<xsl:call-template name="head" />
<body>
<xsl:choose><xsl:when test='lang("en")'><xsl:processing-instruction name="php">
readfile("http://www.openclonk.org/header/header.php?p=docs");
?</xsl:processing-instruction></xsl:when><xsl:otherwise><xsl:processing-instruction name="php">
readfile("http://www.openclonk.org/header/header.php?p=docsde");
?</xsl:processing-instruction></xsl:otherwise></xsl:choose>
<div id="content">
<xsl:call-template name="nav" />
<xsl:for-each select="func">
<xsl:apply-templates select="." />
</xsl:for-each>
<xsl:apply-templates select="author" />
<xsl:if test="$webnotes">
<!-- <xsl:if test="$webnotes">
<xsl:processing-instruction name="php">
pwn_body(basename (dirname(__FILE__)) . basename(__FILE__,".html"), $_SERVER['SCRIPT_NAME']);
?</xsl:processing-instruction>
</xsl:if>
</xsl:if>-->
<xsl:call-template name="nav" />
</div>
</body>
</html>
</xsl:template>
@ -72,14 +85,21 @@
<html>
<xsl:call-template name="head" />
<body>
<xsl:choose><xsl:when test='lang("en")'><xsl:processing-instruction name="php">
readfile("http://www.openclonk.org/header/header.php?page=docs");
?</xsl:processing-instruction></xsl:when><xsl:otherwise><xsl:processing-instruction name="php">
readfile("http://www.openclonk.org/header/header.php?page=docsde");
?</xsl:processing-instruction></xsl:otherwise></xsl:choose>
<div id="content">
<xsl:call-template name="nav" />
<xsl:apply-templates />
<xsl:if test="$webnotes">
<!-- <xsl:if test="$webnotes">
<xsl:processing-instruction name="php">
pwn_body(basename (dirname(__FILE__)) . basename(__FILE__,".html"), $_SERVER['SCRIPT_NAME']);
?</xsl:processing-instruction>
</xsl:if>
</xsl:if>-->
<xsl:call-template name="nav" />
</div>
</body>
</html>
</xsl:template>
@ -258,9 +278,9 @@
<a>
<xsl:attribute name="href">
<xsl:value-of select="$relpath" />sdk/<xsl:choose>
<!-- replace the .html extension with .xml (or whatever) -->
<xsl:when test="substring-before($href,'.html')">
<xsl:value-of select="concat(substring-before($href,'.html'), $fileext, substring-after($href,'.html'))" />
<!-- replace the .php extension with .xml (or whatever) -->
<xsl:when test="substring-before($href,'.php')">
<xsl:value-of select="concat(substring-before($href,'.php'), $fileext, substring-after($href,'.php'))" />
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$href" />
@ -349,23 +369,15 @@
<xsl:template name="nav"><xsl:if test="$webnotes">
<ul class="nav">
<li class="fineprint"><xsl:choose>
<xsl:when test='lang("en")'>Clonk Developer Mode Documentation</xsl:when>
<xsl:otherwise>Clonk Entwicklermodus Dokumentation</xsl:otherwise>
</xsl:choose></li>
<li class="switchlang"><xsl:choose>
<xsl:when test='lang("en")'><a href='javascript:switchLanguage()'><img src='/deco/dco_de_sml.gif' alt='German' border='0'/></a></xsl:when>
<xsl:otherwise><a href='javascript:switchLanguage()'><img src='/deco/dco_en_sml.gif' alt='English' border='0'/></a></xsl:otherwise>
</xsl:choose></li>
<li><xsl:call-template name="link">
<xsl:with-param name="href" select="'index.html'" />
<xsl:with-param name="href" select="'index.php'" />
<xsl:with-param name="text"><xsl:choose>
<xsl:when test='lang("en")'>Introduction</xsl:when>
<xsl:otherwise>Einleitung</xsl:otherwise>
</xsl:choose></xsl:with-param>
</xsl:call-template></li>
<li><a>
<xsl:attribute name="href"><xsl:value-of select="$relpath" />content.html</xsl:attribute>
<xsl:attribute name="href"><xsl:value-of select="$relpath" />content.php</xsl:attribute>
<xsl:choose>
<xsl:when test='lang("en")'>Contents</xsl:when>
<xsl:otherwise>Inhalt</xsl:otherwise>
@ -379,27 +391,31 @@
</xsl:choose>
</a></li>
<li><xsl:call-template name="link">
<xsl:with-param name="href" select="'console.html'" />
<xsl:with-param name="href" select="'console.php'" />
<xsl:with-param name="text" select="'Engine'" />
</xsl:call-template></li>
<li><xsl:call-template name="link">
<xsl:with-param name="href" select="'cmdline.html'" />
<xsl:with-param name="href" select="'cmdline.php'" />
<xsl:with-param name="text"><xsl:choose>
<xsl:when test='lang("en")'>Command Line</xsl:when>
<xsl:otherwise>Kommandozeile</xsl:otherwise>
</xsl:choose></xsl:with-param>
</xsl:call-template></li>
<li><xsl:call-template name="link">
<xsl:with-param name="href" select="'files.html'" />
<xsl:with-param name="href" select="'files.php'" />
<xsl:with-param name="text"><xsl:choose>
<xsl:when test='lang("en")'>Game Data</xsl:when>
<xsl:otherwise>Spieldaten</xsl:otherwise>
</xsl:choose></xsl:with-param>
</xsl:call-template></li>
<li><xsl:call-template name="link">
<xsl:with-param name="href" select="'script/index.html'" />
<xsl:with-param name="href" select="'script/index.php'" />
<xsl:with-param name="text" select="'Script'" />
</xsl:call-template></li>
<li class="switchlang"><xsl:choose>
<xsl:when test='lang("en")'><a href='javascript:switchLanguage()'><img src='/deco/dco_de_sml.gif' alt='German' border='0'/></a></xsl:when>
<xsl:otherwise><a href='javascript:switchLanguage()'><img src='/deco/dco_en_sml.gif' alt='English' border='0'/></a></xsl:otherwise>
</xsl:choose></li>
<!--<li><a><xsl:attribute name="href">index.xml</xsl:attribute>.</a></li>
<xsl:if test="starts-with($relpath, '../..')">
<li><a><xsl:attribute name="href">../index.xml</xsl:attribute>..</a></li>

View File

@ -1,185 +1,159 @@
body {
margin: 0;
font-family: "Dejavu Sans", "BitStream Vera Sans", Verdana, sans-serif;
background-color: white;
color: black;
margin: 0;
font-size: small;
font-family: Verdana, Arial, 'Trebuchet MS';
background-color: white;
color: black;
}
body, table caption, h3, dt, div.fnsyntax {
font-size: 13px;
line-height: 18px;
body, table caption, dt, div.fnsyntax {
font-size: small;
line-height: 1.6em;
}
.text, div.fnsyntax, pre.code, ul, ol {
margin-bottom: 18px;
margin-top: 0;
.text, div.fnsyntax, pre.code, ul, ol, dl {
margin: 8px 0 12px 0;
}
h3, h4, h5, h6, .text, div.fnsyntax, pre.code, dt, ul, ol {
margin-left: 18px;
margin-right: 2%;
#content {
padding: 0 76px;
margin: 0 auto;
}
div.example {
margin-bottom: 36px;
margin-top: 12px;
margin-bottom: 36px;
}
dd {
margin: 0;
margin: 0;
}
img {
margin-right: 6px;
vertical-align: text-bottom;
margin-right: 6px;
}
img#cpem {
float: left;
margin: 0 6px 6px 18px;
}
h1, h2 {
font-weight: bold;
padding: 0 2% 0 18px;
margin-bottom: 18px;
text-indent: 0;
border-bottom: 1px solid #667abe;
/*CR-red: #c91603*/
float: left;
margin: 0 6px 6px 18px;
}
h1 {
font-size: 24px;
line-height: 35px;
margin-top: 18px;
font-size: 188%;
font-weight: normal;
margin-top: 1.32em;
padding: 0;
margin: 0;
padding: .35em .1em .3em 0;
}
h2 {
font-size: 18px;
line-height: 17px;
margin-top: 0;
font-weight: normal;
font-size: 140%;
margin: 0;
padding: 0;
margin-top: 0.8em;
padding: .35em .1em 0 0;
border-bottom: 3px solid #eee;
}
h3, dt, table caption {
text-align: left;
font-weight: bold;
margin-bottom: 0;
margin-top: 0;
}
h4 {
font-size: 12px;
font-weight: bold;
line-height: 18px;
h3 {
font-weight: bold;
font-size: 110%;
}
table {
border: 1px solid #667abe;
border-spacing: 0;
border-collapse: collapse;
font-size: 11px;
margin-bottom: 17px;
margin-top: 0;
border: 1px solid #667abe;
border-spacing: 0;
border-collapse: collapse;
font-size: 11px;
margin-bottom: 17px;
margin-top: 0;
}
th, td {
padding: 0 6px;
text-align: left;
vertical-align: top;
margin: 0;
border: 0;
padding: 0 6px;
text-align: left;
vertical-align: top;
margin: 0;
border: 0;
}
th {
font-weight: bold;
font-weight: bold;
}
tr.dark, th {
color: black;
background-color: #f4f4f0;
color: black;
background-color: #f4f4f0;
}
tr.mark, tr.darkmark {
background-color: Highlight;
color: HighlightText;
}
input {
border-width: 2px;
line-height: 18px;
padding-top: 1px;
padding-bottom: 0;
margin: 0;
vertical-align: 2px;
}
div.fnsyntax {
text-indent: -18px;
margin-left: 36px;
background-color: Highlight;
color: HighlightText;
}
code, div.fnsyntax, pre.code {
font-family: "Dejavu Sans Mono", "BitStream Vera Sans Mono", Consolas, "Lucida Console", Monaco, monospace;
font-family: "Dejavu Sans Mono", "BitStream Vera Sans Mono", Consolas, "Lucida Console", Monaco, monospace;
}
pre.code {
display: block;
white-space: -moz-pre-wrap; /* Gecko */
white-space: -pre-wrap; /* Opera 4 - 6 */
white-space: -o-pre-wrap; /* Opera >= 7 */
white-space: pre-wrap; /* CSS2.1 */
word-wrap: break-word; /* IE 5.5+ */
padding: 8px;
border: 1px dashed #667abe;
color: black;
background-color: #f4f4f0;
display: block;
white-space: -moz-pre-wrap; /* Gecko */
white-space: -pre-wrap; /* Opera 4 - 6 */
white-space: -o-pre-wrap; /* Opera >= 7 */
white-space: pre-wrap; /* CSS2.1 */
word-wrap: break-word; /* IE 5.5+ */
padding: 8px;
border: 1px dashed #667abe;
color: black;
background-color: #f4f4f0;
}
span.type, code b, pre.code b {
font-weight: bold;
color: navy;
background-color: transparent;
font-weight: bold;
color: navy;
background-color: transparent;
}
code i.string, pre.code i.string {
font-style: normal;
color: green;
background-color: transparent;
font-style: normal;
color: green;
background-color: transparent;
}
div.author {
text-align: right;
font-style: italic;
margin-right: 36px;
text-align: right;
font-style: italic;
}
ul.nav {
border-bottom: 1px solid #667abe;
border-top: 1px solid #667abe;
padding: 5px 18px 5px 18px;
margin: 6px 0 -1px 0;
text-align: center;
font-size: 11px;
line-height: 18px;
background: #333 url(images/cellpic_nav.gif);
text-align: center;
margin-bottom: 18px;
font-size: 11px;
background-repeat: repeat;
line-height: 27px;
padding: 0;
white-space: nowrap;
}
ul.nav li {
margin: 0 9px 0 9px;
display: inline;
display: inline;
}
ul.nav li.fineprint {
float: left;
color: #999999;
margin: 0;
ul.nav a {
color: #ccc;
padding: 6px 10px;
text-decoration: none;
}
ul.nav a:hover, ul.nav a:hover {
background: #333 url(images/stripe-wide.gif) left repeat-x;
}
ul.nav li.switchlang {
float: right;
color: #999999;
margin: 0;
margin-left: 20px;
}
ul.nav a, ul.nav a.visited {
color: navy;
text-decoration: none;
}

File diff suppressed because it is too large Load Diff

View File

@ -7,17 +7,11 @@
<!--<img src="../images/cpem.gif" align="left" width="52" height="52" hspace="5" vspace="2" />-->
<img src="../images/cpem.gif" id="cpem" width="52" height="52" />
<text>Der Clonk Entwicklermodus gibt vollen Zugriff auf alle Spieldaten von Clonk: Szenarien, Objektdefinitionen, Spielerdateien und zusätzliche Gruppendateien. Bestehende Daten können modifiziert werden, um so neue Spielelemente zu schaffen.</text>
<text>Der Entwicklermodus ist über den Editor erreichbar.</text>
<text>Im Editor können per Drag &amp; Drop alle Einzelkomponenten der Spieldaten bearbeitet werden. In der Engine können Objekte per Mausklick in der Landschaft platziert und Landkarten pixelgenau bearbeitet und abgespeichert werden.</text>
<text>Selbsterstellte Spielelemente können veröffentlicht und somit anderen Clonk-Spielern zugänglich gemacht werden. Sie sollten jedoch vorher unbedingt ausgiebig getestet werden und keine Fehler enthalten.</text>
<h id="Nutzungsbedingungen">Nutzungsbedingungen</h>
<h id="Nutzungsbedingungen">Hinweise</h>
<text>Die Benutzung der erweiterten Funktionen von Clonk geschieht grundsätzlich auf eigene Gefahr und Verantwortung. Es gibt keinerlei Support. Der Entwicklermodus ist nur registrierten Spielern zugänglich.</text>
<text>Durch unsachgemäße Anwendung kann nicht nur der Spielspaß zunichte, sondern das komplette Spiel unspielbar gemacht werden. Für den erfolgreichen Einsatz des Entwicklermodus sind grundlegende Programmierkenntnisse, Fähigkeiten bei der Bearbeitung von Grafiken und allgemeiner Sachverstand absolute Voraussetzung. Wer sich dessen nicht sicher ist, sollte die Finger davon lassen.</text>
<text>Jeder, der die in dieser Dokumentation enthaltenen Informationen nutzt, sollte verantwortungsvoll mit den gegebenen Möglichkeiten umgehen und eigenverantwortlich das Ziel anstreben, sinnvoll spielbare Erweiterungen zum Gesamtspiel zu erstellen, die der Gemeinschaft nützen.</text>
<text>Von Spielern erstelltes Material für Clonk darf in keinem Fall kommerziell genutzt werden. Für Szenarien, Objekte oder andere Spieldaten darf kein Entgelt verlangt werden.</text>
<text>Im Rahmen des Entwicklermodus zur Bearbeitung freigegebene Daten dürfen bei der Entwicklung neuer Spielerweiterungen für Clonk (und ausschließlich zu diesem Zweck) verwendet werden. Alle Rechte an den verwendeten Daten verbleiben jedoch beim Hersteller.</text>
<text>Das Passwort für die Aktivierung des Entwicklermodus lautet: Siedlerclonk</text>
<author>matthes</author><date>2000 - 2007</date>
</doc>

View File

@ -117,7 +117,7 @@
</row></table>
<text><table>
<caption id="ControlSet">Beliebig viele Sektionen [Assignment]</caption>
<caption id="Assignment">Beliebig viele Sektionen [Assignment]</caption>
<rowh>
<col>Wert</col>
<col>Datentyp</col>

View File

@ -87,6 +87,7 @@ $lang = basename(dirname(__FILE__));
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="doku.css">
<link rel="stylesheet" type="text/css" href="http://www.openclonk.org/header/header.css">
<title><?php echo $lang == 'de' ? 'Entwicklermodus' : 'Developer Mode' ?></title>
<style>
ul {
@ -106,29 +107,32 @@ text-decoration: none;
<body>
<?php
if ($lang == 'de') {
getprint("http://www.openclonk.org/header/header.php?p=docsde");
echo <<<HEADER
<div id="content">
<ul class="nav">
<li class="fineprint">Clonk Entwicklermodus Dokumentation</li>
<li><a href="sdk/index.html">Einleitung</a></li>
<li><a href="content.html">Inhalt</a></li>
<li><a href="sdk/index.php">Einleitung</a></li>
<li><a href="content.php">Inhalt</a></li>
<li><a href="search.php">Suche</a></li>
<li><a href="sdk/console.html">Engine</a></li>
<li><a href="sdk/cmdline.html">Kommandozeile</a></li>
<li><a href="sdk/files.html">Spieldaten</a></li>
<li><a href="sdk/script/index.html">Script</a></li>
<li><a href="sdk/console.php">Engine</a></li>
<li><a href="sdk/cmdline.php">Kommandozeile</a></li>
<li><a href="sdk/files.php">Spieldaten</a></li>
<li><a href="sdk/script/index.php">Script</a></li>
</ul>
<h1>Suche nach Scriptfunktionen</h1>
HEADER;
} else {
getprint("http://www.openclonk.org/header/header.php?p=docs");
echo <<<HEADER
<ul class="nav"><li class="fineprint">Clonk Developer Mode Documentation</li>
<li><a href="sdk/index.html">Introduction</a></li>
<li><a href="content.html">Contents</a></li>
<div id="content">
<ul class="nav">
<li><a href="sdk/index.php">Introduction</a></li>
<li><a href="content.php">Contents</a></li>
<li><a href="search.php">Search</a></li>
<li><a href="sdk/console.html">Engine</a></li>
<li><a href="sdk/cmdline.html">Command Line</a></li>
<li><a href="sdk/files.html">Game Data</a></li>
<li><a href="sdk/script/index.html">Script</a></li>
<li><a href="sdk/console.php">Engine</a></li>
<li><a href="sdk/cmdline.php">Command Line</a></li>
<li><a href="sdk/files.php">Game Data</a></li>
<li><a href="sdk/script/index.php">Script</a></li>
</ul>
<h1>Search for Script Functions</h1>
HEADER;
@ -141,7 +145,7 @@ echo $lang == 'de' ? '<b>Suchbegriff:</b>' : '<b>Search term:</b>';
echo '&nbsp;<input type="text" name="search"';
if (isset($_GET['search'])) echo ' value="' . htmlspecialchars($_GET['search']) . '"';
echo '> ';
echo '<input type="submit" name="func" value="' . ($lang == 'de' ? 'Funktionssuche' : 'Search for function') . '">';
echo '<input type="submit" name="func" value="' . ($lang == 'de' ? 'Funktionssuche' : 'Search for function') . '"> ';
echo '<input type="submit" name="fulltext" value="' . ($lang == 'de' ? 'Volltextsuche' : 'Fulltext') . '">';
?>
</form>
@ -193,5 +197,5 @@ echo '<input type="submit" name="fulltext" value="' . ($lang == 'de' ? 'Volltext
}
?>
</div>
</div>
</body></html>