made the "photo not available" image configurable in render-config.xml
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user