Changeset 23839


Ignore:
Timestamp:
2011-03-30T16:11:40+13:00 (10 years ago)
Author:
sjm84
Message:

Restoring this file back to what it was after an accidental commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/TransformingReceptionist.java

    r23837 r23839  
    287287     boolean allowsClientXSLT = (Boolean)config_params.get(GSConstants.ALLOW_CLIENT_SIDE_XSLT);
    288288     //System.out.println("Client side transforms allowed? " + allowsClientXSLT);
    289 
    290      String currentInterface = (String)config_params.get(GSConstants.INTERFACE_NAME);
    291289     
    292290     // Force it back to traditional
    293      if(!allowsClientXSLT && currentInterface.equals("default"))
     291     if(!allowsClientXSLT)
    294292        config_params.put(GSConstants.INTERFACE_NAME, "traditional");
    295293   
     
    297295     String output = request.getAttribute(GSXML.OUTPUT_ATT);   
    298296     
     297     String currentInterface = (String)config_params.get(GSConstants.INTERFACE_NAME);
    299298     //System.out.println("Current output mode is: " + output + ", current interface name is: " + currentInterface);
    300299     
     
    414413      if (collection == null) collection = "";
    415414    }
    416 
     415       
    417416    String xslt_file = getXSLTFileName(action, subaction, collection);
    418417    if (xslt_file==null) {
     
    420419      return fileNotFoundErrorPage(xslt_file);
    421420    }
    422 
     421       
    423422    Document style_doc = this.converter.getDOM(new File(xslt_file), "UTF-8");
    424423    String errorPage = this.converter.getParseErrorMessage();
Note: See TracChangeset for help on using the changeset viewer.