Bug #25141 » 17719_v3_44.patch
NEWS.txt (Arbeitskopie) | ||
---|---|---|
Also the syntax highlighting engine is now extracted from the system extension
|
||
so it can be used in other places of the TYPO3 Core as well.
|
||
* A donation notice will be shown to administrators in the TYPO3 Backend
|
||
on login after using TYPO3 for more than three months. This behaviour
|
||
can be disabled completely - see $TYPO3_CONF_VARS[BE][allowDonateWindow].
|
||
* Most Icons used in the TYPO3 Backend are now rendered through so-called
|
||
sprites. Instead of loading many image tags with single icons and therefore
|
||
many http requests there are now only 6 sprite images (a sprite image is a
|
t3lib/config_default.php (Arbeitskopie) | ||
---|---|---|
'elementVersioningOnly' => TRUE, // If true, only element versioning is allowed in the backend (see option newPagesVersioningType). Setting this flag is recommended for new installations of TYPO3 4.2+ since "page" and "branch" versioning types are known for the drawbacks of loosing ids and "element" type versions supports moving now. Please note that "page" and "branch" types are deprecated since TYPO3 4.2 and will be unsupported in TYPO3 4.6. Thus, this option will be removed in TYPO3 4.6.
|
||
'versionNumberInFilename' => FALSE, // Boolean. If true, included CSS and JS files will have the timestamp embedded in the filename, ie. filename.1269312081.js. This will make browsers and proxies reload the files if they change (thus avoiding caching issues). IMPORTANT: this feature requires this .htaccess rule to work: RewriteCond %{REQUEST_FILENAME} !-f - RewriteCond %{REQUEST_FILENAME} !-d - RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L]. If false the filemtime will be appended as a query-string.
|
||
'spriteIconGenerator_handler' => '', // String: Used to register own/other spriteGenerating Handler, they have to implement the interface t3lib_spritemanager_SpriteIconGenerator
|
||
'allowDonateWindow' => TRUE, // Boolean. Defines whether to display a TYPO3 donate window to admin users that have been working with the system for more than three months.
|
||
'AJAX' => array( // array of key-value pairs for a unified use of AJAX calls in the TYPO3 backend. Keys are the unique ajaxIDs where the value will be resolved to call a method in an object. See ajax.php and the classes/class.typo3ajax.php for more information.
|
||
'SC_alt_db_navframe::expandCollapse' => 'typo3/alt_db_navframe.php:SC_alt_db_navframe->ajaxExpandCollapse',
|
||
'SC_alt_file_navframe::expandCollapse' => 'typo3/alt_file_navframe.php:SC_alt_file_navframe->ajaxExpandCollapse',
|
||
... | ... | |
'BackendLogin::refreshLogin' => 'typo3/classes/class.ajaxlogin.php:AjaxLogin->refreshLogin',
|
||
'BackendLogin::isTimedOut' => 'typo3/classes/class.ajaxlogin.php:AjaxLogin->isTimedOut',
|
||
'BackendLogin::getChallenge' => 'typo3/classes/class.ajaxlogin.php:AjaxLogin->getChallenge',
|
||
'DonateWindow::disable' => 'typo3/classes/class.donatewindow.php:DonateWindow->disable',
|
||
'DonateWindow::postpone' => 'typo3/classes/class.donatewindow.php:DonateWindow->postpone',
|
||
'WorkspaceMenu::toggleWorkspacePreview' => 'typo3/classes/class.workspaceselector.php:WorkspaceSelector->toggleWorkspacePreview',
|
||
'WorkspaceMenu::setWorkspace' => 'typo3/classes/class.workspaceselector.php:WorkspaceSelector->setWorkspace',
|
||
'ExtDirect::getAPI' => 't3lib/extjs/class.t3lib_extjs_extdirectapi.php:t3lib_extjs_ExtDirectApi->getAPI',
|
typo3/backend.php (Arbeitskopie) | ||
---|---|---|
require('classes/class.typo3logo.php');
|
||
require('classes/class.modulemenu.php');
|
||
require_once('classes/class.donatewindow.php');
|
||
// core toolbar items
|
||
require('classes/class.workspaceselector.php');
|
||
... | ... | |
public function render() {
|
||
$this->executeHook('renderPreProcess');
|
||
if (t3lib_div::makeInstance('DonateWindow')->isDonateWindowAllowed()) {
|
||
$this->pageRenderer->addJsFile('js/donate.js');
|
||
}
|
||
// prepare the scaffolding, at this point extension may still add javascript and css
|
||
$logo = t3lib_div::makeInstance('TYPO3Logo');
|
||
$logo->setLogo('gfx/typo3logo_mini.png');
|
||
... | ... | |
'tabs_closeAll' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:tabs.closeAll'),
|
||
'tabs_closeOther' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:tabs.closeOther'),
|
||
'tabs_close' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:tabs.close'),
|
||
'donateWindow_title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:donateWindow.title'),
|
||
'donateWindow_message' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:donateWindow.message'),
|
||
'donateWindow_button_donate' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:donateWindow.button_donate'),
|
||
'donateWindow_button_disable' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:donateWindow.button_disable'),
|
||
'donateWindow_button_postpone' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:donateWindow.button_postpone'),
|
||
);
|
||
$t3LLLfileUpload = array(
|
||
'windowTitle' => $GLOBALS['LANG']->getLL('fileUpload_windowTitle'),
|
typo3/sysext/t3skin/extjs/xtheme-t3skin.css (Arbeitskopie) | ||
---|---|---|
padding-left: 3px;
|
||
padding-right: 3px;
|
||
}
|
||
#donateWindow.t3-window .x-window-body.x-window-body-noborder {
|
||
padding-left: 100px;
|
||
background: url(../images/general/donate_teaser.png) no-repeat 25px 10px !important;
|
||
}
|
typo3/sysext/t3skin/stylesheets/structure/module_help_about.css (Arbeitskopie) | ||
---|---|---|
width: 500px;
|
||
}
|
||
#typo3-mod-help-about-index-php-outer #donation-description {
|
||
padding-left: 60px;
|
||
margin: 10px 0;
|
||
}
|
||
#typo3-mod-help-about-index-php-outer .donation-button input {
|
||
padding-left: 20px;
|
||
}
|
||
#typo3-mod-help-about-index-php-outer .typo3-mod-help-about-index-php-inner {
|
||
margin: 10px auto 20px;
|
||
padding: 10px;
|
typo3/sysext/t3skin/stylesheets/visual/module_help_about.css (Arbeitskopie) | ||
---|---|---|
text-align: center;
|
||
}
|
||
#typo3-mod-help-about-index-php-outer #donation-description {
|
||
background-image: url("../../images/general/donate_teaser.png");
|
||
background-repeat: no-repeat;
|
||
}
|
||
#typo3-mod-help-about-index-php-outer .donation-button {
|
||
overflow: auto;
|
||
}
|
||
#typo3-mod-help-about-index-php-outer .donation-button input {
|
||
float: right;
|
||
background-image: url("../../images/icons/status/dialog-ok.png");
|
||
background-repeat: no-repeat;
|
||
background-position: 2px;
|
||
}
|
||
#typo3-mod-help-about-index-php-outer .typo3-mod-help-about-index-php-inner {
|
||
background: #ffffff;
|
||
border: 1px solid #adadad;
|
typo3/sysext/lang/locallang_mod_help_about.xml (Arbeitskopie) | ||
---|---|---|
</meta>
|
||
<data type="array">
|
||
<languageKey index="default" type="array">
|
||
<label index="title">About TYPO3</label>
|
||
<label index="typo3_logo">TYPO3 logo</label>
|
||
<label index="information">TYPO3 Information</label>
|
||
<label index="welcome">TYPO3 Professional Web Content Management System</label>
|
||
... | ... | |
<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="donation_header">TYPO3 Donation</label>
|
||
<label index="donation_message">It would be great if you could donate. TYPO3 is Open Source and relies heavily on donations from its users and supporters.<br/> <b>Thank you</b> for making this great Content Management System even better with your help!</label>
|
||
<label index="donation_button">Donate now</label>
|
||
</languageKey>
|
||
</data>
|
||
</T3locallang>
|
typo3/sysext/about/mod/index.php (Arbeitskopie) | ||
---|---|---|
</div>
|
||
<div class="typo3-mod-help-about-index-php-inner">
|
||
<h2>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:donation_header', TRUE) . '</h2>
|
||
<p id="donation-description">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:donation_message') . '</p>
|
||
<div class="donation-button">
|
||
<input type="button" id="donation-button" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_help_about.xml:donation_button') . '"
|
||
onclick="window.open(\'http://typo3.org/donate/\');" />
|
||
</div>
|
||
</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>
|
||
</div>
|