* fixed bug #1290: TCEFORM.table.field.linkTitleToSelf-Option could be confusing
* !!! removed option ->TCEFORM_confObj:linkTitleToSelf.returnUrl = 1 as it seemed unlogical not to use it
* fixed bug 3993: Missing error message for big uploaded files - A message is there but it wasn't useful, changed it to something more understandable
+ * added a link to typo3.org/community and a list of the authors from installed extensions to the the about page (Help->About)
2007-04-28 Michael Stucki <michael@typo3.org>
$content='
<div id="typo3-mod-help-about-index-php-outer">
<img src="'.$BACK_PATH.'gfx/typo3logo.gif" width="123" height="34" vspace="10" alt="TYPO3 logo" />
- <div id="typo3-mod-help-about-index-php-inner">
+ <div class="typo3-mod-help-about-index-php-inner">
<h2>TYPO3 Information</h2>
<h3>'.$LANG->getLL('welcome',1).'</h3>
<p>'.$minorText.'</p>
</div>
+
+ <div class="typo3-mod-help-about-index-php-inner">
+ <h2>Community Credits</h2>
+ <p>Visit <a href="http://typo3.org/community/">typo3.org/community</a> if you want to know why TYPO3 rocks.</p>
+ </div>
+
+ <div class="typo3-mod-help-about-index-php-inner">
+ <h2>Extension Authors</h2>
+ <p>This is a list of the people who contributed to the extensions you\'re using in your installation.</p>
+ <p><br />'.$this->getExtensionAuthors().'</p>
+ </div>
</div>
';
$this->content.= $content;
function printContent() {
echo $this->content;
}
+
+ /**
+ * gets the author names from the installed extensions
+ *
+ * @return string list of extensions authors and their e-mail
+ */
+ function getExtensionAuthors() {
+ $content = '<table border="0" cellspacing="2" cellpadding="1"><tr><th>Extension</th><th>Author</th></tr>';
+
+ $loadedExtensions = $GLOBALS['TYPO3_LOADED_EXT'];
+ foreach ($loadedExtensions as $extensionKey => $extension) {
+ if (is_array($extension) && $extension['type'] != 'S') {
+ $emconfPath = PATH_site.$extension['siteRelPath'].'ext_emconf.php';
+ include($emconfPath);
+
+ $emconf = $EM_CONF['']; // ext key is not set when loading the ext_emconf.php directly
+
+ $content.= '<tr><td>'.$emconf['title'].' ('.$extensionKey.')</td>'.
+ '<td><a href="mailto:'.$emconf['author_email'].'?subject='.rawurlencode('Thanks for your '.$emconf['title'].' extension').'">'.$emconf['author'].'</a></td></tr>';
+ }
+ }
+
+ $content.= '</table>';
+
+ return $content;
+ }
}
// Include extension?
TABLE#typo3-permissionMatrix TD.bgColor2 { font-weight: bold; padding-left: 10px; padding-right: 10px; }
/* Help > About */
-#typo3-mod-help-about-index-php-outer { margin: 0px auto; width: 333px; text-align:center;}
-#typo3-mod-help-about-index-php-inner { margin: 0px auto; border: 1px solid black; background: #eaeaea; padding: 5px; text-align: left; }
-#typo3-mod-help-about-index-php-inner h2 { margin-top: 0; }
-#typo3-mod-help-about-index-php-inner h3 { margin-top: 10px; margin-bottom: 10px; background-color: transparent; font-size: 14px; text-align: center; }
-#typo3-mod-help-about-index-php-inner a { color: black; }
-#typo3-mod-help-about-index-php-inner a:hover { text-decoration: none; }
+#typo3-mod-help-about-index-php-outer { margin: 0px auto; width: 350px; text-align:center;}
+#typo3-mod-help-about-index-php-outer .typo3-mod-help-about-index-php-inner { margin: 10px auto; border: 1px solid black; background: #eaeaea; padding: 5px; text-align: left; }
+#typo3-mod-help-about-index-php-outer .typo3-mod-help-about-index-php-inner h2 { margin-top: 0; }
+#typo3-mod-help-about-index-php-outer .typo3-mod-help-about-index-php-inner h3 { margin-top: 10px; margin-bottom: 10px; background-color: transparent; font-size: 14px; text-align: center; }
+#typo3-mod-help-about-index-php-outer .typo3-mod-help-about-index-php-inner a { color: black; }
+#typo3-mod-help-about-index-php-outer .typo3-mod-help-about-index-php-inner a:hover { text-decoration: none; }
/* New element */
BODY#typo3-db-new-php IMG { vertical-align: middle; }