Changeset 12476


Ignore:
Timestamp:
2006-08-18T13:34:53+12:00 (18 years ago)
Author:
kjdon
Message:

removed the extra ct arg from the view collection button href, and changed it to target=blank instead of top - do we want this?

File:
1 edited

Legend:

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

    r12019 r12476  
    883883
    884884  } else if (type == "view") {
    885 
    886     // view button is special case as it needs a ct=? and target=_top
    887 
    888     text_t bt = args[macro_prefix+"buildtype"];
    889 
    890     // convert build type to 'ct' argument: mg=1, mgpp=2, lucene=3
    891     text_t ct = "&ct=";
    892     if (bt=="lucene") {
    893       ct += "2";
    894     }
    895     else if (bt=="mgpp") {
    896       ct += "1";
    897     }
    898     else {
    899       // mg
    900       ct += "0";
    901     }
    902     href += ct;
    903 
    904     target = " target=_top";
     885   //target = " target=_top";
     886    target = " target=_blank";
    905887  }
    906888
Note: See TracChangeset for help on using the changeset viewer.