From: <fr...@us...> - 2004-01-02 00:09:49
|
Update of /cvsroot/devil-linux/web In directory sc8-pr-cvs1:/tmp/cvs-serv11474 Modified Files: index.shtml Log Message: add support for the more complicated documentation pages Index: index.shtml =================================================================== RCS file: /cvsroot/devil-linux/web/index.shtml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- index.shtml 1 Jan 2004 17:13:19 -0000 1.3 +++ index.shtml 2 Jan 2004 00:09:45 -0000 1.4 @@ -3,17 +3,24 @@ <html> <head> <meta content="text/html; charset=ISO-8859-15" http-equiv="content-type"> - <!--#include virtual="head.shtml" --> + <!--#if expr="${THIS_PAGE}" --><!--#include virtual="head_${THIS_PAGE}.shtml" --><!--#else --><!--#include virtual="head.shtml" --><!--#endif --> <link rel="stylesheet" type="text/css" href="/dl.css"> </head> <body> +<!--#if expr="${THIS_PAGE}" --><!-- THIS_PAGE="<!--#echo var="THIS_PAGE" -->" --><!--#endif --> <!--#if expr="${SECTION}" --><!-- SECTION="<!--#echo var="SECTION" -->" --><!--#endif --> + +<!--#set var="CONTENT_FRAME" value="content" --> +<!--#set var="CONTENT_FRAME_EXT" value="shtml" --> +<!--#if expr="${THIS_PAGE}" --><!--#set var="CONTENT_FRAME" value="${CONTENT_FRAME}_${THIS_PAGE}" --><!--#endif --> +<!--#if expr="${SECTION}" --><!--#set var="CONTENT_FRAME" value="${SECTION}/${CONTENT_FRAME}" --><!--#endif --> + <table border=0 width="100%"> <tr> <td class="frameleft"><!--#include virtual="menu.shtml" --></td> <td class="top"><p> </p></td> - <td class="frameright"><!--#if expr="${SECTION}" --><!--#include virtual="${SECTION}/content.shtml" --><!--#else --><!--#include virtual="content.shtml" --><!--#endif --></td> + <td class="frameright"><!--#include virtual="${CONTENT_FRAME}.${CONTENT_FRAME_EXT}" --></td> </tr> </table> |