Changeset 1048
- Timestamp:
- 2000-03-31T15:04:32+12:00 (24 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/browsetools.cpp
r979 r1048 29 29 /* 30 30 $Log$ 31 Revision 1.40 2000/03/31 03:04:30 nzdl 32 tidied up some of the browsing code - replaced DocumentImages, 33 DocumentTitles and DocumentHeading with DocumentIcon 34 31 35 Revision 1.39 2000/02/25 02:28:43 sjboddie 32 36 caught up with assoc directory changes for displaying cover images … … 258 262 259 263 format_t *formatlistptr = new format_t(); 260 parse_formatstring (formatinfo.Document Heading, formatlistptr, metadata, getParents);264 parse_formatstring (formatinfo.DocumentIcon, formatlistptr, metadata, getParents); 261 265 262 266 if (!get_info (args["d"], args["c"], metadata, getParents, collectproto, response, logout)) … … 665 669 // if we're inside a book 666 670 if ((!fulltoc) && (!args["d"].empty())) { 667 textout << "<p><table cellpadding=0 cellspacing=0><tr>\n"; 668 textout << "<td valign=top"; 671 textout << outconvert << disp 672 << "<p><center><table width=_pagewidth_><tr>\n" 673 << "<td valign=top"; 669 674 if (formatinfo.DocumentContents) textout << " width=200>\n"; 670 675 else textout << " width=100%>\n"; 671 if (formatinfo.DocumentI mages)676 if (formatinfo.DocumentIcon == "true") 672 677 output_cover_image (args, collectproto, disp, outconvert, textout, logout); 673 else if (formatinfo.Document Titles)678 else if (formatinfo.DocumentIcon != "false") 674 679 output_titles (args, collectproto, formatinfo, disp, outconvert, textout, logout); 675 680 output_controls (args, formatinfo.DocumentButtons, collectproto, disp, … … 693 698 } 694 699 695 if (havecontrols) textout << "</td></tr></table> \n";696 } 697 698 699 700 if (havecontrols) textout << "</td></tr></table></center>\n"; 701 } 702 703 704 -
trunk/gsdl/src/recpt/documentaction.cpp
r928 r1048 28 28 /* 29 29 $Log$ 30 Revision 1.35 2000/03/31 03:04:31 nzdl 31 tidied up some of the browsing code - replaced DocumentImages, 32 DocumentTitles and DocumentHeading with DocumentIcon 33 30 34 Revision 1.34 2000/02/15 22:53:49 kjm18 31 35 search history stuff added. … … 604 608 605 609 while (format_here != format_end) { 606 if (((*format_here).first == "DocumentImages") && 607 ((*format_here).second == "true")) 608 formatinfo.DocumentImages = true; 609 else if (((*format_here).first == "DocumentTitles") && 610 ((*format_here).second == "false")) 611 formatinfo.DocumentTitles = false; 612 else if ((*format_here).first == "DocumentHeading") 613 formatinfo.DocumentHeading = (*format_here).second; 610 if ((*format_here).first == "DocumentIcon") 611 formatinfo.DocumentIcon = (*format_here).second; 614 612 else if (((*format_here).first == "DocumentContents") && 615 613 ((*format_here).second == "false")) -
trunk/gsdl/src/recpt/formattools.cpp
r874 r1048 28 28 /* 29 29 $Log$ 30 Revision 1.18 2000/03/31 03:04:31 nzdl 31 tidied up some of the browsing code - replaced DocumentImages, 32 DocumentTitles and DocumentHeading with DocumentIcon 33 30 34 Revision 1.17 2000/01/26 20:10:31 sjboddie 31 35 changed the default order of detach/expand/highlight buttons … … 124 128 125 129 void formatinfo_t::clear() { 126 DocumentImages = false; 127 DocumentTitles = true; 128 DocumentHeading = "{Or}{[parent(Top):Title],[Title],untitled}<br>"; 130 DocumentIcon = "{Or}{[parent(Top):Title],[Title],untitled}<br>"; 129 131 DocumentContents = true; 130 132 DocumentArrowsBottom = true; -
trunk/gsdl/src/recpt/formattools.h
r868 r1048 76 76 formatinfo_t () {clear();} 77 77 78 bool DocumentImages; 79 bool DocumentTitles; 80 text_t DocumentHeading; 78 text_t DocumentIcon; 81 79 bool DocumentContents; 82 80 bool DocumentArrowsBottom; -
trunk/gsdl/src/recpt/pagedbrowserclass.cpp
r943 r1048 28 28 /* 29 29 $Log$ 30 Revision 1.9 2000/03/31 03:04:32 nzdl 31 tidied up some of the browsing code - replaced DocumentImages, 32 DocumentTitles and DocumentHeading with DocumentIcon 33 30 34 Revision 1.8 2000/02/17 20:54:00 sjboddie 31 35 minor change to macro name … … 141 145 142 146 // must be at top level to get to here! 143 textout << outconvert << disp << "< table><tr valign=top><td colspan=3><center><b>"144 << section.metadata["Title"].values[0] <<"_document:textintro_</b>\n";147 textout << outconvert << disp << "<b>" << section.metadata["Title"].values[0] 148 << "_document:textintro_</b>\n"; 145 149 146 150 return 0; -
trunk/gsdl/src/recpt/vlistbrowserclass.cpp
r934 r1048 28 28 /* 29 29 $Log$ 30 Revision 1.8 2000/03/31 03:04:32 nzdl 31 tidied up some of the browsing code - replaced DocumentImages, 32 DocumentTitles and DocumentHeading with DocumentIcon 33 30 34 Revision 1.7 2000/02/17 02:33:09 sjboddie 31 35 minor tidy up - made some function definitions virtual … … 100 104 101 105 if (use_table || colnumber > 0) { 102 textout << "<table><tr >";106 textout << "<table><tr valign=top>"; 103 107 // get tab size 104 108 text_t tab; int itab; … … 134 138 135 139 if (colnumber > 0) { 136 textout << "<table><tr >";140 textout << "<table><tr valign=top>"; 137 141 // get tab size 138 142 text_t tab; int itab; … … 158 162 if (arg_cl == (*thissection).OID) highlight = true; 159 163 160 if (use_table || colnumber > 0) textout << "<tr >";164 if (use_table || colnumber > 0) textout << "<tr valign=top>"; 161 165 textout << outconvert << disp << get_formatted_string (*thissection, formatlistptr, 162 166 link, icon, highlight);
Note:
See TracChangeset
for help on using the changeset viewer.