[TASK] Add plugin name to page module's CE
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / layout / class.tx_cms_layout.php
index 690ce5f..9a360f4 100755 (executable)
@@ -1464,8 +1464,12 @@ class tx_cms_layout extends recordList {
                                        }
                                        if (strcmp($hookOut, '')) {
                                                $out .= $hookOut;
                                        }
                                        if (strcmp($hookOut, '')) {
                                                $out .= $hookOut;
+                                       } elseif (!empty($row['list_type'])) {
+                                               $out .= '<strong>' . $GLOBALS['LANG']->sL(t3lib_BEfunc::getLabelFromItemlist('tt_content', 'list_type', $row['list_type']), TRUE) . '</strong><br />';
                                        } elseif (!empty($row['select_key'])) {
                                                $out .= $GLOBALS['LANG']->sL(t3lib_BEfunc::getItemLabel('tt_content', 'select_key'), 1) . ' ' . $row['select_key'] . '<br />';
                                        } elseif (!empty($row['select_key'])) {
                                                $out .= $GLOBALS['LANG']->sL(t3lib_BEfunc::getItemLabel('tt_content', 'select_key'), 1) . ' ' . $row['select_key'] . '<br />';
+                                       } else {
+                                               $out .= '<strong>' . $GLOBALS['LANG']->getLL('noPluginSelected') . '</strong>';
                                        }
 
                                        $out .= $GLOBALS['LANG']->sL(t3lib_BEfunc::getLabelFromItemlist('tt_content', 'pages', $row['pages']), 1) . '<br />';
                                        }
 
                                        $out .= $GLOBALS['LANG']->sL(t3lib_BEfunc::getLabelFromItemlist('tt_content', 'pages', $row['pages']), 1) . '<br />';