made the "photo not available" image configurable in render-config.xml

This commit is contained in:
Eric J. Bowersox
2001-11-11 02:20:34 +00:00
parent 070fd2c9e2
commit f9cb84d465
7 changed files with 47 additions and 4 deletions

View File

@@ -502,7 +502,7 @@ public class TopicPosts implements JSPRender
StringBuffer buf = new StringBuffer("<IMG SRC=\"");
String url = (String)(uid_photos.get(new Integer(uid)));
if (url==null)
url = rdat.getFullImagePath("photo_not_avail.gif");
url = rdat.getPhotoNotAvailURL();
buf.append(url).append("\" ALT=\"\" WIDTH=").append(photo_size.width).append(" HEIGHT=");
buf.append(photo_size.height).append(" ALIGN=LEFT BORDER=0 HSPACE=2 VSPACE=2>");
return buf.toString();