Changeset 6810
- Timestamp:
- 2004-02-17T09:41:54+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/pageaction.cpp
r5633 r6810 759 759 } 760 760 else { 761 761 762 text_tmap::iterator check = cinfo->format.find("QueryInterface"); 762 763 if(check != cinfo->format.end()){ … … 792 793 793 794 } else if (arg_p == "preferences") { 795 794 796 if (cinfo == NULL) { 795 797 disp.setmacro("cvariable", "Global", arg_c); … … 804 806 805 807 // _collectionoption_ 806 807 808 if ((args["ccs"] == "1") && (cinfo->ccsCols.size() > 1)) { 808 809 text_t collectionoption = "_textcollectionoption_"; … … 863 864 text_tset metadata; 864 865 metadata.insert ("Title"); 866 //**************** 867 metadata.insert ("childtype"); 868 //**************** 865 869 bool getParents = false; 866 870 get_children ("", args["c"], metadata, getParents, collectproto, response, logout); … … 880 884 } 881 885 886 // ******************************** 887 int classifiernumber = 0; 888 bool collage = false; 889 882 890 while (here != end) { 891 892 classifiernumber++; 893 text_t childtype = (*here).metadata["childtype"].values[0]; 894 if (childtype == "Collage" && arg_p == "about") { 895 // get the classifier number 896 disp.setmacro ("classifier", "about", classifiernumber); 897 disp.setmacro ("aboutCollage", "about", "_collageapplet_"); 898 collage = true; 899 } 900 here ++; 901 } 902 if (! collage) 903 disp.setmacro ("aboutCollage", "about", "_collageempty_"); 904 905 // ******************************** 906 907 here = response.docInfo.begin(); 908 909 while (here != end) { 910 883 911 text_t title = (*here).metadata["Title"].values[0]; 884 912 885 913 text_t stext, ltext; 886 914 disp.expandstring ("help", "_text" + title + "short_", stext);
Note:
See TracChangeset
for help on using the changeset viewer.