comparison mod_http_muc_log/http_muc_log.html @ 3703:7244ff1d62a8

mod_http_muc_log: Expose xml:lang from each message/body #a11y Individual messages may be in a different language than the main language of the room.
author Kim Alvefur <zash@zash.se>
date Wed, 09 Oct 2019 21:35:13 +0200
parents caf27826c7b2
children c6563625f60e
comparison
equal deleted inserted replaced
3702:caf27826c7b2 3703:7244ff1d62a8
89 </noscript> 89 </noscript>
90 </form>} 90 </form>}
91 </div> 91 </div>
92 92
93 <ol class="chat-logs">{lines# 93 <ol class="chat-logs">{lines#
94 <li class="{item.st_name} {item.st_type?}" id="{item.key}"> 94 <li {item.lang&lang="{item.lang}"} class="{item.st_name} {item.st_type?}" id="{item.key}">
95 <a class="time" href="#{item.key}"><time id="{item.time}" datetime="{item.datetime}">{item.time}</time></a> 95 <a class="time" href="#{item.key}"><time id="{item.time}" datetime="{item.datetime}">{item.time}</time></a>
96 <b class="nick">{item.nick}</b> 96 <b class="nick">{item.nick}</b>
97 <em class="verb">{item.verb?}</em> 97 <em class="verb">{item.verb?}</em>
98 <q class="body">{item.body?}</q> 98 <q class="body">{item.body?}</q>
99 {item.oob.url&<figure><a rel="nofollow" href="{item.oob.url?}"><img style="max-height:9em;max-width:16em" alt="{item.oob.desc?}" src="{item.oob.url?}"/></a><figcaption>{item.oob.desc?}</figcaption></figure>} 99 {item.oob.url&<figure><a rel="nofollow" href="{item.oob.url?}"><img style="max-height:9em;max-width:16em" alt="{item.oob.desc?}" src="{item.oob.url?}"/></a><figcaption>{item.oob.desc?}</figcaption></figure>}