From 1cdb4fddbfbbe5a1cd4c11ecdec4f38e96a3fcc3 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 24 Aug 2000 22:25:19 +0000 Subject: [PATCH] Rework HTML generation for consistency with web site --- doc/guide/preamble.sdf | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/doc/guide/preamble.sdf b/doc/guide/preamble.sdf index e02f2992c0..49e5f53bd2 100644 --- a/doc/guide/preamble.sdf +++ b/doc/guide/preamble.sdf @@ -16,10 +16,8 @@ !define DOC_NAME "OpenLDAP" !define DOC_TYPE "Guide" -!define DOC_LOGO "../images/LDAPwww.gif" -# should create a smaller logo for HTML and TOPIC purposes -#!define DOC_HTML_LOGO "../images/LDAPlogo.gif" -!define DOC_TOPIC_LOGO "../images/LDAPlogo.gif" +!define DOC_LOGO "../images/LDAPlogo.gif" +!define DOC_HTML_LOGO "" !define DOC_LOF_TITLE "Figures" !define DOC_LOF @@ -31,7 +29,19 @@ !block inline !endblock - !HTML_NAVIGATE + !if DOC_LOGO + !block inline + + !endblock + !import DOC_LOGO; align="Left"; border="0"; base=$var{'DOC_LOGO_BASE'} + !block inline + + !endblock + !HTML_NAVIGATE + !clear "Left" + !else + !HTML_NAVIGATE + !endif !endmacro !macro HTML_FOOTER @@ -48,10 +58,24 @@ ______________
!endmacro !macro HTML_TOPIC_HEADER - !block inline + !block inline; expand !endblock - !HTML_TOPIC_NAVIGATE + !define DOC_TOPIC_LOGO $var{'DOC_LOGO'} + !if DOC_TOPIC_LOGO + !default DOC_TOPIC_LOGO_BASE $var{'DOC_LOGO_BASE'} + !block inline + + !endblock + !import DOC_TOPIC_LOGO; align="Left"; border="0"; base=$var{'DOC_TOPIC_LOGO_BASE'} + !block inline + + !endblock + !HTML_TOPIC_NAVIGATE + !clear "Left" + !else + !HTML_TOPIC_NAVIGATE + !endif !endmacro !macro HTML_TOPIC_FOOTER -- 2.39.5