Changeset 27309
- Timestamp:
- 2013-05-07T14:35:49+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/recpt/datelistbrowserclass.cpp
r27108 r27309 149 149 150 150 textout << outconvert << "<tr valign=top>"; 151 151 bool new_year = false; 152 152 if (thisyear != "" && thisyear != lastyear) { 153 153 textout << outconvert << "<td><span class=\"date_list_year\">" << thisyear << "</span></td>"; 154 154 lastyear = thisyear; 155 new_year = true; 155 156 } else { 156 157 textout << outconvert << "<td></td>"; 157 158 } 158 if (thismonth != "" && thismonth != lastmonth) {159 if (thismonth != "" && (thismonth != lastmonth || new_year)) { 159 160 textout << outconvert << disp << ("<td><span class=\"date_list_month\">_textmonth" + thismonth + "_</span></td>"); 160 161 lastmonth = thismonth;
Note:
See TracChangeset
for help on using the changeset viewer.