|
@@ 2188-2191 (lines=4) @@
|
| 2185 |
|
$label = BackendUtility::getLabelFromItemListMerged($row['pid'], 'tt_content', 'list_type', $row['list_type']); |
| 2186 |
|
if (!empty($label)) { |
| 2187 |
|
$out .= $this->linkEditContent('<strong>' . htmlspecialchars($this->getLanguageService()->sL($label)) . '</strong>', $row) . '<br />'; |
| 2188 |
|
} else { |
| 2189 |
|
$message = sprintf($this->getLanguageService()->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.noMatchingValue'), $row['list_type']); |
| 2190 |
|
$out .= '<span class="label label-warning">' . htmlspecialchars($message) . '</span>'; |
| 2191 |
|
} |
| 2192 |
|
} else { |
| 2193 |
|
$out .= '<strong>' . $this->getLanguageService()->getLL('noPluginSelected') . '</strong>'; |
| 2194 |
|
} |
|
@@ 2210-2216 (lines=7) @@
|
| 2207 |
|
if ($row['image']) { |
| 2208 |
|
$out .= $this->linkEditContent($this->getThumbCodeUnlinked($row, 'tt_content', 'image'), $row) . '<br />'; |
| 2209 |
|
} |
| 2210 |
|
} else { |
| 2211 |
|
$message = sprintf( |
| 2212 |
|
$this->getLanguageService()->sL('LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.noMatchingValue'), |
| 2213 |
|
$row['CType'] |
| 2214 |
|
); |
| 2215 |
|
$out .= '<span class="label label-warning">' . htmlspecialchars($message) . '</span>'; |
| 2216 |
|
} |
| 2217 |
|
} |
| 2218 |
|
} |
| 2219 |
|
// Wrap span-tags: |