Display icon if we have one

This commit is contained in:
Andreas Öman 2008-05-06 19:22:47 +00:00
parent f44fccc2d8
commit 38d6bd175f

View file

@ -424,6 +424,12 @@ ajax_cheditor(http_connection_t *hc, http_reply_t *hr,
ajax_box_begin(tq, AJAX_BOX_SIDEBOX, NULL, NULL, ch->ch_name);
if(ch->ch_icon != NULL) {
tcp_qprintf(tq,
"<div style=\"width: 100%; text-align:center\">"
"<img src=\"%s\"></div>", ch->ch_icon);
}
tcp_qprintf(tq, "<div>Sources:</div>");
LIST_FOREACH(t, &ch->ch_transports, tht_ch_link) {