Project

General

Profile

Bug #84591 » v7_htmlspecialchars_logo.diff

Oliver Hader, 2018-04-04 08:26

View differences:

typo3/sysext/backend/Classes/Backend/ToolbarItems/ClearCacheToolbarItem.php
$title = $cacheAction['description'] ?: $cacheAction['title'];
$result[] = '<li>';
$result[] = '<a class="dropdown-list-link" href="' . htmlspecialchars($cacheAction['href']) . '" title="' . htmlspecialchars($title) . '">';
$result[] = $cacheAction['icon'] . ' ' . htmlspecialchars($cacheAction['title']);
$result[] = htmlspecialchars($cacheAction['icon']) . ' ' . htmlspecialchars($cacheAction['title']);
$result[] = '</a>';
$result[] = '</li>';
}
typo3/sysext/backend/Classes/Backend/ToolbarItems/HelpToolbarItem.php
$dropdown[] = '<ul class="dropdown-list">';
foreach ($this->helpModuleMenu->getChildren() as $module) {
/** @var BackendModule $module */
$moduleIcon = $module->getIcon();
$moduleIcon = htmlspecialchars($module->getIcon());
$dropdown[] ='<li'
. ' id="' . htmlspecialchars($module->getName()) . '"'
. ' class="typo3-module-menu-item submodule mod-' . htmlspecialchars($module->getName()) . '" '
typo3/sysext/backend/Classes/Backend/ToolbarItems/ShortcutToolbarItem.php
$shortcutMenu[] = '
<li class="shortcut" data-shortcutid="' . (int)$shortcut['raw']['uid'] . '">
<a class="dropdown-list-link dropdown-link-list-add-editdelete" href="#" onclick="' . htmlspecialchars($shortcut['action']) . ' return false;">' .
$shortcut['icon'] . ' ' .
htmlspecialchars($shortcut['icon']) . ' ' .
htmlspecialchars($shortcut['label']) .
'</a>
' . $editIcon . $deleteIcon . '
(4-4/4)