[BUGFIX] About module is missing the extension credits
authorOliver Klee <typo3-coding@oliverklee.de>
Sat, 15 Oct 2011 19:53:33 +0000 (21:53 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 16 Oct 2011 09:23:59 +0000 (11:23 +0200)
Re-add the extension list to the Help > About module.

This part had acidentally been removed during the refactoring
of that module.

Resolves: #30972

Change-Id: I9f4adcb30b12f67e8ba302c01011a040c8d6a469
Releases: 4-6
Reviewed-on: http://review.typo3.org/5864
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/about/mod/index.php

index 3ddfb8c..3384110 100644 (file)
@@ -250,7 +250,11 @@ class SC_mod_help_about_index {
         * @return void
         */
        protected function renderExtensionAuthors() {
-               $content = '<table border="0" cellspacing="2" cellpadding="1"><tr><th>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension', TRUE) . '</th><th>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension_author', TRUE) . '</th></tr>';
+               $content = '<div class="typo3-mod-help-about-index-php-inner">' . LF .
+                       '<h2>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension_authors', TRUE) . '</h2>' . LF .
+                       '<p>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension_list_info') . '</p>' . LF .
+                       '<br/>' .
+                       '<table border="0" cellspacing="2" cellpadding="1"><tr><th>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension', TRUE) . '</th><th>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension_author', TRUE) . '</th></tr>';
 
                $loadedExtensions = $GLOBALS['TYPO3_LOADED_EXT'];
                foreach ($loadedExtensions as $extensionKey => $extension) {
@@ -264,8 +268,11 @@ class SC_mod_help_about_index {
                                                '<td><a href="mailto:' . $emconf['author_email'] . '?subject=' . rawurlencode('Thanks for your ' . $emconf['title'] . ' extension') . '">' . $emconf['author'] . '</a></td></tr>';
                        }
                }
-       }
 
+               $content .= '</div>';
+
+               $this->sections['extensions'] = $content;
+       }
 }
 
 // Include extension?