- Timestamp:
- 2006-09-01T13:56:53+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.