Changeset 25461

Show
Ignore:
Timestamp:
24.04.2012 11:37:36 (7 years ago)
Author:
sjm84
Message:

A minor format edit and adding a docEdit cgi parameter to control when the on-page format editing is on

Location:
main/trunk/greenstone3/src/java/org/greenstone/gsdl3
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractGS2FieldSearch.java

    r24898 r25461  
    158158                { 
    159159                    Element t = (Element) search_types.item(i); 
     160 
    160161                    String type_name = t.getAttribute(GSXML.NAME_ATT); 
    161162                    if (type_name.equals(SEARCH_TYPE_PLAIN)) 
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/GSParams.java

    r25356 r25461  
    6060    public static final String DISPLAY_METADATA = "dmd"; 
    6161    public static final String FILE_LOCATION = "fl"; 
     62    public static final String DOC_EDIT = "docEdit"; 
    6263 
    6364    //Administration 
     
    100101        addParameter(INLINE_TEMPLATE, false); 
    101102        addParameter(DISPLAY_METADATA, false); 
     103        addParameter(DOC_EDIT, false); 
    102104        addParameter(PASSWORD, false); 
    103105        addParameter(S_PASSWORD, false);