Changeset 10053
- Timestamp:
- 2005-06-13T13:29:32+12:00 (19 years ago)
- Location:
- trunk/gsdl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/gti.dm
r10052 r10053 1 1 # this file must be UTF-8 encoded 2 3 package Global4 5 # The preferences button must go to the "homepref" page, since we are not in a collection6 # _imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)}7 8 2 9 3 package gti … … 12 6 # page content 13 7 ####################################################################### 8 9 _pagetitle_ {_textgti_} 10 11 # The preferences button must go to the "homepref" page, since we are not in a collection 12 _imagepref_ {_gsimage_(_home:httppagehomepref_,_httpiconcprefof_,_httpiconcprefon_,pref,_textimagepref_)} 14 13 15 14 _content_ { -
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.