Changeset 14533

Show
Ignore:
Timestamp:
17.09.2007 15:44:27 (12 years ago)
Author:
qq6
Message:

set up the library name in setSiteDetails()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/util/MacroResolver.java

    r11263 r14533  
    4646 
    4747     
    48     public void setSiteDetails(String site_address, String cluster_name) { 
     48    public void setSiteDetails(String site_address, String cluster_name, String library_name) { 
    4949    if (site_address != null) { 
    5050        addMacro(TYPE_TEXT, "_httpsite_", site_address, SCOPE_ALL, false); 
     
    5252    if (cluster_name != null) { 
    5353        addMacro(TYPE_TEXT, "_clustername_", cluster_name, SCOPE_ALL, false); 
     54    } 
     55    if (library_name!=null){ 
     56        addMacro(TYPE_TEXT, "_libraryname_", library_name, SCOPE_ALL, false); 
    5457    } 
    5558    }