Changeset 12647
- Timestamp:
- 2006-09-01T13:56:53+12:00 (18 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/greenstone
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/greenstone/Classifiers.java
r12646 r12647 131 131 StringBuffer xml = null; 132 132 if (Gatherer.isGsdlRemote) { 133 String classinfo_output = RemoteGreenstoneServer.getScriptOptions("classinfo.pl", "&classifier=" + classifier); 133 String classinfo_options = "&classifier=" + classifier; 134 if (collection_specific) { 135 classinfo_options += "&collection=" + collection_name; 136 } 137 String classinfo_output = RemoteGreenstoneServer.getScriptOptions("classinfo.pl", classinfo_options); 134 138 xml = new StringBuffer(classinfo_output); 135 139 } … … 185 189 StringBuffer xml = null; 186 190 if (Gatherer.isGsdlRemote) { 187 String classinfo_output = RemoteGreenstoneServer.getScriptOptions("classinfo.pl", "&listall"); 191 String classinfo_options = "&listall"; 192 if (collection_name != null) { 193 classinfo_options += "&collection=" + collection_name; 194 } 195 String classinfo_output = RemoteGreenstoneServer.getScriptOptions("classinfo.pl", classinfo_options); 188 196 xml = new StringBuffer(classinfo_output); 189 197 } -
trunk/gli/src/org/greenstone/gatherer/greenstone/Plugins.java
r12646 r12647 132 132 StringBuffer xml = null; 133 133 if (Gatherer.isGsdlRemote) { 134 String pluginfo_output = RemoteGreenstoneServer.getScriptOptions("pluginfo.pl", "&plugin=" + plugin); 134 String pluginfo_options = "&plugin=" + plugin; 135 if (collection_specific) { 136 pluginfo_options += "&collection=" + collection_name; 137 } 138 String pluginfo_output = RemoteGreenstoneServer.getScriptOptions("pluginfo.pl", pluginfo_options); 135 139 xml = new StringBuffer(pluginfo_output); 136 140 } … … 186 190 StringBuffer xml = null; 187 191 if (Gatherer.isGsdlRemote) { 188 String pluginfo_output = RemoteGreenstoneServer.getScriptOptions("pluginfo.pl", "&listall"); 192 String pluginfo_options = "&listall"; 193 if (collection_name != null) { 194 pluginfo_options += "&collection=" + collection_name; 195 } 196 String pluginfo_output = RemoteGreenstoneServer.getScriptOptions("pluginfo.pl", pluginfo_options); 189 197 xml = new StringBuffer(pluginfo_output); 190 198 }
Note:
See TracChangeset
for help on using the changeset viewer.