display a somewhat more pleasant hovertip on qr codes
This commit is contained in:
parent
de061efefa
commit
357ddd1bf7
@ -133,7 +133,7 @@ function bb_parse_crypt($match) {
|
||||
}
|
||||
|
||||
function bb_qr($match) {
|
||||
return '<img class="zrl" src="' . z_root() . '/photo/qr?f=&qr=' . urlencode($match[1]) . '" alt="' . t('QR code') . '" title="' . urlencode($match[1]) . '" />';
|
||||
return '<img class="zrl" src="' . z_root() . '/photo/qr?f=&qr=' . urlencode($match[1]) . '" alt="' . t('QR code') . '" title="' . htmlspecialchars($match[1],ENT_QUOTES,'UTF-8') . '" />';
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user