Changeset 11356


Ignore:
Timestamp:
2006-03-14T14:46:18+13:00 (18 years ago)
Author:
kjdon
Message:

changed a usability macro, also if p=help, then check to see if DateSearch is enabled, and if so, define the Date searching help macros

File:
1 edited

Legend:

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

    r11149 r11356  
    783783      check = cinfo->format.find("Usability");
    784784      if(check != cinfo->format.end()){
    785     disp.setmacro("usability", displayclass::defaultpackage, "_imageusab_");
     785    disp.setmacro("usability", displayclass::defaultpackage, "_usablink_");
    786786    disp.setmacro("usabinterface", displayclass::defaultpackage, ("_usab"+(*check).second+"_"));
    787787    disp.setmacro("usabilityscript", displayclass::defaultpackage, "_usabshowscript_");
     
    947947    else disp.setmacro ("textbrowseoptions", "help", longtext);
    948948
     949    if (arg_p == "help") {
     950      // do we need to add in the datesearch help??
     951      text_tmap::iterator check = cinfo->format.find("QueryInterface");
     952      if(check != cinfo->format.end()){
     953    if((*check).second=="DateSearch"){
     954      text_t current = "_datesearch_";
     955      disp.setmacro("optdatesearchhelp","help","_datesearchhelp_");
     956      disp.setmacro("optdatesearchhelpcontents","help","_datesearchhelpcontents_");
     957    }
     958      }
     959     
     960    }
     961   
    949962    if (arg_p == "about") {
    950963
Note: See TracChangeset for help on using the changeset viewer.