Changeset 7618
- Timestamp:
- 2004-06-18T10:17:15+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/pagedbrowserclass.cpp
r7432 r7618 131 131 132 132 text_t previousOID, previoustitle, nextOID, nexttitle; 133 text_t prev iousarrow, nextarrow, httpprevarrow, httpnextarrow;133 text_t prevarrow, nextarrow, httpprevarrow, httpnextarrow; 134 134 bool found = false; 135 135 … … 149 149 previoustitle = (*(thissection-1)).metadata["Title"].values[0]; 150 150 } else { 151 prev iousarrow = "_document:parentarrow_";151 prevarrow = "_document:parentarrow_"; 152 152 } 153 153 … … 168 168 textout << outconvert << disp 169 169 << ("_document:textnumpages_(" + text_t(numpages) + ")</center></td></tr>\n"); 170 171 disp.setmacro ("numpages", "document", numpages); 170 172 171 173 if (!found) { … … 177 179 if (!previousOID.empty()) { 178 180 httpprevarrow = "_httpdocument_&cl=" + args["cl"] + "&d=" + dm_safe(previousOID); 179 prev iousarrow = "<a href=\"" + httpprevarrow + "\">_iconprev_" + previoustitle + "</a>\n";181 prevarrow = "<a href=\"" + httpprevarrow + "\">_iconprev_" + previoustitle + "</a>\n"; 180 182 } 181 183 if (!nextOID.empty()) { … … 188 190 if (!httpnextarrow.empty()) disp.setmacro ("httpnextarrow", "document", httpnextarrow); 189 191 192 if (!prevarrow.empty()) disp.setmacro ("prevarrow", "document", prevarrow); 193 if (!nextarrow.empty()) disp.setmacro ("nextarrow", "document", nextarrow); 194 195 190 196 textout << outconvert << disp << "<tr valign=middle>\n" 191 << "<td align=right>" << prev iousarrow << "</td>\n"197 << "<td align=right>" << prevarrow << "</td>\n" 192 198 << "<td align=center valign=top>_document:gotoform_</td>" 193 199 << "<td align=left>" << nextarrow << "</td>\n"
Note:
See TracChangeset
for help on using the changeset viewer.