713 |
path2url(path), |
path2url(path), |
714 |
path); |
path); |
715 |
if (icon_list) { |
if (icon_list) { |
716 |
strbuf_sprintf(sb, "<img src='%sicons/%s.%s' alt='[%s/]' hspace='3' %s>", |
strbuf_sprintf(sb, "<img src='%sicons/%s.%s' alt='[%s/]' %s>", |
717 |
count_stack(dirstack) == 1 ? "" : "../", dir_icon, icon_suffix, path, icon_spec); |
count_stack(dirstack) == 1 ? "" : "../", dir_icon, icon_suffix, path, icon_spec); |
718 |
|
strbuf_puts(sb, quote_space); |
719 |
} |
} |
720 |
strbuf_sprintf(sb, "%s/</a>\n", last); |
strbuf_sprintf(sb, "%s/</a>\n", last); |
721 |
if (no_order_list) |
if (no_order_list) |
803 |
strbuf_puts(sb, "<img src='"); |
strbuf_puts(sb, "<img src='"); |
804 |
if (count_stack(dirstack)) |
if (count_stack(dirstack)) |
805 |
strbuf_puts(sb, "../"); |
strbuf_puts(sb, "../"); |
806 |
strbuf_sprintf(sb, "icons/%s.%s' alt='[%s]' hspace='3' %s>", |
strbuf_sprintf(sb, "icons/%s.%s' alt='[%s]' %s>", |
807 |
text_icon, icon_suffix, _, icon_spec); |
text_icon, icon_suffix, _, icon_spec); |
808 |
|
strbuf_puts(sb, quote_space); |
809 |
} |
} |
810 |
if (full_path) { |
if (full_path) { |
811 |
strbuf_puts(sb, _); |
strbuf_puts(sb, _); |