Changeset 3305
- Timestamp:
- May 8, 2007, 1:57:25 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/src/docbook/developerdoc/write_docbook_doc.xml
r3301 r3305 351 351 The parts of the text that also should be used as help texts in the web must be 352 352 inside 353 <sgmltag >helptext</sgmltag>354 tags. These texts will be exported to a XML-file at the same time as the355 HTML-documentation is generated. The generated XML-file is compatible with the help353 <sgmltag class="starttag">helptext</sgmltag> 354 tags. These texts will be exported to a XML-file at the same time as the 355 HTML-documentation is generated. The generated XML-file is compatible with the help 356 356 text importer in BASE2 and will be imported when running the update script or 357 357 installation script. … … 369 369 </note> 370 370 <para> 371 Each tag requires two differentattributes371 The tag supports the following attributes 372 372 <variablelist> 373 373 <varlistentry> … … 377 377 <listitem> 378 378 <para> 379 is used to identify and to find a help text in the web client.380 BASE2's web client already has a several of IDs to help texts that381 are defined,it could therefore be a good idea to have a look in the379 Is used to identify and to find a help text in the web client. 380 BASE2's web client already has several IDs to help texts defined, 381 it could therefore be a good idea to have a look in the 382 382 program to see if there already is an external id to use for the 383 383 particular help text. … … 391 391 <listitem> 392 392 <para> 393 is directly connected to the name/title property for a help text393 Is directly connected to the name/title property for a help text 394 394 item in BASE2. 395 </para> 396 </listitem> 397 </varlistentry> 398 <varlistentry> 399 <term> 400 <sgmltag class="attribute">webonly</sgmltag> 401 </term> 402 <listitem> 403 <para> 404 If set to a non-zero value, the contents of the tag 405 will not be outputted in the HTML or PDF documentation. 406 This is useful for minor functionality that is not 407 important enough to be mentioned in the documentation but has 408 a help icon in the web client. 395 409 </para> 396 410 </listitem> -
trunk/lib/docbook/custom-styles/docbook/plain/xsl/customized.chunked.xsl
r3301 r3305 118 118 119 119 <xsl:template match="helptext"> 120 <xsl:apply-templates /> 120 <xsl:choose> 121 <xsl:when test="@webonly = '0'"> 122 <xsl:apply-templates /> 123 </xsl:when> 124 </xsl:choose> 121 125 </xsl:template> 122 126 -
trunk/lib/docbook/custom-styles/docbook/plain/xsl/customized.pdf-fop.xsl
r3285 r3305 29 29 30 30 <xsl:template match="helptext"> 31 <xsl:apply-templates /> 31 <xsl:choose> 32 <xsl:when test="@webonly = '0'"> 33 <xsl:apply-templates /> 34 </xsl:when> 35 </xsl:choose> 32 36 </xsl:template> 33 37 -
trunk/lib/docbook/preprocess/dweiss-docbook-extensions.dtd
r3301 r3305 34 34 <!ATTLIST helptext external_id CDATA #REQUIRED> 35 35 <!ATTLIST helptext title CDATA #REQUIRED> 36 <!ATTLIST helptext webonly (0|1) "0"> 36 37 37 38 <!ELEMENT seeother (other*)>
Note: See TracChangeset
for help on using the changeset viewer.