Ignore:
Timestamp:
2003-09-18T10:54:38+12:00 (21 years ago)
Author:
mdewsnip
Message:

Changed "invalid collection" error message to include the value of the 'c' variable. Also displayed the same message on the preferences page if a non-existant collection is specified.

File:
1 edited

Legend:

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

    r5509 r5513  
    754754  if (arg_p == "about") {
    755755    if (cinfo == NULL) {
     756      disp.setmacro("cvariable", "Global", arg_c);
    756757      disp.setmacro("content", arg_p, "<p>_textbadcollection_<p>");
    757758      return;
     
    792793
    793794  } else if (arg_p == "preferences") {
     795    if (cinfo == NULL) {
     796      disp.setmacro("cvariable", "Global", arg_c);
     797      disp.setmacro("content", arg_p, "<p>_textbadcollection_<p>");
     798      return;
     799    }
     800
    794801    if (collectproto == NULL) {return;}
    795802   
Note: See TracChangeset for help on using the changeset viewer.