Check-in [23ed5e2cd6]
Not logged in
Overview

SHA1 Hash:23ed5e2cd6e89a22c922d9f6ac6f9627d9d442bd
Date: 2008-07-18 21:44:58
User: eric
Edited Comment:CSS fixes - make <div class="content"> ... </div> actually enclose the content. Also add a couple of missing footers.
Original Comment:CSS fixes - make ... actually enclose the content. Also add a couple of missing footers.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/setup.c from [5f5b17c105] to [a90d39e174].

@@ -683,10 +683,11 @@
   @ <hr>
   @ Here is the default page header:
   @ <blockquote><pre>
   @ %h(zDefaultHeader)
   @ </pre></blockquote>
+  style_footer();
   db_end_transaction(0);
 }
 
 /*
 ** WEBPAGE: setup_footer
@@ -715,7 +716,8 @@
   @ <hr>
   @ Here is the default page footer:
   @ <blockquote><pre>
   @ %h(zDefaultFooter)
   @ </pre></blockquote>
+  style_footer();
   db_end_transaction(0);
 }

Modified src/style.c from [7071fb1a0f] to [2c3b74d980].

@@ -119,13 +119,13 @@
 
   /* Go back and put the submenu at the top of the page.  We delay the
   ** creation of the submenu until the end so that we can add elements
   ** to the submenu while generating page text.
   */
+  cgi_destination(CGI_HEADER);
   if( nSubmenu>0 ){
     int i;
-    cgi_destination(CGI_HEADER);
     @ <div class="submenu">
     qsort(aSubmenu, nSubmenu, sizeof(aSubmenu[0]), submenuCompare);
     for(i=0; i<nSubmenu; i++){
       struct Submenu *p = &aSubmenu[i];
       if( p->zLink==0 ){
@@ -133,18 +133,18 @@
       }else{
         @ <a class="label" href="%s(p->zLink)">%h(p->zLabel)</a>
       }
     }
     @ </div>
-    cgi_destination(CGI_BODY);
   }
+  @ <div class="content">
+  cgi_destination(CGI_BODY);
 
   /* Put the footer at the bottom of the page.
   */
-  @ <div class="content">
-  zFooter = db_get("footer", (char*)zDefaultFooter);
   @ </div>
+  zFooter = db_get("footer", (char*)zDefaultFooter);
   Th_Render(zFooter);
 }
 
 /* @-comment: // */
 /*