Changeset 3666
- Timestamp:
- 2003-01-13T20:09:15+13:00 (21 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/browsetools.cpp
r2805 r3666 74 74 int count = 0; 75 75 while (here != end) { 76 if ((count != 0) && ((count % 2) == 0)) textout << "<br>\n";76 if ((count != 0) && ((count % 2) == 0)) textout<< outconvert << "<br>\n"; 77 77 textout << outconvert << disp << *here; 78 78 count ++; … … 607 607 formatinfo, collectproto, disp, outconvert, textout, logout); 608 608 609 textout << "</table></td></tr></table>\n";609 textout << outconvert << "</table></td></tr></table>\n"; 610 610 } 611 611 … … 764 764 // if we're inside a book 765 765 if ((!fulltoc) && (!args["d"].empty())) { 766 textout << "<center>\n";766 textout << outconvert << "<center>\n"; 767 767 textout << outconvert << disp << "<p><table width=_pagewidth_ cellpadding=0 cellspacing=0><tr>\n"; 768 textout << "<td valign=top align=left";769 if (formatinfo.DocumentContents) textout << " width=200>\n";770 else textout << " width=100%>\n";768 textout << outconvert << "<td valign=top align=left"; 769 if (formatinfo.DocumentContents) textout << outconvert << " width=200>\n"; 770 else textout << outconvert << " width=\"100%\">\n"; 771 771 if (formatinfo.DocumentImages) 772 772 output_cover_image (args, collectproto, disp, outconvert, textout, logout); … … 777 777 outconvert, textout, logout); 778 778 } 779 textout << "</td><td valign=top>\n";779 textout << outconvert << "</td><td valign=\"top\">\n"; 780 780 havecontrols = true; 781 781 } … … 800 800 } 801 801 802 if (havecontrols) textout << "</td></tr></table></center>\n";802 if (havecontrols) textout << outconvert << "</td></tr></table></center>\n"; 803 803 804 804 //if there is a format specified in the config file then -
trunk/gsdl/src/recpt/datelistbrowserclass.cpp
r1610 r3666 68 68 69 69 if (use_table || colnumber > 0) { 70 textout << "<table><tr><td>";70 textout << outconvert << "<table><tr><td>"; 71 71 // get tab size 72 72 text_t tab; int itab; … … 74 74 itab = tab.getint(); 75 75 if (colnumber > 0) 76 textout << "<img src=\"_httpimg_/space.gif\" width=" << (itab*colnumber) << ">";77 textout << "</td><td>";76 textout << outconvert << "<img src=\"_httpimg_/space.gif\" width=" << (itab*colnumber) << ">"; 77 textout << outconvert << "</td><td>"; 78 78 } 79 79 80 textout << "<table>\n";80 textout << outconvert << "<table>\n"; 81 81 82 82 ResultDocInfo_tarray::iterator thissection = sections.docInfo.begin(); … … 108 108 } else link += args["cl"] + "&d=" + (*thissection).OID + "\">"; 109 109 110 textout << "<tr valign=top>";110 textout << outconvert << "<tr valign=top>"; 111 111 112 112 if (thisyear != lastyear) { … … 114 114 lastyear = thisyear; 115 115 } else 116 textout << "<td></td>";116 textout << outconvert << "<td></td>"; 117 117 118 118 if (thismonth != lastmonth) { … … 120 120 lastmonth = thismonth; 121 121 } else 122 textout << "<td></td>";122 textout << outconvert << "<td></td>"; 123 123 124 if (!use_table) textout << "<td>\n";124 if (!use_table) textout << outconvert << "<td>\n"; 125 125 126 126 textout << outconvert << disp … … 130 130 logout) << "\n"; 131 131 132 if (!use_table) textout << "</td>";132 if (!use_table) textout << outconvert << "</td>"; 133 133 134 textout << "</tr>\n";134 textout << outconvert << "</tr>\n"; 135 135 136 136 thissection ++; 137 137 } 138 138 139 textout << "</table>\n";139 textout << outconvert << "</table>\n"; 140 140 141 if (use_table || colnumber > 0) textout << "</td></tr></table>\n";141 if (use_table || colnumber > 0) textout << outconvert << "</td></tr></table>\n"; 142 142 return 1; 143 143 } -
trunk/gsdl/src/recpt/documentaction.cpp
r3546 r3666 772 772 // output the document text 773 773 if (!args["d"].empty()) { 774 textout << "<p>\n";774 textout << outconvert << "<p>\n"; 775 775 output_document (OID, args, collectproto, disp, outconvert, textout, logout); 776 776 } -
trunk/gsdl/src/recpt/hlistbrowserclass.cpp
r2684 r3666 101 101 102 102 if (use_table || colnumber > 0) { 103 textout << "<table><tr><td>";103 textout << outconvert << "<table><tr><td>"; 104 104 // get tab size 105 105 text_t tab; int itab; … … 109 109 << "<img src=\"_httpimg_/space.gif\" width=" 110 110 << (itab*colnumber) << ">"; 111 textout << "</td>\n";111 textout << outconvert << "</td>\n"; 112 112 } 113 113 114 textout << "<table><tr>\n";114 textout << outconvert << "<table><tr>\n"; 115 115 116 116 ResultDocInfo_tarray::iterator tsibling = response.docInfo.begin(); … … 158 158 159 159 if (num_chars>100) { // this is fairly arbitrary... 160 textout << "</tr>\n<tr>";160 textout << outconvert << "</tr>\n<tr>"; 161 161 num_chars=0; 162 162 } 163 163 164 textout << "<td>" << outconvert<< disp << fmt_str << "</td>\n";164 textout << outconvert << "<td>" << disp << fmt_str << "</td>\n"; 165 165 tsibling ++; 166 166 } 167 167 168 textout << "</tr></table>\n";169 if (use_table || colnumber > 0) textout << "</tr></table>\n";168 textout << outconvert << "</tr></table>\n"; 169 if (use_table || colnumber > 0) textout << outconvert << "</tr></table>\n"; 170 170 return 0; 171 171 } -
trunk/gsdl/src/recpt/vlistbrowserclass.cpp
r3543 r3666 73 73 74 74 if (use_table || colnumber > 0) { 75 textout << "<table><tr valign=top>";75 textout << outconvert << "<table><tr valign=top>"; 76 76 // get tab size 77 77 text_t tab; int itab; … … 88 88 link, icon, highlight, logout); 89 89 90 if (use_table || colnumber > 0) textout << "</tr></table>\n";90 if (use_table || colnumber > 0) textout << outconvert << "</tr></table>\n"; 91 91 92 92 return 1; … … 109 109 110 110 if (colnumber > 0) { 111 textout << "<table><tr valign=top>";111 textout << outconvert << "<table><tr valign=top>"; 112 112 // get tab size 113 113 text_t tab; int itab; … … 117 117 << "<td><img src=\"_httpimg_/space.gif\" width=" 118 118 << (itab*colnumber) << "></td>"; 119 textout << "<td>";120 } 121 if (use_table) textout << "<table>\n";119 textout << outconvert << "<td>"; 120 } 121 if (use_table) textout << outconvert << "<table>\n"; 122 122 123 123 ResultDocInfo_tarray::iterator thissection = sections.docInfo.begin(); … … 150 150 151 151 if ((item == 1 && use_table) || colnumber > 0 ) 152 textout << "<tr valign=top>\n";152 textout << outconvert << "<tr valign=top>\n"; 153 153 154 154 textout << outconvert << disp … … 157 157 158 158 if ((item >= perline && use_table) || colnumber > 0) { 159 textout << "\n</tr>";159 textout << outconvert << "\n</tr>"; 160 160 item = 0; 161 161 } 162 textout << "\n";162 textout << outconvert << "\n"; 163 163 thissection ++; 164 164 } 165 165 166 if (use_table) textout << "</table>\n";167 if (colnumber > 0) textout << "</table></td></tr></table>\n";166 if (use_table) textout << outconvert << "</table>\n"; 167 if (colnumber > 0) textout << outconvert << "</table></td></tr></table>\n"; 168 168 169 169 return 1;
Note:
See TracChangeset
for help on using the changeset viewer.