Fossil SCM
Disentangled an incorrect intermingling of the "adunit" feature and the "content" div the begins the body area of each page.
Commit
e7fe61c13d4e562c665e67b3545bf186683a792801fd3ba0011d9835b865dbc1
Parent
b8b15a3689060c4…
1 file changed
+7
-8
+7
-8
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -864,18 +864,17 @@ | ||
| 864 | 864 | if( (mAdFlags & ADUNIT_RIGHT_OK)!=0 ){ |
| 865 | 865 | @ <div class="content adunit_right_container"> |
| 866 | 866 | @ <div class="adunit_right"> |
| 867 | 867 | cgi_append_content(zAd, -1); |
| 868 | 868 | @ </div> |
| 869 | - }else{ | |
| 870 | - if( zAd ){ | |
| 871 | - @ <div class="adunit_banner"> | |
| 872 | - cgi_append_content(zAd, -1); | |
| 873 | - @ </div> | |
| 874 | - } | |
| 875 | - @ <div class="content"><span id="debugMsg"></span> | |
| 876 | - } | |
| 869 | + }else if( zAd ){ | |
| 870 | + @ <div class="adunit_banner"> | |
| 871 | + cgi_append_content(zAd, -1); | |
| 872 | + @ </div> | |
| 873 | + } | |
| 874 | + | |
| 875 | + @ <div class="content"><span id="debugMsg"></span> | |
| 877 | 876 | cgi_destination(CGI_BODY); |
| 878 | 877 | |
| 879 | 878 | if( sideboxUsed ){ |
| 880 | 879 | /* Put the footer at the bottom of the page. |
| 881 | 880 | ** the additional clear/both is needed to extend the content |
| 882 | 881 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -864,18 +864,17 @@ | |
| 864 | if( (mAdFlags & ADUNIT_RIGHT_OK)!=0 ){ |
| 865 | @ <div class="content adunit_right_container"> |
| 866 | @ <div class="adunit_right"> |
| 867 | cgi_append_content(zAd, -1); |
| 868 | @ </div> |
| 869 | }else{ |
| 870 | if( zAd ){ |
| 871 | @ <div class="adunit_banner"> |
| 872 | cgi_append_content(zAd, -1); |
| 873 | @ </div> |
| 874 | } |
| 875 | @ <div class="content"><span id="debugMsg"></span> |
| 876 | } |
| 877 | cgi_destination(CGI_BODY); |
| 878 | |
| 879 | if( sideboxUsed ){ |
| 880 | /* Put the footer at the bottom of the page. |
| 881 | ** the additional clear/both is needed to extend the content |
| 882 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -864,18 +864,17 @@ | |
| 864 | if( (mAdFlags & ADUNIT_RIGHT_OK)!=0 ){ |
| 865 | @ <div class="content adunit_right_container"> |
| 866 | @ <div class="adunit_right"> |
| 867 | cgi_append_content(zAd, -1); |
| 868 | @ </div> |
| 869 | }else if( zAd ){ |
| 870 | @ <div class="adunit_banner"> |
| 871 | cgi_append_content(zAd, -1); |
| 872 | @ </div> |
| 873 | } |
| 874 | |
| 875 | @ <div class="content"><span id="debugMsg"></span> |
| 876 | cgi_destination(CGI_BODY); |
| 877 | |
| 878 | if( sideboxUsed ){ |
| 879 | /* Put the footer at the bottom of the page. |
| 880 | ** the additional clear/both is needed to extend the content |
| 881 |