mirror of
https://github.com/e107inc/e107.git
synced 2025-01-29 10:38:08 +01:00
Fixes #4726 - BS5 modal in forum was failing. Patch by @Jimmi08
This commit is contained in:
parent
f8b04b64d4
commit
9529e85a75
@ -470,8 +470,8 @@ class plugin_forum_view_shortcodes extends e_shortcode
|
||||
|
||||
$caption = $name;
|
||||
|
||||
$inc = (vartrue($parm['modal'])) ? "data-modal-caption=\"" . $caption . "\" data-target='#uiModal' " : "";
|
||||
$images[] = "<a {$inc} rel='external' href='{$full}' class='forum-attachment-image e-modal' ><img class='thumbnail' src='{$thumb}' alt='' /></a>";
|
||||
$inc = (vartrue($parm['modal'])) ? "data-modal-caption=\"" . $caption . "\" data-target='#uiModal' data-bs-target='#uiModal' " : "";
|
||||
$images[] = "<a {$inc} rel='external' href='{$full}' data-bs-toggle='modal' class='forum-attachment-image e-modal' ><img class='thumbnail' src='{$thumb}' alt='' /></a>";
|
||||
}
|
||||
elseif(ADMIN)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user