Project

General

Profile

Bug #24738 » 0017228.diff

Administrator Admin, 2011-01-23 11:43

View differences:

typo3/sysext/about/mod/index.php Locally Modified (Based On LOCAL)
/**
* Script Class for the Help > About module
*
......
class SC_mod_help_about_index {
// Internal, dynamic:
var $MCONF=array();
var $MOD_MENU=array();
var $MOD_SETTINGS=array();
var $MCONF = array();
var $MOD_MENU = array();
var $MOD_SETTINGS = array();
var $content;
/**
* Main function, producing the module output.
* In this case, the module output is a very simple screen telling the version of TYPO3 and that's basically it...
......
#$TBE_TEMPLATE->bgColor = '#cccccc';
$TBE_TEMPLATE->backPath = $GLOBALS['BACK_PATH'];
$minorText = sprintf($LANG->getLL('minor'), 'TYPO3 Ver. '.htmlspecialchars(TYPO3_version).', Copyright © '.htmlspecialchars(TYPO3_copyright_year), 'Kasper Skårhøj');
$minorText = sprintf($LANG->getLL('minor'), 'TYPO3 Ver. ' . htmlspecialchars(TYPO3_version) . ', Copyright © ' . htmlspecialchars(TYPO3_copyright_year), 'Kasper Skårhøj');
$content='
<div id="typo3-mod-help-about-index-php-outer">
<img' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/typo3logo.gif', 'width="123" height="34"') . ' alt="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:typo3_logo', true) . '" />
<div class="typo3-mod-help-about-index-php-inner">
<h2>' . $LANG->getLL('welcome', TRUE) . '</h2>
<p>'.$minorText.'</p>
<p>' . $minorText . '</p>
</div>
<div class="typo3-mod-help-about-index-php-inner">
<h2>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:community_credits', true).'</h2>
<p>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:information_detail').'</p>
<h2>'. $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:community_credits', true) . '</h2>
<p>'. $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:information_detail') . '</p>
</div>
<div class="typo3-mod-help-about-index-php-inner">
......
</div>
<div class="typo3-mod-help-about-index-php-inner">
<h2>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension_authors', true).'</h2>
<p>'.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension_list_info', true).'</p>
<br />'.$this->getExtensionAuthors().'
<h2>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:external_libraries', true) . '</h2>
<p>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:external_thanks', true) . '</p>
<br />
<table border="0" cellspacing="2" cellpadding="1">
<tr><td>Audio player Plugin</td><td><a href="http://www.1pixelout.net/code/audio-player-wordpress-plugin/" target="_blank">www.1pixelout.net</a></td></tr>
<tr><td>CodeMirror</td><td><a href="http://codemirror.net/" target="_blank">codemirror.net</a></td></tr>
<tr><td>ExtJS</td><td><a href="http://www.sencha.com/" target="_blank">www.sencha.com</a></td></tr>
<tr><td>JSMin</td><td><a href="http://www.crockford.com" target="_blank">www.crockford.com</a></td></tr>
<tr><td>Modernizr</td><td><a href="http://www.modernizr.com" target="_blank">www.modernizr.com</a></td></tr>
<tr><td>Prototype JavaScript framework</td><td><a href="http://www.prototypejs.org/" target="_blank">www.prototypejs.org</a></td></tr>
<tr><td>RemoveXSS</td><td><a href="http://quickwired.com/smallprojects/php_xss_filter_function.php" target="_blank">quickwired.com</a></td></tr>
<tr><td>script.aculo.us</td><td><a href="http://script.aculo.us" target="_blank">script.aculo.us</a></td></tr>
<tr><td>SWFUpload</td><td><a href="http://www.swfupload.org" target="_blank">www.swfupload.org</a></td></tr>
<tr><td>Swift Mailer</td><td><a href="http://swiftmailer.org" target="_blank">swiftmailer.org</a></td></tr>
<tr><td></td><td><a href="" target="_blank"></a></td></tr>
</table>
</div>
<div class="typo3-mod-help-about-index-php-inner">
<h2>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension_authors', true) . '</h2>
<p>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:extension_list_info', true) . '</p>
<br />' . $this->getExtensionAuthors() . '
</div>
</div>
';
// Renders the module page
......
* @return string list of extensions authors and their e-mail
*/
function getExtensionAuthors() {
$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 = '<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) {
if (is_array($extension) && $extension['type'] != 'S') {
$emconfPath = PATH_site.$extension['siteRelPath'].'ext_emconf.php';
$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.= '</table>';
$content .= '</table>';
return $content;
}
......
}
// Make instance:
$SOBE = t3lib_div::makeInstance('SC_mod_help_about_index');
$SOBE->main();
typo3/sysext/lang/locallang_mod_help_about.xml Locally Modified (Based On LOCAL)
<label index="mlang_labels_tablabel">About TYPO3</label>
<label index="mlang_labels_tabdescr">Displays the basic facts about the TYPO3 application, version and licensing terms.</label>
<label index="mlang_tabs_tab">About TYPO3</label>
<label index="external_libraries">External Libraries</label>
<label index="external_thanks">TYPO3 core uses and thanks these external Open Source projects:</label>
</languageKey>
</data>
</T3locallang>
(1-1/2)