Fossil SCM

moved attribute bgcolor to css

wolfgang 2010-10-06 09:54 UTC wolfgangFormat2CSS_2
Commit 720fa53d1f2ceeb3f22712529c5d31147170749f
1 file changed +2 -2
+2 -2
--- src/report.c
+++ src/report.c
@@ -723,11 +723,11 @@
723723
724724
/* Output the data for this entry from the database
725725
*/
726726
zBg = pState->iBg>=0 ? azArg[pState->iBg] : 0;
727727
if( zBg==0 ) zBg = "white";
728
- @ <tr bgcolor="%h(zBg)">
728
+ @ <tr style="background-color:%h(zBg)">
729729
zTid = 0;
730730
zPage[0] = 0;
731731
for(i=0; i<nArg; i++){
732732
char *zData;
733733
if( i==pState->iBg ) continue;
@@ -738,11 +738,11 @@
738738
@ <td valign="top"><a href="tktedit/%h(zTid)">edit</a></td>
739739
zTid = 0;
740740
}
741741
if( zData[0] ){
742742
Blob content;
743
- @ </tr><tr bgcolor="%h(zBg)"><td colspan=%d(pState->nCol)>
743
+ @ </tr><tr style="background-color:%h(zBg)"><td colspan=%d(pState->nCol)>
744744
blob_init(&content, zData, -1);
745745
wiki_convert(&content, 0, 0);
746746
blob_reset(&content);
747747
}
748748
}else if( azName[i][0]=='#' ){
749749
--- src/report.c
+++ src/report.c
@@ -723,11 +723,11 @@
723
724 /* Output the data for this entry from the database
725 */
726 zBg = pState->iBg>=0 ? azArg[pState->iBg] : 0;
727 if( zBg==0 ) zBg = "white";
728 @ <tr bgcolor="%h(zBg)">
729 zTid = 0;
730 zPage[0] = 0;
731 for(i=0; i<nArg; i++){
732 char *zData;
733 if( i==pState->iBg ) continue;
@@ -738,11 +738,11 @@
738 @ <td valign="top"><a href="tktedit/%h(zTid)">edit</a></td>
739 zTid = 0;
740 }
741 if( zData[0] ){
742 Blob content;
743 @ </tr><tr bgcolor="%h(zBg)"><td colspan=%d(pState->nCol)>
744 blob_init(&content, zData, -1);
745 wiki_convert(&content, 0, 0);
746 blob_reset(&content);
747 }
748 }else if( azName[i][0]=='#' ){
749
--- src/report.c
+++ src/report.c
@@ -723,11 +723,11 @@
723
724 /* Output the data for this entry from the database
725 */
726 zBg = pState->iBg>=0 ? azArg[pState->iBg] : 0;
727 if( zBg==0 ) zBg = "white";
728 @ <tr style="background-color:%h(zBg)">
729 zTid = 0;
730 zPage[0] = 0;
731 for(i=0; i<nArg; i++){
732 char *zData;
733 if( i==pState->iBg ) continue;
@@ -738,11 +738,11 @@
738 @ <td valign="top"><a href="tktedit/%h(zTid)">edit</a></td>
739 zTid = 0;
740 }
741 if( zData[0] ){
742 Blob content;
743 @ </tr><tr style="background-color:%h(zBg)"><td colspan=%d(pState->nCol)>
744 blob_init(&content, zData, -1);
745 wiki_convert(&content, 0, 0);
746 blob_reset(&content);
747 }
748 }else if( azName[i][0]=='#' ){
749

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button