734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
|
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
|
-
+
-
+
|
cgi_append_content("\n}\n", -1);
}
@ </script>
builtin_fulfill_js_requests();
}
/*
** Draw the footer at the bottom of the page.
** Emit the page body and footer HTML.
*/
void style_footer(void){
void style_body_and_footer(const char* zPageType){
const char *zFooter;
const char *zAd = 0;
unsigned int mAdFlags = 0;
if( !headerHasBeenGenerated ) return;
/* Go back and put the submenu at the top of the page. We delay the
|
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
|
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
|
-
+
|
@ </div>
}else if( zAd ){
@ <div class="adunit_banner">
cgi_append_content(zAd, -1);
@ </div>
}
@ <div class="content"><span id="debugMsg"></span>
@ <div class="content %s(zPageType)"><span id="debugMsg"></span>
cgi_destination(CGI_BODY);
if( sideboxUsed ){
@ <div class="endContent"></div>
}
@ </div>
|
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
|
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
|
-
+
|
if( showAll && blob_size(&g.httpHeader)>0 ){
@ <hr />
@ <pre>
@ %h(blob_str(&g.httpHeader))
@ </pre>
}
}
style_footer();
style_body_and_footer("error");
if( zErr ){
cgi_reply();
fossil_exit(1);
}
}
/*
|