Changeset 10025


Ignore:
Timestamp:
2005-06-08T11:06:35+12:00 (19 years ago)
Author:
mdewsnip
Message:

Now only displays search results information if a search has been done.

File:
1 edited

Legend:

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

    r10018 r10025  
    168168  disp.setmacro("content", displayclass::defaultpackage, "_gti:content_");
    169169  disp.setmacro("pagetitle", displayclass::defaultpackage, "_gti:textgti_");
    170   // disp.setmacro("gtiformaction", "gti", "_gwcgi_?a=gti");
    171170
    172171  // Define the page content for the GTI home page
     
    286285  if (query_string == "") {
    287286    // No query, so no search results
    288     disp.setmacro("gtisearchresults", "gti", "");
     287    disp.setmacro("gtifindformcontent", "gti", "");
    289288    return;
    290289  }
     
    304303
    305304  // Loop through the chunks returned, displaying them on the page
    306   text_t gti_find_form_content = "";
     305  text_t gti_find_form_content = "_gtifindformheader_\n";
    307306  text_tmap::iterator chunk_key_iterator = gti_response.target_file_chunks_key_to_text_mapping.begin();
    308307  while (chunk_key_iterator != gti_response.target_file_chunks_key_to_text_mapping.end()) {
Note: See TracChangeset for help on using the changeset viewer.