Changeset 7067


Ignore:
Timestamp:
2004-03-16T21:55:57+13:00 (20 years ago)
Author:
mdewsnip
Message:

Added in the code from pageaction where if the collection specified by the c variable does not exist, you get a nice page rather than a view of the error log.

File:
1 edited

Legend:

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

    r6584 r7067  
    12781278    logout << outconvert << "queryaction::search_single_collection: " << collection
    12791279       << " collection has a NULL collectproto\n";
    1280     return false;
     1280
     1281    // Display the "this collection is not installed on this system" page
     1282    disp.setmacro("cvariable", "Global", collection);
     1283    disp.setmacro("content", "query", "<p>_textbadcollection_<p>");
     1284
     1285    textout << outconvert << disp << "_query:header_\n"
     1286        << "_query:content_\n" << "_query:footer_\n";
     1287    return true;
    12811288  }
    12821289
Note: See TracChangeset for help on using the changeset viewer.