Changeset 23839

Show
Ignore:
Timestamp:
30.03.2011 16:11:40 (8 years ago)
Author:
sjm84
Message:

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

Files:
1 modified

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();