Bug #21281 ยป 12246.diff

Administrator Admin, 2009-10-16 09:33

View differences:

typo3/sysext/reports/mod/index.php (working copy)
236 236
						$icon = $GLOBALS['BACK_PATH'] . '../' . str_replace(PATH_site, '', $absIconPath);
237 237
					}
238 238
				}
239
				$reportContent  = '<dt style="background-image: url(\'' . $icon . '\');"><a href="' . $link . '">' . $reportTitle . '</a></dt>';
239
				$icon = '<img' . t3lib_iconworks::skinImg($GLOBALS['BACK_PATH'], $icon, 'width="16" height="16"') . ' title="' . $reportTitle . '" />';
240
				$reportContent  = '<dt><a href="' . $link . '">' . $icon . $reportTitle . '</a></dt>';
240 241
				$reportContent .= '<dd>' . $GLOBALS['LANG']->sL($report['description']) . '</dd>';
241 242

  
242 243
				$reports[$reportTitle] = $reportContent;
typo3/sysext/reports/mod/mod_styles.css (working copy)
15 15
.report-list dt {
16 16
	font-weight: bold;
17 17
	font-size: 11px;
18
	background-repeat: no-repeat;
19 18
	padding: 0px 0px 2px 20px;
20 19
}
21 20

  
21
.report-list dt img {
22
	vertical-align: middle;
23
	margin-right: 5px;
24
}
25

  
22 26
.report-list dd {
23 27
	margin: 2px 0px 15px 20px;
24 28
}
    (1-1/1)