Ignore:
Timestamp:
2005-06-13T13:29:32+12:00 (19 years ago)
Author:
mdewsnip
Message:

Fixed the preferences button, for real this time I hope.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/gtiaction.cpp

    r10051 r10053  
    126126              ostream& logout)
    127127{
    128   textout << outconvert << disp << ("_header_\n") << ("_content_\n") << ("_footer_\n");
     128  textout << outconvert << disp << ("_gti:header_\n") << ("_gti:content_\n") << ("_gti:footer_\n");
    129129  return true;
    130130}
     
    148148  logout << endl << "CGI arg p: " << args["p"] << endl;
    149149
    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_");
    153152
    154153  // Define the page content for the GTI home page
Note: See TracChangeset for help on using the changeset viewer.