Permalink
Browse files

* For HTML output:

 - on top of index.html page, provide search box (the same
 as on www.icdevgroup.org), and a link back to www.icdevgroup.org

 - on bottom of index.html page, provide quick links to
 docs, website, ic cvs and commits, docs cvs + commits
  • Loading branch information...
docelic committed Nov 14, 2007
1 parent dc6564a commit 3877fc5b94f83282c712790c7334df2a74e67c78
Showing with 139 additions and 2 deletions.
  1. +2 −0 TODO
  2. +29 −1 docbook/docbookxi.dtd
  3. +92 −1 docbook/html-common.xsl
  4. +9 −0 docbook/xmldocs.css
  5. +7 −0 guides/index.xml
View
2 TODO
@@ -9,6 +9,8 @@ Bugs:
- some small error in glossary/pragma at the bottom, [tag pragma]0[/tag]
- see if the files we parse in bin/stattree in block (like parseVendConfig, parseVendInterpolate) allow some stuff to go unaccounted for mkreport
- with tags from Interpolate.pm, context for systemtag is not always 'whole file', but can be x-y as well
+- dal autogen preskoci kontekst koji je prazan? i zasto uopce unkondicionalno
+ ekspandira @$ctx ako moze da nema konteksta?
- order counter, Session->{mv_order_number}, cronjob -0001, or file da-te.counter, or session_id.time
View
@@ -32,7 +32,8 @@
<!ENTITY % local.para.char.mix "|xi:include">
-<!ENTITY % local.tech.char.class "|tag|pragma|filter|mv|am|widget|check|xi:include">
+<!ENTITY % local.tech.char.class "|tag|pragma|filter|mv|am|widget|check">
+<!ENTITY % local.tech.char.class "|searchbox|linkftr|xi:include">
<!-- Load DocBook -->
<!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
@@ -122,3 +123,30 @@
<!--end of widget.element-->]]>
<!--end of widget.module-->]]>
+
+<!-- searchbox element -->
+<!-- In 'online html' mode, this will display the search box and
+ some extra stuff on top of index.html -->
+<!ENTITY % searchbox.module "INCLUDE">
+<![%searchbox.module;[
+<!ENTITY % local.searchbox.attrib "">
+
+<!ENTITY % searchbox.element "INCLUDE">
+<![%searchbox.element;[
+<!ELEMENT searchbox %ho; (%para.char.mix;|%para.mix;)*>
+<!--end of searchbox.element-->]]>
+<!--end of searchbox.module-->]]>
+
+<!-- linkftr element -->
+<!-- In 'online html' mode, this will display some links
+ at the bottom of index.html -->
+<!ENTITY % linkftr.module "INCLUDE">
+<![%linkftr.module;[
+<!ENTITY % local.linkftr.attrib "">
+
+<!ENTITY % linkftr.element "INCLUDE">
+<![%linkftr.element;[
+<!ELEMENT linkftr %ho; (%para.char.mix;|%para.mix;)*>
+<!--end of linkftr.element-->]]>
+<!--end of linkftr.module-->]]>
+
View
@@ -6,5 +6,96 @@
<xsl:param name="para.propagates.style">1</xsl:param>
-</xsl:stylesheet>
+ <xsl:template match="searchbox">
+ <xsl:element name="form">
+ <xsl:attribute name="action">
+ <xsl:value-of select="'http://www.icdevgroup.org/i/dev/Swish'"/>
+ </xsl:attribute>
+ <xsl:attribute name="method">
+ <xsl:value-of select="'get'"/>
+ </xsl:attribute>
+
+ Search documentation:
+
+ <xsl:element name="input">
+ <xsl:attribute name="type">
+ <xsl:value-of select="'text'"/>
+ </xsl:attribute>
+ <xsl:attribute name="size">
+ <xsl:value-of select="'30'"/>
+ </xsl:attribute>
+ <xsl:attribute name="name">
+ <xsl:value-of select="'mv_searchspec'"/>
+ </xsl:attribute>
+ </xsl:element>
+
+ <xsl:element name="input">
+ <xsl:attribute name="type">
+ <xsl:value-of select="'submit'"/>
+ </xsl:attribute>
+ <xsl:attribute name="value">
+ <xsl:value-of select="'Go'"/>
+ </xsl:attribute>
+ </xsl:element>
+ (<xsl:element name="input">
+ <xsl:attribute name="type">
+ <xsl:value-of select="'checkbox'"/>
+ </xsl:attribute>
+ <xsl:attribute name="name">
+ <xsl:value-of select="'search_mailinglists'"/>
+ </xsl:attribute>
+ <xsl:attribute name="value">
+ <xsl:value-of select="'[either][value search_mailinglists][or]1[/either]'"/>
+ </xsl:attribute>
+ </xsl:element>
+ Include mailing lists)
+ <xsl:text disable-output-escaping="yes">
+ &amp;nbsp;&amp;nbsp;|&amp;nbsp;&amp;nbsp;
+ </xsl:text>
+ <xsl:element name="a">
+ <xsl:attribute name="href">
+ <xsl:value-of select="'http://www.icdevgroup.org/'"/>
+ </xsl:attribute>
+ Back to ICDEVGROUP Website
+ </xsl:element>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="linkftr">
+ Quick Links:
+ <xsl:element name="a">
+ <xsl:attribute name="href">
+ <xsl:value-of select="'http://d.icdevgroup.org/'"/>
+ </xsl:attribute>
+ Interchange documentation
+ </xsl:element> |
+ <xsl:element name="a">
+ <xsl:attribute name="href">
+ <xsl:value-of select="'http://www.icdevgroup.org/'"/>
+ </xsl:attribute>
+ ICDEVGROUP website
+ </xsl:element> |
+ <xsl:element name="a">
+ <xsl:attribute name="href">
+ <xsl:value-of select="'http://www.icdevgroup.org/cgi-bin/cvsweb/interchange/'"/>
+ </xsl:attribute>
+ Interchange CVS
+ </xsl:element>
+ (<xsl:element name="a">
+ <xsl:attribute name="href">
+ <xsl:value-of select="'http://www.icdevgroup.org/pipermail/interchange-cvs/'"/>
+ </xsl:attribute>Commits</xsl:element>) |
+ <xsl:element name="a">
+ <xsl:attribute name="href">
+ <xsl:value-of select="'http://www.icdevgroup.org/cgi-bin/cvsweb/xmldocs/'"/>
+ </xsl:attribute>
+ Documentation CVS
+ </xsl:element>
+ (<xsl:element name="a">
+ <xsl:attribute name="href">
+ <xsl:value-of select="'http://www.icdevgroup.org/pipermail/docs/'"/>
+ </xsl:attribute>Commits</xsl:element>)
+ </xsl:template>
+
+</xsl:stylesheet>
View
@@ -389,6 +389,15 @@ thead {
font-weight: bold;
}
+input, textarea, select {
+ /*border: 1px solid #004183;*/
+ border: 1px solid #000;
+ padding: 2px;
+ margin-left: 2px;
+ margin-right: 2px;
+}
+
+
/* AUGMENTING DEFINITIONS FOR PRINTING AND PROJECTION */
View
@@ -31,6 +31,9 @@
</informaltable>
-->
+<para>
+<searchbox/>
+</para>
<informaltable
align='center' pgwide='1' orient='port' title='' label='' frame='vsides'
@@ -273,4 +276,8 @@ the Free Software Foundation; either version 2 of the License, or
Copyright 2005-2007 <ulink url='http://www.icdevgroup.org/'>Interchange Development Group (http://www.icdevgroup.org/)</ulink>, Davor Ocelic, <ulink url='mailto:docelic+icdevgroup.org'>(docelic+icdevgroup.org)</ulink>
</para>
+<para>
+<linkftr/>
+</para>
+
</book>

0 comments on commit 3877fc5

Please sign in to comment.