Changeset 4019
- Timestamp:
- 2003-03-27T16:05:28+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GATEServices.java
r4018 r4019 169 169 170 170 if (name.equals(ANNOTATION_TYPE_PARAM)) { 171 int len = annotation_types_.length;172 String[] annotation_type_names = new String[len];173 for (int i = 0; i < len; i++) {174 annotation_type_names[i] = getTextString("param." + name + "." + annotation_types_[i], lang);175 }176 177 171 if (display) { 172 int len = annotation_types_.length; 173 String[] annotation_type_names = new String[len]; 174 for (int i = 0; i < len; i++) { 175 annotation_type_names[i] = getTextString("param." + name + "." + annotation_types_[i], lang); 176 } 177 178 178 param = GSXML.createParameterDisplay(doc_, name, getTextString("param." + name, lang), annotation_types_, annotation_type_names); 179 179 } … … 182 182 } 183 183 } 184 184 185 185 // Add the parameter to the list 186 186 if (param != null) { … … 288 288 String annotationType = (String) setIterator.next(); 289 289 result = result.replaceAll("<" + annotationType + ">", 290 "< divclass=\"" + annotationType + "\">");290 "<span class=\"" + annotationType + "\">"); 291 291 result = result.replaceAll("</" + annotationType + ">", 292 "</ div class=\"" + annotationType + "\">");292 "</span>"); 293 293 } 294 294
Note:
See TracChangeset
for help on using the changeset viewer.