Differences From:
File
src/style.c
part of check-in
[d3e711fd2f]
- Work toward getting bug-tracking working well.
by
drh on
2008-07-15 16:42:48.
[view]
To:
File
src/style.c
part of check-in
[23ed5e2cd6]
- CSS fixes - make <div class="content"> ... </div> actually enclose the content. Also add a couple of missing footers.
by
eric on
2008-07-18 21:44:58.
[view]
@@ -120,11 +120,11 @@
/* 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];
@@ -134,16 +134,16 @@
@ <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: // */