Changeset 10053 for trunk/gsdl/src/recpt/gtiaction.cpp
- Timestamp:
- 2005-06-13T13:29:32+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/gtiaction.cpp
r10051 r10053 126 126 ostream& logout) 127 127 { 128 textout << outconvert << disp << ("_ header_\n") << ("_content_\n") << ("_footer_\n");128 textout << outconvert << disp << ("_gti:header_\n") << ("_gti:content_\n") << ("_gti:footer_\n"); 129 129 return true; 130 130 } … … 148 148 logout << endl << "CGI arg p: " << args["p"] << endl; 149 149 150 // Set the page content to be the content macro for the gti package 151 disp.setmacro("content", displayclass::defaultpackage, "_gti:content_"); 152 disp.setmacro("pagetitle", displayclass::defaultpackage, "_gti:textgti_"); 150 // For some reason this must be done as well as setting the macro in gti.dm 151 disp.setmacro("imagepref", displayclass::defaultpackage, "_gti:imagepref_"); 153 152 154 153 // Define the page content for the GTI home page
Note:
See TracChangeset
for help on using the changeset viewer.