Commit fdbe3442 authored by Mathias Brodala's avatar Mathias Brodala Committed by Markus Klein
Browse files

[BUGFIX] Enlarge new content element wizard links click area

This encapsulates the whole items within the new content element
wizard with a link to ensure the whole area is clickable.

This fixes a regression introduced by markup changes.

Resolves: #68640
Releases: master
Change-Id: Ic3a7c6a3004d522fc517653ea078a75d93b0b21d
Reviewed-on: http://review.typo3.org/42157


Reviewed-by: Benjamin Kott's avatarBenjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott's avatarBenjamin Kott <info@bk2k.info>
Reviewed-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein's avatarMarkus Klein <markus.klein@typo3.org>
parent 41e01ab8
......@@ -247,18 +247,17 @@ class NewContentElementController {
}
$menuItems[$key]['content'] .= '
<div class="media">
' . $content . '
<div class="media-left">
<a href="#" onclick="' . htmlspecialchars($aOnClick) . '">
<a href="#" onclick="' . htmlspecialchars($aOnClick) . '">
' . $content . '
<div class="media-left">
<img' . IconUtility::skinImg($this->doc->backPath, $icon) . ' alt="" />
</a>
</div>
<div class="media-body">
<a href="#" onclick="' . htmlspecialchars($aOnClick) . '">
<strong>' . htmlspecialchars($wInfo['title']) . '</strong>
<br />' . nl2br(htmlspecialchars(trim($wInfo['description']))) .
'</a>
</div>
</div>
<div class="media-body">
<strong>' . htmlspecialchars($wInfo['title']) . '</strong>' .
'<br />' .
nl2br(htmlspecialchars(trim($wInfo['description']))) .
'</div>
</a>
</div>';
$cc++;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment