[TASK] XLF core locallang files are still referenced with .php/.xml 79/19579/4
authorBenjamin Mack <benni@typo3.org>
Fri, 5 Apr 2013 14:05:25 +0000 (16:05 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 6 Apr 2013 18:40:27 +0000 (20:40 +0200)
The core still access xliff language files as .php or .xml,
although the files themselves are converted to .xlf since quite
some time. This could cause confusion.

This is a cleanup taken all .xlf files in the EXT:lang/.xlf
directory and run via a sed script (thanks to Stucki)

Resolves: #46940
Releases: 6.1
Change-Id: I427776b176ba2c23678689029eaf388dff90d0fa
Reviewed-on: https://review.typo3.org/19579
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
148 files changed:
typo3/alt_clickmenu.php
typo3/alt_shortcut.php
typo3/backend.php
typo3/browse_links.php
typo3/classes/class.modulemenu.php
typo3/classes/class.shortcutmenu.php
typo3/db_new.php
typo3/file_upload.php
typo3/mod/file/conf.php
typo3/mod/help/conf.php
typo3/mod/tools/conf.php
typo3/mod/user/conf.php
typo3/mod/web/conf.php
typo3/move_el.php
typo3/show_rechis.php
typo3/sysext/about/Resources/Private/Partials/CoreTeam.html
typo3/sysext/about/Resources/Private/Partials/Credits.html
typo3/sysext/about/Resources/Private/Partials/Donation.html
typo3/sysext/about/Resources/Private/Partials/Extensions.html
typo3/sysext/about/Resources/Private/Partials/ExternalLibraries.html
typo3/sysext/about/Resources/Private/Partials/Logo.html
typo3/sysext/backend/Classes/ClickMenu/ClickMenu.php
typo3/sysext/backend/Classes/Clipboard/Clipboard.php
typo3/sysext/backend/Classes/Configuration/TranslationConfigurationProvider.php
typo3/sysext/backend/Classes/Controller/BackendController.php
typo3/sysext/backend/Classes/Controller/BackendLayoutWizardController.php
typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php
typo3/sysext/backend/Classes/Controller/EditDocumentController.php
typo3/sysext/backend/Classes/Controller/File/CreateFolderController.php
typo3/sysext/backend/Classes/Controller/File/EditFileController.php
typo3/sysext/backend/Classes/Controller/File/FileUploadController.php
typo3/sysext/backend/Classes/Controller/File/RenameFileController.php
typo3/sysext/backend/Classes/Controller/FileSystemNavigationFrameController.php
typo3/sysext/backend/Classes/Controller/LoginController.php
typo3/sysext/backend/Classes/Controller/NewRecordController.php
typo3/sysext/backend/Classes/Controller/PageLayoutController.php
typo3/sysext/backend/Classes/Controller/PageTreeNavigationController.php
typo3/sysext/backend/Classes/Controller/Wizard/FormsController.php
typo3/sysext/backend/Classes/Controller/Wizard/RteController.php
typo3/sysext/backend/Classes/Controller/Wizard/TableController.php
typo3/sysext/backend/Classes/Form/Element/InlineElement.php
typo3/sysext/backend/Classes/Form/Element/SuggestElement.php
typo3/sysext/backend/Classes/Form/Element/TreeElement.php
typo3/sysext/backend/Classes/Form/FormEngine.php
typo3/sysext/backend/Classes/FrontendBackendUserAuthentication.php
typo3/sysext/backend/Classes/History/RecordHistory.php
typo3/sysext/backend/Classes/Module/AbstractFunctionModule.php
typo3/sysext/backend/Classes/RecordList/ElementBrowserRecordList.php
typo3/sysext/backend/Classes/Template/DocumentTemplate.php
typo3/sysext/backend/Classes/Toolbar/ClearCacheToolbarItem.php
typo3/sysext/backend/Classes/Toolbar/LiveSearchToolbarItem.php
typo3/sysext/backend/Classes/Toolbar/ShortcutToolbarItem.php
typo3/sysext/backend/Classes/Tree/Pagetree/Commands.php
typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeDataProvider.php
typo3/sysext/backend/Classes/Tree/View/AbstractTreeView.php
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Classes/View/ModuleMenuView.php
typo3/sysext/backend/Classes/View/PageLayoutView.php
typo3/sysext/belog/Resources/Private/Partials/Content/Filter.html
typo3/sysext/cms/Configuration/TCA/backend_layout.php
typo3/sysext/cms/Configuration/TCA/fe_groups.php
typo3/sysext/cms/Configuration/TCA/fe_users.php
typo3/sysext/cms/Configuration/TCA/pages_language_overlay.php
typo3/sysext/cms/Configuration/TCA/sys_domain.php
typo3/sysext/cms/Configuration/TCA/sys_template.php
typo3/sysext/cms/Configuration/TCA/tt_content.php
typo3/sysext/cms/ext_tables.php
typo3/sysext/cms/layout/db_new_content_el.php
typo3/sysext/cms/layout/wizard_backend_layout.php
typo3/sysext/core/Classes/Database/QueryView.php
typo3/sysext/core/Classes/ExtDirect/ExtDirectApi.php
typo3/sysext/core/Classes/FormProtection/BackendFormProtection.php
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/core/Classes/TypoScript/ConfigurationForm.php
typo3/sysext/core/Classes/Utility/ExtensionManagementUtility.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Configuration/TCA/be_groups.php
typo3/sysext/core/Configuration/TCA/be_users.php
typo3/sysext/core/Configuration/TCA/pages.php
typo3/sysext/core/Configuration/TCA/sys_category.php
typo3/sysext/core/Configuration/TCA/sys_collection.php
typo3/sysext/core/Configuration/TCA/sys_file.php
typo3/sysext/core/Configuration/TCA/sys_file_collection.php
typo3/sysext/core/Configuration/TCA/sys_file_reference.php
typo3/sysext/core/Configuration/TCA/sys_filemounts.php
typo3/sysext/core/Configuration/TCA/sys_language.php
typo3/sysext/core/Configuration/TCA/sys_news.php
typo3/sysext/core/Tests/Unit/Page/PageRendererTest.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
typo3/sysext/core/ext_tables.php
typo3/sysext/css_styled_content/ext_tables.php
typo3/sysext/css_styled_content/flexform_ds.xml
typo3/sysext/feedit/Classes/FrontendEditPanel.php
typo3/sysext/felogin/flexform.xml
typo3/sysext/filelist/Classes/Controller/FileListController.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/filelist/mod1/conf.php
typo3/sysext/filelist/mod1/index.php
typo3/sysext/form/Classes/View/Wizard/WizardView.php
typo3/sysext/form/ext_tables.php
typo3/sysext/frontend/Classes/Controller/PageInformationController.php
typo3/sysext/frontend/Classes/Controller/TranslationStatusController.php
typo3/sysext/frontend/Classes/View/AdminPanelView.php
typo3/sysext/func/Classes/Controller/PageFunctionsController.php
typo3/sysext/impexp/Classes/Controller/ImportExportController.php
typo3/sysext/impexp/Classes/LocalPageTree.php
typo3/sysext/impexp/Classes/Task/ImportExportTask.php
typo3/sysext/indexed_search/Classes/Controller/IndexedPagesController.php
typo3/sysext/indexed_search/Configuration/TCA/index_config.php
typo3/sysext/info/Classes/Controller/InfoModuleController.php
typo3/sysext/info/mod1/conf.php
typo3/sysext/info/mod1/index.php
typo3/sysext/install/Classes/Report/InstallStatusReport.php
typo3/sysext/opendocs/Classes/Controller/OpendocsController.php
typo3/sysext/perm/Classes/Controller/PermissionModuleController.php
typo3/sysext/perm/mod1/class.sc_mod_web_perm_ajax.php
typo3/sysext/perm/mod1/conf.php
typo3/sysext/perm/mod1/index.php
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
typo3/sysext/recordlist/Classes/Controller/ElementBrowserFramesetController.php
typo3/sysext/recordlist/Classes/RecordList.php
typo3/sysext/recordlist/Classes/RecordList/AbstractDatabaseRecordList.php
typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php
typo3/sysext/recordlist/mod1/conf.php
typo3/sysext/recordlist/mod1/index.php
typo3/sysext/recycler/Classes/Controller/RecyclerModuleController.php
typo3/sysext/reports/Classes/Report/Status/ConfigurationStatus.php
typo3/sysext/reports/Classes/Report/Status/SecurityStatus.php
typo3/sysext/rtehtmlarea/Classes/BrowseLinks.php
typo3/sysext/rtehtmlarea/Configuration/TCA/tx_rtehtmlarea_acronym.php
typo3/sysext/scheduler/Classes/Controller/SchedulerModuleController.php
typo3/sysext/setup/Classes/Controller/SetupModuleController.php
typo3/sysext/sv/Classes/Report/ServicesListReport.php
typo3/sysext/sys_action/Classes/ActionTask.php
typo3/sysext/sys_action/Configuration/TCA/sys_action.php
typo3/sysext/taskcenter/Classes/Controller/TaskModuleController.php
typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php
typo3/sysext/tstemplate_info/Classes/Controller/TypoScriptTemplateInformationModuleFunctionController.php
typo3/sysext/tstemplate_objbrowser/Classes/Controller/TypoScriptTemplateObjectBrowserModuleFunctionController.php
typo3/sysext/wizard_crpages/Classes/Controller/CreatePagesWizardModuleFunctionController.php
typo3/wizard_add.php
typo3/wizard_colorpicker.php
typo3/wizard_edit.php
typo3/wizard_forms.php
typo3/wizard_list.php
typo3/wizard_rte.php
typo3/wizard_table.php
typo3/wizard_tsconfig.php

index a0b14c9..9dedeb8 100644 (file)
@@ -41,7 +41,7 @@
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
 require 'init.php';
-$LANG->includeLLFile('EXT:lang/locallang_misc.xml');
+$LANG->includeLLFile('EXT:lang/locallang_misc.xlf');
 /*
  * @deprecated since 6.0, the classname clickMenu and this file is obsolete
  * and will be removed with 6.2. The class was renamed and is now located at:
index a055114..e603d27 100644 (file)
@@ -36,7 +36,7 @@
  * @author Kasper Skårhøj <kasperYYYY@typo3.com>
  */
 require 'init.php';
-$LANG->includeLLFile('EXT:lang/locallang_misc.xml');
+$LANG->includeLLFile('EXT:lang/locallang_misc.xlf');
 /*
  * @deprecated since 6.0, the classname SC_alt_shortcut and this file is obsolete
  * and will be removed with 6.2. The class was renamed and is now located at:
index 00b984a..c02539c 100644 (file)
@@ -25,7 +25,7 @@
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
 require_once 'init.php';
-$GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_misc.xml');
+$GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_misc.xlf');
 /*
  * @deprecated since 6.0, the classname TYPO3backend and this file is obsolete
  * and will be removed with 6.2. The class was renamed and is now located at:
index fd9d3d3..7146882 100644 (file)
@@ -36,7 +36,7 @@
  */
 $BACK_PATH = '';
 require 'init.php';
-$LANG->includeLLFile('EXT:lang/locallang_browse_links.xml');
+$LANG->includeLLFile('EXT:lang/locallang_browse_links.xlf');
 /*
  * @deprecated since 6.0, the classname SC_browse_links and this file is obsolete
  * and will be removed with 6.2. The class was renamed and is now located at:
index 8e12c72..5fed26d 100644 (file)
@@ -25,7 +25,7 @@
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
 if (TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_AJAX) {
-       $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_misc.xml');
+       $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_misc.xlf');
 }
 /*
  * @deprecated since 6.0, the classname ModuleMenu and this file is obsolete
index 511a0b4..dd9f410 100644 (file)
@@ -25,7 +25,7 @@
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
 if (TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_AJAX) {
-       $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_misc.xml');
+       $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_misc.xlf');
        // Needed to get the correct icons when reloading the menu after saving it
        $loadModules = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Module\\ModuleLoader');
        $loadModules->load($GLOBALS['TBE_MODULES']);
index 2919a36..b6f2370 100644 (file)
@@ -37,7 +37,7 @@
  */
 $BACK_PATH = '';
 require 'init.php';
-$LANG->includeLLFile('EXT:lang/locallang_misc.xml');
+$LANG->includeLLFile('EXT:lang/locallang_misc.xlf');
 /**
  * Extension for the tree class that generates the tree of pages in the page-wizard mode
  *
index cb18f20..dc139dd 100644 (file)
@@ -33,7 +33,7 @@
  */
 $BACK_PATH = '';
 require 'init.php';
-$LANG->includeLLFile('EXT:lang/locallang_misc.xml');
+$LANG->includeLLFile('EXT:lang/locallang_misc.xlf');
 /*
  * @deprecated since 6.0, the classname SC_file_upload and this file is obsolete
  * and will be removed with 6.2. The class was renamed and is now located at:
index 0c72b25..d56d532 100755 (executable)
@@ -1,6 +1,6 @@
 <?php
 $MLANG['default']['tabs_images']['tab'] = 'file.gif';
-$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_file.php';
+$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_file.xlf';
 $MCONF['navFrameScript'] = '../../alt_file_navframe.php';
 $MCONF['access'] = 'group,user';
 $MCONF['name'] = 'file';
index cbdd556..0b918f8 100755 (executable)
@@ -1,6 +1,6 @@
 <?php
 $MLANG['default']['tabs_images']['tab'] = 'help.gif';
-$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_help.php';
+$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_help.xlf';
 $MCONF['defaultMod'] = 'welcome';
 $MCONF['name'] = 'help';
 ?>
\ No newline at end of file
index 4a93988..8136aa8 100755 (executable)
@@ -1,6 +1,6 @@
 <?php
 $MLANG['default']['tabs_images']['tab'] = 'tool.gif';
-$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_admintools.xml';
+$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_admintools.xlf';
 $MCONF['name'] = 'tools';
 $MCONF['access'] = 'admin';
 ?>
\ No newline at end of file
index b1dd726..a436505 100755 (executable)
@@ -1,6 +1,6 @@
 <?php
 $MLANG['default']['tabs_images']['tab'] = 'user.gif';
-$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_usertools.xml';
+$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_usertools.xlf';
 $MCONF['defaultMod'] = 'task';
 $MCONF['name'] = 'user';
 $MCONF['access'] = 'user,group';
index 406eef4..0a2f152 100755 (executable)
@@ -1,6 +1,6 @@
 <?php
 $MLANG['default']['tabs_images']['tab'] = 'website.gif';
-$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_web.php';
+$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_web.xlf';
 $MCONF['defaultMod'] = 'list';
 $MCONF['navFrameScript'] = '../../alt_db_navframe.php';
 $MCONF['name'] = 'web';
index 19246a2..ca34375 100644 (file)
@@ -36,7 +36,7 @@
 $BACK_PATH = '';
 require 'init.php';
 // Include local language labels:
-$LANG->includeLLFile('EXT:lang/locallang_misc.xml');
+$LANG->includeLLFile('EXT:lang/locallang_misc.xlf');
 /**
  * Local extension of the page tree class
  *
index 9a32180..3bb59aa 100644 (file)
@@ -34,7 +34,7 @@
  */
 $BACK_PATH = '';
 require $BACK_PATH . 'init.php';
-$LANG->includeLLFile('EXT:lang/locallang_show_rechis.xml');
+$LANG->includeLLFile('EXT:lang/locallang_show_rechis.xlf');
 /*
  * @deprecated since 6.0, the classname SC_show_rechis and this file is obsolete
  * and will be removed with 6.2. The class was renamed and is now located at:
index 5843ec1..e5d03b0 100644 (file)
@@ -1,10 +1,10 @@
 <div class="typo3-mod-help-about-index-php-inner">
        <h2>
-               <f:translate key="LLL:EXT:lang/locallang_mod_help_about.xml:coredevs" />
+               <f:translate key="LLL:EXT:lang/locallang_mod_help_about.xlf:coredevs" />
        </h2>
        <p>
                <f:translate
-                       key="LLL:EXT:lang/locallang_mod_help_about.xml:coredevs_detail"
+                       key="LLL:EXT:lang/locallang_mod_help_about.xlf:coredevs_detail"
                        htmlEscape="0"
                />
        </p>
index 90bfd33..4333122 100644 (file)
@@ -1,13 +1,13 @@
 <div class="typo3-mod-help-about-index-php-inner">
        <h2>
                <f:translate
-                       key="LLL:EXT:lang/locallang_mod_help_about.xml:community_credits"
+                       key="LLL:EXT:lang/locallang_mod_help_about.xlf:community_credits"
                        htmlEscape="0"
                />
        </h2>
        <p>
                <f:translate
-                       key="LLL:EXT:lang/locallang_mod_help_about.xml:information_detail"
+                       key="LLL:EXT:lang/locallang_mod_help_about.xlf:information_detail"
                        htmlEscape="0"
                />
        </p>
index b8fee02..55b3384 100644 (file)
@@ -1,10 +1,10 @@
 <div class="typo3-mod-help-about-index-php-inner">
        <h2>
-               <f:translate key="LLL:EXT:lang/locallang_mod_help_about.xml:donation_header" />
+               <f:translate key="LLL:EXT:lang/locallang_mod_help_about.xlf:donation_header" />
        </h2>
        <p id="donation-description">
                <f:translate
-                       key="LLL:EXT:lang/locallang_mod_help_about.xml:donation_message"
+                       key="LLL:EXT:lang/locallang_mod_help_about.xlf:donation_message"
                        htmlEscape="0"
                />
        </p>
@@ -12,7 +12,7 @@
                <input
                        type="button"
                        id="donation-button"
-                       value="{f:translate(key:'LLL:EXT:lang/locallang_mod_help_about.xml:donation_button')}"
+                       value="{f:translate(key:'LLL:EXT:lang/locallang_mod_help_about.xlf:donation_button')}"
                        onclick="window.open('{TYPO3UrlDonate}');"
                />
        </div>
index add6be0..b35e49e 100644 (file)
@@ -1,15 +1,15 @@
 <div class="typo3-mod-help-about-index-php-inner">
        <h2>
-               <f:translate key="LLL:EXT:lang/locallang_mod_help_about.xml:extension_authors" />
+               <f:translate key="LLL:EXT:lang/locallang_mod_help_about.xlf:extension_authors" />
        </h2>
        <p>
-               <f:translate key="LLL:EXT:lang/locallang_mod_help_about.xml:extension_list_info" />
+               <f:translate key="LLL:EXT:lang/locallang_mod_help_about.xlf:extension_list_info" />
        </p>
        <br/>
        <table border="0" cellspacing="2" cellpadding="1">
                <tr>
-                       <th><f:translate key="LLL:EXT:lang/locallang_mod_help_about.xml:extension" /></th>
-                       <th><f:translate key="LLL:EXT:lang/locallang_mod_help_about.xml:extension_author" /></th>
+                       <th><f:translate key="LLL:EXT:lang/locallang_mod_help_about.xlf:extension" /></th>
+                       <th><f:translate key="LLL:EXT:lang/locallang_mod_help_about.xlf:extension_author" /></th>
                </tr>
 
                <f:for each="{loadedExtensions}" as="loadedExtension">
index 078cce9..f1cae7b 100644 (file)
@@ -1,10 +1,10 @@
 <div class="typo3-mod-help-about-index-php-inner">
        <h2>
-               <f:translate key="LLL:EXT:lang/locallang_mod_help_about.xml:external_libraries" />
+               <f:translate key="LLL:EXT:lang/locallang_mod_help_about.xlf:external_libraries" />
        </h2>
        <p>
                <f:translate
-                       key="LLL:EXT:lang/locallang_mod_help_about.xml:external_thanks"
+                       key="LLL:EXT:lang/locallang_mod_help_about.xlf:external_thanks"
                        htmlEscape="0"
                />
        </p>
index 1555571..dd9de3a 100644 (file)
@@ -2,5 +2,5 @@
 
 <about:SkinImage
        src="gfx/typo3logo.gif"
-       alt="{f:translate(key:'LLL:EXT:lang/locallang_mod_help_about.xml:typo3_logo')}"
+       alt="{f:translate(key:'LLL:EXT:lang/locallang_mod_help_about.xlf:typo3_logo')}"
 />
\ No newline at end of file
index ee87be5..9686631 100644 (file)
@@ -435,7 +435,7 @@ class ClickMenu {
                $editOnClick = '';
                $loc = 'top.content.list_frame';
                if ($GLOBALS['BE_USER']->jsConfirmation(2)) {
-                       $conf = $loc . ' && confirm(' . $GLOBALS['LANG']->JScharCode(sprintf($GLOBALS['LANG']->sL(('LLL:EXT:lang/locallang_core.php:mess.' . ($elInfo[2] == 'copy' ? 'copy' : 'move') . '_' . $type)), $elInfo[0], $elInfo[1])) . ')';
+                       $conf = $loc . ' && confirm(' . $GLOBALS['LANG']->JScharCode(sprintf($GLOBALS['LANG']->sL(('LLL:EXT:lang/locallang_core.xlf:mess.' . ($elInfo[2] == 'copy' ? 'copy' : 'move') . '_' . $type)), $elInfo[0], $elInfo[1])) . ')';
                } else {
                        $conf = $loc;
                }
@@ -622,7 +622,7 @@ class ClickMenu {
         *
         * @param string $table Table name
         * @param integer $uid UID for the current record.
-        * @param array $elInfo Label for including in the confirmation message, EXT:lang/locallang_core.php:mess.delete
+        * @param array $elInfo Label for including in the confirmation message, EXT:lang/locallang_core.xlf:mess.delete
         * @return array Item array, element in $menuItems
         * @internal
         * @todo Define visibility
@@ -631,7 +631,7 @@ class ClickMenu {
                $editOnClick = '';
                $loc = 'top.content.list_frame';
                if ($GLOBALS['BE_USER']->jsConfirmation(4)) {
-                       $conf = 'confirm(' . $GLOBALS['LANG']->JScharCode((sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:mess.delete'), $elInfo[0]) . \TYPO3\CMS\Backend\Utility\BackendUtility::referenceCount($table, $uid, ' (There are %s reference(s) to this record!)') . \TYPO3\CMS\Backend\Utility\BackendUtility::translationCount($table, $uid, (' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.translationsOfRecord'))))) . ')';
+                       $conf = 'confirm(' . $GLOBALS['LANG']->JScharCode((sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.delete'), $elInfo[0]) . \TYPO3\CMS\Backend\Utility\BackendUtility::referenceCount($table, $uid, ' (There are %s reference(s) to this record!)') . \TYPO3\CMS\Backend\Utility\BackendUtility::translationCount($table, $uid, (' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.translationsOfRecord'))))) . ')';
                } else {
                        $conf = '1==1';
                }
@@ -922,7 +922,7 @@ class ClickMenu {
                $editOnClick = '';
                $loc = 'top.content.list_frame';
                if ($GLOBALS['BE_USER']->jsConfirmation(4)) {
-                       $conf = 'confirm(' . $GLOBALS['LANG']->JScharCode((sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:mess.delete'), basename($path)) . \TYPO3\CMS\Backend\Utility\BackendUtility::referenceCount('_FILE', $path, ' (There are %s reference(s) to this file!)'))) . ')';
+                       $conf = 'confirm(' . $GLOBALS['LANG']->JScharCode((sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.delete'), basename($path)) . \TYPO3\CMS\Backend\Utility\BackendUtility::referenceCount('_FILE', $path, ' (There are %s reference(s) to this file!)'))) . ')';
                } else {
                        $conf = '1==1';
                }
@@ -944,7 +944,7 @@ class ClickMenu {
                $editOnClick = '';
                $loc = 'top.content.list_frame';
                if ($GLOBALS['BE_USER']->jsConfirmation(2)) {
-                       $conf = $loc . ' && confirm(' . $GLOBALS['LANG']->JScharCode(sprintf($GLOBALS['LANG']->sL(('LLL:EXT:lang/locallang_core.php:mess.' . ($elInfo[2] == 'copy' ? 'copy' : 'move') . '_into')), $elInfo[0], $elInfo[1])) . ')';
+                       $conf = $loc . ' && confirm(' . $GLOBALS['LANG']->JScharCode(sprintf($GLOBALS['LANG']->sL(('LLL:EXT:lang/locallang_core.xlf:mess.' . ($elInfo[2] == 'copy' ? 'copy' : 'move') . '_into')), $elInfo[0], $elInfo[1])) . ')';
                } else {
                        $conf = $loc;
                }
@@ -1384,14 +1384,14 @@ class ClickMenu {
        }
 
        /**
-        * Get label from locallang_core.php:cm.*
+        * Get label from locallang_core.xlf:cm.*
         *
         * @param string $label The "cm."-suffix to get.
         * @return string
         * @todo Define visibility
         */
        public function label($label) {
-               return $GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.' . $label, 1));
+               return $GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:cm.' . $label, 1));
        }
 
        /**
index b95b58c..793dba4 100644 (file)
@@ -272,8 +272,8 @@ class Clipboard {
                $rmall_url = \TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array('CB' => array('removeAll' => $this->current)));
                // Copymode Selector menu
                $copymode_url = \TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript();
-               $moveLabel = htmlspecialchars($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.php:moveElements'));
-               $copyLabel = htmlspecialchars($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.php:copyElements'));
+               $moveLabel = htmlspecialchars($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xlf:moveElements'));
+               $copyLabel = htmlspecialchars($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xlf:copyElements'));
                $opt = array();
                $opt[] = '<option style="padding-left: 20px; background-image: url(\'' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->backPath, 'gfx/clip_cut.gif', '', 1) . '\'); background-repeat: no-repeat;" value="" ' . ($this->currentMode() == 'copy' ? '' : 'selected="selected"') . '>' . $moveLabel . '</option>';
                $opt[] = '<option style="padding-left: 20px; background-image: url(\'' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->backPath, 'gfx/clip_copy.gif', '', 1) . '\'); background-repeat: no-repeat;" value="1" ' . ($this->currentMode() == 'copy' ? 'selected="selected"' : '') . '>' . $copyLabel . '</option>';
@@ -293,7 +293,7 @@ class Clipboard {
                if ($elCount) {
                        if ($GLOBALS['BE_USER']->jsConfirmation(4)) {
                                $js = '
-                       if (confirm(' . $GLOBALS['LANG']->JScharCode(sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:mess.deleteClip'), $elCount)) . ')){
+                       if (confirm(' . $GLOBALS['LANG']->JScharCode(sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.deleteClip'), $elCount)) . ')){
                                window.location.href=\'' . $this->deleteUrl(0, ($this->fileMode ? 1 : 0)) . '&redirect=\'+top.rawurlencode(window.location.href);
                        }
                                        ';
@@ -307,7 +307,7 @@ class Clipboard {
                        <tr class="typo3-clipboard-head">
                                <td nowrap="nowrap">' . '<a href="' . htmlspecialchars($thumb_url) . '#clip_head">' . '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->backPath, ('gfx/thumb_' . ($this->clipData['_setThumb'] ? 's' : 'n') . '.gif'), 'width="21" height="16"') . ' vspace="2" border="0" title="' . $this->clLabel('thumbmode_clip') . '" alt="" />' . '</a>' . '</td>
                                <td width="95%" nowrap="nowrap">' . $copymode_selector . ' ' . $selector_menu . '</td>
-                               <td>' . '<a href="' . htmlspecialchars($rmall_url) . '#clip_head">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:buttons.clear', TRUE))) . '</a></td>
+                               <td>' . '<a href="' . htmlspecialchars($rmall_url) . '#clip_head">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:buttons.clear', TRUE))) . '</a></td>
                        </tr>';
                // Print header and content for the NORMAL tab:
                $out[] = '
@@ -615,7 +615,7 @@ class Clipboard {
         */
        public function confirmMsg($table, $rec, $type, $clElements) {
                if ($GLOBALS['BE_USER']->jsConfirmation(2)) {
-                       $labelKey = 'LLL:EXT:lang/locallang_core.php:mess.' . ($this->currentMode() == 'copy' ? 'copy' : 'move') . ($this->current == 'normal' ? '' : 'cb') . '_' . $type;
+                       $labelKey = 'LLL:EXT:lang/locallang_core.xlf:mess.' . ($this->currentMode() == 'copy' ? 'copy' : 'move') . ($this->current == 'normal' ? '' : 'cb') . '_' . $type;
                        $msg = $GLOBALS['LANG']->sL($labelKey);
                        if ($table == '_FILE') {
                                $thisRecTitle = basename($rec);
@@ -643,7 +643,7 @@ class Clipboard {
        }
 
        /**
-        * Clipboard label - getting from "EXT:lang/locallang_core.php:"
+        * Clipboard label - getting from "EXT:lang/locallang_core.xlf:"
         *
         * @param string $key Label Key
         * @param string $Akey Alternative key to "labels
@@ -651,7 +651,7 @@ class Clipboard {
         * @todo Define visibility
         */
        public function clLabel($key, $Akey = 'labels') {
-               return htmlspecialchars($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:' . $Akey . '.' . $key));
+               return htmlspecialchars($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:' . $Akey . '.' . $key));
        }
 
        /**
index 4443646..49d79b6 100644 (file)
@@ -60,7 +60,7 @@ class TranslationConfigurationProvider {
                }
                $languageIconTitles[0] = array(
                        'uid' => 0,
-                       'title' => strlen($modSharedTSconfig['properties']['defaultLanguageLabel']) ? $modSharedTSconfig['properties']['defaultLanguageLabel'] . ' (' . $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_mod_web_list.xml:defaultLanguage') . ')' : $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_mod_web_list.xml:defaultLanguage'),
+                       'title' => strlen($modSharedTSconfig['properties']['defaultLanguageLabel']) ? $modSharedTSconfig['properties']['defaultLanguageLabel'] . ' (' . $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_mod_web_list.xlf:defaultLanguage') . ')' : $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_mod_web_list.xlf:defaultLanguage'),
                        'ISOcode' => 'DEF',
                        'flagIcon' => strlen($modSharedTSconfig['properties']['defaultLanguageFlag']) ? 'flags-' . $modSharedTSconfig['properties']['defaultLanguageFlag'] : 'empty-empty'
                );
index 22c9d86..f7e5e9f 100644 (file)
@@ -353,30 +353,30 @@ class BackendController {
         */
        protected function generateLocalLang() {
                $coreLabels = array(
-                       'waitTitle' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_logging_in'),
-                       'refresh_login_failed' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_failed'),
-                       'refresh_login_failed_message' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_failed_message'),
-                       'refresh_login_title' => sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_title'), htmlspecialchars($GLOBALS['BE_USER']->user['username'])),
-                       'login_expired' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.login_expired'),
-                       'refresh_login_username' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_username'),
-                       'refresh_login_password' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_password'),
-                       'refresh_login_emptyPassword' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_emptyPassword'),
-                       'refresh_login_button' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_button'),
-                       'refresh_logout_button' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_logout_button'),
-                       'please_wait' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.please_wait'),
-                       'loadingIndicator' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:loadingIndicator'),
-                       'be_locked' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.be_locked'),
-                       'refresh_login_countdown_singular' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_countdown_singular'),
-                       'refresh_login_countdown' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_countdown'),
-                       'login_about_to_expire' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.login_about_to_expire'),
-                       'login_about_to_expire_title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.login_about_to_expire_title'),
-                       'refresh_login_refresh_button' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_refresh_button'),
-                       'refresh_direct_logout_button' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_direct_logout_button'),
-                       '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'),
-                       'tabs_openInBrowserWindow' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:tabs.openInBrowserWindow'),
-                       'csh_tooltip_loading' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:csh_tooltip_loading')
+                       'waitTitle' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_login_logging_in'),
+                       'refresh_login_failed' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_login_failed'),
+                       'refresh_login_failed_message' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_login_failed_message'),
+                       'refresh_login_title' => sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_login_title'), htmlspecialchars($GLOBALS['BE_USER']->user['username'])),
+                       'login_expired' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.login_expired'),
+                       'refresh_login_username' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_login_username'),
+                       'refresh_login_password' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_login_password'),
+                       'refresh_login_emptyPassword' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_login_emptyPassword'),
+                       'refresh_login_button' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_login_button'),
+                       'refresh_logout_button' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_logout_button'),
+                       'please_wait' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.please_wait'),
+                       'loadingIndicator' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:loadingIndicator'),
+                       'be_locked' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.be_locked'),
+                       'refresh_login_countdown_singular' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_login_countdown_singular'),
+                       'refresh_login_countdown' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_login_countdown'),
+                       'login_about_to_expire' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.login_about_to_expire'),
+                       'login_about_to_expire_title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.login_about_to_expire_title'),
+                       'refresh_login_refresh_button' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_login_refresh_button'),
+                       'refresh_direct_logout_button' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.refresh_direct_logout_button'),
+                       'tabs_closeAll' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:tabs.closeAll'),
+                       'tabs_closeOther' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:tabs.closeOther'),
+                       'tabs_close' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:tabs.close'),
+                       'tabs_openInBrowserWindow' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:tabs.openInBrowserWindow'),
+                       'csh_tooltip_loading' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:csh_tooltip_loading')
                );
                $labels = array(
                        'fileUpload' => array(
index a2be20b..7d133ef 100644 (file)
@@ -82,18 +82,18 @@ class BackendLayoutWizardController {
                        }
                        ', FALSE);
                $languageLabels = array(
-                       'save' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_labelSave', 1),
-                       'title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_windowTitle', 1),
-                       'name' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_labelName', 1),
-                       'column' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_labelColumn', 1),
-                       'editCell' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_editCell', 1),
-                       'mergeCell' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_mergeCell', 1),
-                       'splitCell' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_splitCell', 1),
-                       'name' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_name', 1),
-                       'column' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_column', 1),
-                       'notSet' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_notSet', 1),
-                       'nameHelp' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_nameHelp', 1),
-                       'columnHelp' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xml:grid_columnHelp', 1)
+                       'save' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_labelSave', 1),
+                       'title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_windowTitle', 1),
+                       'name' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_labelName', 1),
+                       'column' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_labelColumn', 1),
+                       'editCell' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_editCell', 1),
+                       'mergeCell' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_mergeCell', 1),
+                       'splitCell' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_splitCell', 1),
+                       'name' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_name', 1),
+                       'column' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_column', 1),
+                       'notSet' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_notSet', 1),
+                       'nameHelp' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_nameHelp', 1),
+                       'columnHelp' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_wizards.xlf:grid_columnHelp', 1)
                );
                $pageRenderer->addInlineLanguageLabelArray($languageLabels);
                // Select record
@@ -197,9 +197,9 @@ class BackendLayoutWizardController {
         * @todo Define visibility
         */
        public function main() {
-               $content .= '<a href="#" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', TRUE) . '" onclick="storeData(t3Grid.export2LayoutRecord());return true;">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save') . '</a>';
-               $content .= '<a href="#" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveCloseDoc', TRUE) . '" onclick="storeData(t3Grid.export2LayoutRecord());window.close();return true;">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-close') . '</a>';
-               $content .= '<a href="#" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', TRUE) . '" onclick="window.close();return true;">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close') . '</a>';
+               $content .= '<a href="#" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDoc', TRUE) . '" onclick="storeData(t3Grid.export2LayoutRecord());return true;">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save') . '</a>';
+               $content .= '<a href="#" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveCloseDoc', TRUE) . '" onclick="storeData(t3Grid.export2LayoutRecord());window.close();return true;">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-close') . '</a>';
+               $content .= '<a href="#" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.closeDoc', TRUE) . '" onclick="window.close();return true;">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close') . '</a>';
                $content .= $this->doc->spacer(10);
                $content .= '
                <table border="0" width="100%" height="100%" id="outer_container">
index 047b0ea..fa0c58a 100644 (file)
@@ -186,8 +186,8 @@ class ElementInformationController {
                $this->doc = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\Template\\DocumentTemplate');
                $this->doc->backPath = $GLOBALS['BACK_PATH'];
                // Starting the page by creating page header stuff:
-               $this->content .= $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.viewItem'));
-               $this->content .= '<h3 class="t3-row-header">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.viewItem') . '</h3>';
+               $this->content .= $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.viewItem'));
+               $this->content .= '<h3 class="t3-row-header">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.viewItem') . '</h3>';
                $this->content .= $this->doc->spacer(5);
        }
 
@@ -236,8 +236,8 @@ class ElementInformationController {
                }
                // If return Url is set, output link to go back:
                if (\TYPO3\CMS\Core\Utility\GeneralUtility::sanitizeLocalUrl(\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('returnUrl'))) {
-                       $this->content = $this->doc->section('', ($returnLinkTag . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.goBack', 1) . '</strong></a><br /><br />')) . $this->content;
-                       $this->content .= $this->doc->section('', '<br />' . $returnLinkTag . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.goBack', 1) . '</strong></a>');
+                       $this->content = $this->doc->section('', ($returnLinkTag . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.goBack', 1) . '</strong></a><br /><br />')) . $this->content;
+                       $this->content .= $this->doc->section('', '<br />' . $returnLinkTag . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.goBack', 1) . '</strong></a>');
                }
        }
 
@@ -255,9 +255,9 @@ class ElementInformationController {
                $this->content .= $this->doc->section('', $code);
                $tableRows = array();
                $extraFields = array(
-                       'crdate' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.xml:LGL.creationDate', 1),
-                       'cruser_id' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.xml:LGL.creationUserId', 1),
-                       'tstamp' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.xml:LGL.timestamp', 1)
+                       'crdate' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.xlf:LGL.creationDate', 1),
+                       'cruser_id' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.xlf:LGL.creationUserId', 1),
+                       'tstamp' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.xlf:LGL.timestamp', 1)
                );
                foreach ($extraFields as $name => $value) {
                        $rowValue = \TYPO3\CMS\Backend\Utility\BackendUtility::getProcessedValueExtra($this->table, $name, $this->row[$name]);
@@ -304,17 +304,17 @@ class ElementInformationController {
                $this->content .= $this->doc->section('', $tableCode);
                // Add path and table information in the bottom:
                $code = '';
-               $code .= $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.path') . ': ' . \TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs($this->pageinfo['_thePath'], -48) . '<br />';
-               $code .= $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.table') . ': ' . $GLOBALS['LANG']->sL($GLOBALS['TCA'][$this->table]['ctrl']['title']) . ' (' . $this->table . ') - UID: ' . $this->uid . '<br />';
+               $code .= $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.path') . ': ' . \TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs($this->pageinfo['_thePath'], -48) . '<br />';
+               $code .= $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.table') . ': ' . $GLOBALS['LANG']->sL($GLOBALS['TCA'][$this->table]['ctrl']['title']) . ' (' . $this->table . ') - UID: ' . $this->uid . '<br />';
                $this->content .= $this->doc->section('', $code);
                // References:
                $references = $this->makeRef($this->table, $this->row['uid']);
                if (!empty($references)) {
-                       $this->content .= $this->doc->section($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.referencesToThisItem'), $references);
+                       $this->content .= $this->doc->section($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.referencesToThisItem'), $references);
                }
                $referencesFrom = $this->makeRefFrom($this->table, $this->row['uid']);
                if (!empty($referencesFrom)) {
-                       $this->content .= $this->doc->section($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.referencesFromThisItem'), $referencesFrom);
+                       $this->content .= $this->doc->section($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.referencesFromThisItem'), $referencesFrom);
                }
        }
 
@@ -328,7 +328,7 @@ class ElementInformationController {
         */
        public function renderFileInfo($returnLinkTag) {
                $fileExtension = $this->fileObject->getExtension();
-               $code = '<div class="fileInfoContainer">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconForFile($fileExtension) . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.file', TRUE) . ':</strong> ' . $this->fileObject->getName() . '&nbsp;&nbsp;' . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.filesize') . ':</strong> ' . \TYPO3\CMS\Core\Utility\GeneralUtility::formatSize($this->fileObject->getSize()) . '</div>
+               $code = '<div class="fileInfoContainer">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconForFile($fileExtension) . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.file', TRUE) . ':</strong> ' . $this->fileObject->getName() . '&nbsp;&nbsp;' . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.filesize') . ':</strong> ' . \TYPO3\CMS\Core\Utility\GeneralUtility::formatSize($this->fileObject->getSize()) . '</div>
                        ';
                $this->content .= $this->doc->section('', $code);
                $this->content .= $this->doc->divider(2);
@@ -338,7 +338,7 @@ class ElementInformationController {
                        // @todo: find a way to make getimagesize part of the t3lib_file object
                        $imgInfo = @getimagesize($this->fileObject->getForLocalProcessing(FALSE));
                        $thumbUrl = $this->fileObject->process(\TYPO3\CMS\Core\Resource\ProcessedFile::CONTEXT_IMAGEPREVIEW, array('width' => '150m', 'height' => '150m'))->getPublicUrl(TRUE);
-                       $code = '<div class="fileInfoContainer fileDimensions">' . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.dimensions') . ':</strong> ' . $imgInfo[0] . 'x' . $imgInfo[1] . ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.pixels') . '</div>';
+                       $code = '<div class="fileInfoContainer fileDimensions">' . '<strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.dimensions') . ':</strong> ' . $imgInfo[0] . 'x' . $imgInfo[1] . ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.pixels') . '</div>';
                        $code .= '<br />
                                <div align="center">' . $returnLinkTag . '<img src="' . $thumbUrl . '" alt="' . htmlspecialchars(trim($this->fileObject->getName())) . '" title="' . htmlspecialchars(trim($this->fileObject->getName())) . '" /></a></div>';
                        $this->content .= $this->doc->section('', $code);
@@ -385,7 +385,7 @@ class ElementInformationController {
                        $references = $this->makeRef('_FILE', $this->fileObject);
 
                        if (!empty($references)) {
-                               $header = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.referencesToThisItem');
+                               $header = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.referencesToThisItem');
                                $this->content .= $this->doc->section($header, $references);
                        }
                }
@@ -466,7 +466,7 @@ class ElementInformationController {
                // Compile information for title tag:
                $infoData = array();
                if (count($rows)) {
-                       $infoData[] = '<tr class="t3-row-header">' . '<td>&nbsp;</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.table') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.title') . '</td>' . '<td>[uid]</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.field') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.flexpointer') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.softrefKey') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.sorting') . '</td>' . '</tr>';
+                       $infoData[] = '<tr class="t3-row-header">' . '<td>&nbsp;</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.table') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.title') . '</td>' . '<td>[uid]</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.field') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.flexpointer') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.softrefKey') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.sorting') . '</td>' . '</tr>';
                }
                foreach ($rows as $row) {
                        if ($row['tablename'] === 'sys_file_reference') {
@@ -518,7 +518,7 @@ class ElementInformationController {
                // Compile information for title tag:
                $infoData = array();
                if (count($rows)) {
-                       $infoData[] = '<tr class="t3-row-header">' . '<td>&nbsp;</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.field') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.flexpointer') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.softrefKey') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.sorting') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.refTable') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.refUid') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:show_item.php.refString') . '</td>' . '</tr>';
+                       $infoData[] = '<tr class="t3-row-header">' . '<td>&nbsp;</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.field') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.flexpointer') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.softrefKey') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.sorting') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.refTable') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.refUid') . '</td>' . '<td>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:show_item.php.refString') . '</td>' . '</tr>';
                }
                foreach ($rows as $row) {
                        $actions = $this->getRecordActions($row['ref_table'], $row['ref_uid']);
index 06ef929..b60a49d 100644 (file)
@@ -878,7 +878,7 @@ class EditDocumentController {
                                                                $thePrevUid = $rec['uid'];
                                                        } else {
                                                                $this->errorC++;
-                                                               $editForm .= $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.noEditPermission', 1) . '<br /><br />' . ($deniedAccessReason ? 'Reason: ' . htmlspecialchars($deniedAccessReason) . '<br /><br />' : '');
+                                                               $editForm .= $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.noEditPermission', 1) . '<br /><br />' . ($deniedAccessReason ? 'Reason: ' . htmlspecialchars($deniedAccessReason) . '<br /><br />' : '');
                                                        }
                                                }
                                        }
@@ -912,25 +912,25 @@ class EditDocumentController {
                // The action of each button is decided by its name attribute. (See doProcessData())
                if (!$this->errorC && !$GLOBALS['TCA'][$this->firstEl['table']]['ctrl']['readOnly']) {
                        // SAVE button:
-                       $buttons['save'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save', array('html' => '<input type="image" name="_savedok" class="c-inputButton" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', 1) . '" />'));
+                       $buttons['save'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save', array('html' => '<input type="image" name="_savedok" class="c-inputButton" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDoc', 1) . '" />'));
                        // SAVE / VIEW button:
                        if ($this->viewId && !$this->noView && \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('cms') && $this->getNewIconMode($this->firstEl['table'], 'saveDocView')) {
-                               $buttons['save_view'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-view', array('html' => '<input type="image" class="c-inputButton" name="_savedokview" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDocShow', 1) . '" />'));
+                               $buttons['save_view'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-view', array('html' => '<input type="image" class="c-inputButton" name="_savedokview" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDocShow', 1) . '" />'));
                        }
                        // SAVE / NEW button:
                        if (count($this->elementsData) == 1 && $this->getNewIconMode($this->firstEl['table'])) {
-                               $buttons['save_new'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-new', array('html' => '<input type="image" class="c-inputButton" name="_savedoknew" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveNewDoc', 1) . '" />'));
+                               $buttons['save_new'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-new', array('html' => '<input type="image" class="c-inputButton" name="_savedoknew" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveNewDoc', 1) . '" />'));
                        }
                        // SAVE / CLOSE
-                       $buttons['save_close'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-close', array('html' => '<input type="image" class="c-inputButton" name="_saveandclosedok" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveCloseDoc', 1) . '" />'));
+                       $buttons['save_close'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-close', array('html' => '<input type="image" class="c-inputButton" name="_saveandclosedok" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveCloseDoc', 1) . '" />'));
                        // FINISH TRANSLATION / SAVE / CLOSE
                        if ($GLOBALS['TYPO3_CONF_VARS']['BE']['explicitConfirmationOfTranslation']) {
-                               $buttons['translation_save'] = '<input type="image" class="c-inputButton" name="_translation_savedok" src="' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/translationsavedok.gif', '', 1) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.translationSaveDoc', 1) . '" />';
-                               $buttons['translation_saveclear'] = '<input type="image" class="c-inputButton" name="_translation_savedokclear" src="' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/translationsavedok_clear.gif', '', 1) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.translationSaveDocClear', 1) . '" />';
+                               $buttons['translation_save'] = '<input type="image" class="c-inputButton" name="_translation_savedok" src="' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/translationsavedok.gif', '', 1) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.translationSaveDoc', 1) . '" />';
+                               $buttons['translation_saveclear'] = '<input type="image" class="c-inputButton" name="_translation_savedokclear" src="' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/translationsavedok_clear.gif', '', 1) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.translationSaveDocClear', 1) . '" />';
                        }
                }
                // CLOSE button:
-               $buttons['close'] = '<a href="#" onclick="document.editform.closeDoc.value=1; document.editform.submit(); return false;" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close') . '</a>';
+               $buttons['close'] = '<a href="#" onclick="document.editform.closeDoc.value=1; document.editform.submit(); return false;" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.closeDoc', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close') . '</a>';
                // DELETE + UNDO buttons:
                if (!$this->errorC && !$GLOBALS['TCA'][$this->firstEl['table']]['ctrl']['readOnly'] && count($this->elementsData) == 1) {
                        if ($this->firstEl['cmd'] != 'new' && \TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($this->firstEl['uid'])) {
@@ -943,7 +943,7 @@ class EditDocumentController {
                                $undoRes = $GLOBALS['TYPO3_DB']->exec_SELECTquery('tstamp', 'sys_history', 'tablename=' . $GLOBALS['TYPO3_DB']->fullQuoteStr($this->firstEl['table'], 'sys_history') . ' AND recuid=' . intval($this->firstEl['uid']), '', 'tstamp DESC', '1');
                                if ($undoButtonR = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($undoRes)) {
                                        $aOnClick = 'window.location.href=\'show_rechis.php?element=' . rawurlencode(($this->firstEl['table'] . ':' . $this->firstEl['uid'])) . '&revert=ALL_FIELDS&sumUp=-1&returnUrl=' . rawurlencode($this->R_URI) . '\'; return false;';
-                                       $buttons['undo'] = '<a href="#" onclick="' . htmlspecialchars($aOnClick) . '"' . ' title="' . htmlspecialchars(sprintf($GLOBALS['LANG']->getLL('undoLastChange'), \TYPO3\CMS\Backend\Utility\BackendUtility::calcAge(($GLOBALS['EXEC_TIME'] - $undoButtonR['tstamp']), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')))) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-undo') . '</a>';
+                                       $buttons['undo'] = '<a href="#" onclick="' . htmlspecialchars($aOnClick) . '"' . ' title="' . htmlspecialchars(sprintf($GLOBALS['LANG']->getLL('undoLastChange'), \TYPO3\CMS\Backend\Utility\BackendUtility::calcAge(($GLOBALS['EXEC_TIME'] - $undoButtonR['tstamp']), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears')))) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-undo') . '</a>';
                                }
                                if ($this->getNewIconMode($this->firstEl['table'], 'showHistory')) {
                                        $aOnClick = 'window.location.href=\'show_rechis.php?element=' . rawurlencode(($this->firstEl['table'] . ':' . $this->firstEl['uid'])) . '&returnUrl=' . rawurlencode($this->R_URI) . '\'; return false;';
@@ -1033,7 +1033,7 @@ class EditDocumentController {
                        // Show palettes:
                        return '
                                <!-- Function menu (checkbox for showing all palettes): -->
-                               <br />' . \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncCheck('', 'SET[showPalettes]', $this->MOD_SETTINGS['showPalettes'], 'alt_doc.php', (\TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl('', array_merge($this->R_URL_getvars, array('SET' => ''))) . \TYPO3\CMS\Backend\Utility\BackendUtility::getUrlToken('editRecord')), 'id="checkShowPalettes"') . '<label for="checkShowPalettes">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPalettes', 1) . '</label>';
+                               <br />' . \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncCheck('', 'SET[showPalettes]', $this->MOD_SETTINGS['showPalettes'], 'alt_doc.php', (\TYPO3\CMS\Core\Utility\GeneralUtility::implodeArrayForUrl('', array_merge($this->R_URL_getvars, array('SET' => ''))) . \TYPO3\CMS\Backend\Utility\BackendUtility::getUrlToken('editRecord')), 'id="checkShowPalettes"') . '<label for="checkShowPalettes">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.showPalettes', 1) . '</label>';
                } else {
                        return '';
                }
@@ -1063,7 +1063,7 @@ class EditDocumentController {
                        return '';
                }
                $aOnClick = 'vHWin=window.open(\'' . \TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array('returnUrl' => 'close.html')) . '\',\'' . md5($this->R_URI) . '\',\'width=670,height=500,status=0,menubar=0,scrollbars=1,resizable=1\');vHWin.focus();return false;';
-               return '<a href="#" onclick="' . htmlspecialchars($aOnClick) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.openInNewWindow', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-window-open') . '</a>';
+               return '<a href="#" onclick="' . htmlspecialchars($aOnClick) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.openInNewWindow', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-window-open') . '</a>';
        }
 
        /**
@@ -1141,7 +1141,7 @@ class EditDocumentController {
                                        $langSelItems = array();
                                        foreach ($langRows as $lang) {
                                                if ($GLOBALS['BE_USER']->checkLanguageAccess($lang['uid'])) {
-                                                       $newTranslation = isset($rowsByLang[$lang['uid']]) ? '' : ' [' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.new', 1) . ']';
+                                                       $newTranslation = isset($rowsByLang[$lang['uid']]) ? '' : ' [' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.new', 1) . ']';
                                                        // Create url for creating a localized record
                                                        if ($newTranslation) {
                                                                $href = $this->doc->issueCommand('&cmd[' . $table . '][' . $rowsByLang[0]['uid'] . '][localize]=' . $lang['uid'], $this->backPath . 'alt_doc.php?justLocalized=' . rawurlencode(($table . ':' . $rowsByLang[0]['uid'] . ':' . $lang['uid'])) . '&returnUrl=' . rawurlencode($this->retUrl) . \TYPO3\CMS\Backend\Utility\BackendUtility::getUrlToken('editRecord'));
@@ -1157,7 +1157,7 @@ class EditDocumentController {
                                        // If any languages are left, make selector:
                                        if (count($langSelItems) > 1) {
                                                $onChange = 'if(this.options[this.selectedIndex].value){window.location.href=(this.options[this.selectedIndex].value);}';
-                                               $content = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.xml:LGL.language', 1) . ' <select name="_langSelector" onchange="' . htmlspecialchars($onChange) . '">
+                                               $content = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.xlf:LGL.language', 1) . ' <select name="_langSelector" onchange="' . htmlspecialchars($onChange) . '">
                                                        ' . implode('', $langSelItems) . '
                                                        </select>';
                                        }
@@ -1206,7 +1206,7 @@ class EditDocumentController {
                                'uid' => 0,
                                'pid' => 0,
                                'hidden' => 0,
-                               'title' => strlen($modSharedTSconfig['properties']['defaultLanguageLabel']) ? $modSharedTSconfig['properties']['defaultLanguageLabel'] . ' (' . $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_mod_web_list.xml:defaultLanguage') . ')' : $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_mod_web_list.xml:defaultLanguage'),
+                               'title' => strlen($modSharedTSconfig['properties']['defaultLanguageLabel']) ? $modSharedTSconfig['properties']['defaultLanguageLabel'] . ' (' . $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_mod_web_list.xlf:defaultLanguage') . ')' : $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_mod_web_list.xlf:defaultLanguage'),
                                'flag' => $modSharedTSconfig['properties']['defaultLanguageFlag']
                        )
                );
index b9b3ed5..2554687 100644 (file)
@@ -104,8 +104,8 @@ class CreateFolderController {
                }
                // Cleaning and checking target directory
                if (!$this->folderObject) {
-                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:paramError', TRUE);
-                       $message = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:targetNoDir', TRUE);
+                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xlf:paramError', TRUE);
+                       $message = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xlf:targetNoDir', TRUE);
                        throw new \RuntimeException($title . ': ' . $message, 1294586843);
                }
                // Setting the title and the icon
@@ -119,7 +119,7 @@ class CreateFolderController {
                        var path = "' . $this->target . '";
 
                        function reload(a) {    //
-                               if (!changed || (changed && confirm(' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:mess.redraw')) . '))) {
+                               if (!changed || (changed && confirm(' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.redraw')) . '))) {
                                        var params = "&target="+encodeURIComponent(path)+"&number="+a+"&returnUrl=' . rawurlencode($this->returnUrl) . '";
                                        window.location.href = "file_newfolder.php?"+params;
                                }
@@ -140,10 +140,10 @@ class CreateFolderController {
         */
        public function main() {
                // Start content compilation
-               $this->content .= $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.pagetitle'));
+               $this->content .= $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_newfolder.php.pagetitle'));
                // Make page header:
                $pageContent = '';
-               $pageContent .= $this->doc->header($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.pagetitle'));
+               $pageContent .= $this->doc->header($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_newfolder.php.pagetitle'));
                $pageContent .= $this->doc->spacer(5);
                $pageContent .= $this->doc->divider(5);
                $code = '<form action="tce_file.php" method="post" name="editform">';
@@ -151,7 +151,7 @@ class CreateFolderController {
                $this->number = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($this->number, 1, 10);
                $code .= '
                        <div id="c-select">
-                               <label for="number-of-new-folders">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.number_of_folders') . '</label>
+                               <label for="number-of-new-folders">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_newfolder.php.number_of_folders') . '</label>
                                <select name="number" id="number-of-new-folders" onchange="reload(this.options[this.selectedIndex].value);">';
                for ($a = 1; $a <= $this->folderNumber; $a++) {
                        $code .= '<option value="' . $a . '"' . ($this->number == $a ? ' selected="selected"' : '') . '>' . $a . '</option>';
@@ -176,8 +176,8 @@ class CreateFolderController {
                // Making submit button for folder creation:
                $code .= '
                        <div id="c-submitFolders">
-                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.submit', 1) . '" />
-                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.cancel', 1) . '" onclick="backToList(); return false;" />
+                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_newfolder.php.submit', 1) . '" />
+                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.cancel', 1) . '" onclick="backToList(); return false;" />
                                <input type="hidden" name="redirect" value="' . htmlspecialchars($this->returnUrl) . '" />
                        </div>
                        ';
@@ -208,14 +208,14 @@ class CreateFolderController {
                // Submit button for creation of a new file:
                $code .= '
                        <div id="c-submitFiles">
-                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.newfile_submit', 1) . '" />
-                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.cancel', 1) . '" onclick="backToList(); return false;" />
+                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_newfolder.php.newfile_submit', 1) . '" />
+                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.cancel', 1) . '" onclick="backToList(); return false;" />
                                <input type="hidden" name="redirect" value="' . htmlspecialchars($this->returnUrl) . '" />
                        </div>
                        ';
                // CSH:
                $code .= \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem('xMOD_csh_corebe', 'file_newfile', $GLOBALS['BACK_PATH'], '<br />');
-               $pageContent .= $this->doc->section($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_newfolder.php.newfile'), $code);
+               $pageContent .= $this->doc->section($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_newfolder.php.newfile'), $code);
                $pageContent .= $this->doc->sectionEnd();
                $pageContent .= '</form>';
                $docHeaderButtons = array();
index 7620c66..fea9b27 100644 (file)
@@ -95,8 +95,8 @@ class EditFileController {
                }
                // Cleaning and checking target directory
                if (!$this->fileObject) {
-                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:paramError', TRUE);
-                       $message = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:targetNoDir', TRUE);
+                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xlf:paramError', TRUE);
+                       $message = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xlf:targetNoDir', TRUE);
                        throw new \RuntimeException($title . ': ' . $message, 1294586841);
                }
                // Setting the title and the icon
@@ -125,7 +125,7 @@ class EditFileController {
        public function main() {
                //TODO: change locallang*.php to locallang*.xml
                $docHeaderButtons = $this->getButtons();
-               $this->content = $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_edit.php.pagetitle'));
+               $this->content = $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_edit.php.pagetitle'));
                // Hook before compiling the output
                if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/file_edit.php']['preOutputProcessingHook'])) {
                        $preOutputProcessingHook = &$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/file_edit.php']['preOutputProcessingHook'];
@@ -139,7 +139,7 @@ class EditFileController {
                                }
                        }
                }
-               $pageContent = $this->doc->header($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_edit.php.pagetitle') . ' ' . htmlspecialchars($this->fileObject->getName()));
+               $pageContent = $this->doc->header($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_edit.php.pagetitle') . ' ' . htmlspecialchars($this->fileObject->getName()));
                $pageContent .= $this->doc->spacer(2);
                $code = '';
                $extList = $GLOBALS['TYPO3_CONF_VARS']['SYS']['textfile_ext'];
@@ -164,7 +164,7 @@ class EditFileController {
                                $docHeaderButtons['shortcut'] = '';
                        }
                } else {
-                       $code .= sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_edit.php.coundNot'), $extList);
+                       $code .= sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_edit.php.coundNot'), $extList);
                }
                // Ending of section and outputting editing form:
                $pageContent .= $this->doc->sectionEnd();
@@ -217,13 +217,13 @@ class EditFileController {
                $buttons['csh'] = \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem('xMOD_csh_corebe', 'file_edit', $GLOBALS['BACK_PATH'], '', TRUE);
                // Save button
                $theIcon = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save');
-               $buttons['SAVE'] = '<a href="#" onclick="document.editform.submit();" title="' . $GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_edit.php.submit', TRUE)) . '">' . $theIcon . '</a>';
+               $buttons['SAVE'] = '<a href="#" onclick="document.editform.submit();" title="' . $GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_edit.php.submit', TRUE)) . '">' . $theIcon . '</a>';
                // Save and Close button
                $theIcon = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-close');
-               $buttons['SAVE_CLOSE'] = '<a href="#" onclick="document.editform.redirect.value=\'' . htmlspecialchars($this->returnUrl) . '\'; document.editform.submit();" title="' . $GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_edit.php.saveAndClose', TRUE)) . '">' . $theIcon . '</a>';
+               $buttons['SAVE_CLOSE'] = '<a href="#" onclick="document.editform.redirect.value=\'' . htmlspecialchars($this->returnUrl) . '\'; document.editform.submit();" title="' . $GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_edit.php.saveAndClose', TRUE)) . '">' . $theIcon . '</a>';
                // Cancel button
                $theIcon = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close');
-               $buttons['CANCEL'] = '<a href="#" onclick="backToList(); return false;" title="' . $GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.cancel', TRUE)) . '">' . $theIcon . '</a>';
+               $buttons['CANCEL'] = '<a href="#" onclick="backToList(); return false;" title="' . $GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.cancel', TRUE)) . '">' . $theIcon . '</a>';
                return $buttons;
        }
 
index 30ac382..a10dccb 100644 (file)
@@ -95,8 +95,8 @@ class FileUploadController {
                }
                // Cleaning and checking target directory
                if (!$this->folderObject) {
-                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:paramError', TRUE);
-                       $message = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:targetNoDir', TRUE);
+                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xlf:paramError', TRUE);
+                       $message = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xlf:targetNoDir', TRUE);
                        throw new \RuntimeException($title . ': ' . $message, 1294586843);
                }
                // Setting the title and the icon
@@ -117,9 +117,9 @@ class FileUploadController {
         */
        public function main() {
                // Make page header:
-               $this->content = $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_upload.php.pagetitle'));
+               $this->content = $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_upload.php.pagetitle'));
                $form = $this->renderUploadForm();
-               $pageContent = $this->doc->header($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_upload.php.pagetitle')) . $this->doc->section('', $form);
+               $pageContent = $this->doc->header($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_upload.php.pagetitle')) . $this->doc->section('', $form);
                // Header Buttons
                $docHeaderButtons = array(
                        'csh' => \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem('xMOD_csh_corebe', 'file_upload', $GLOBALS['BACK_PATH'])
@@ -167,7 +167,7 @@ class FileUploadController {
                $content .= '
                        <div id="c-submit">
                                <input type="hidden" name="redirect" value="' . $this->returnUrl . '" /><br />
-                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_upload.php.submit', 1) . '" />
+                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_upload.php.submit', 1) . '" />
                        </div>
                ';
                return $content;
index 676d08e..bbd23e7 100644 (file)
@@ -91,8 +91,8 @@ class RenameFileController {
                        $this->fileOrFolderObject = \TYPO3\CMS\Core\Resource\ResourceFactory::getInstance()->retrieveFileOrFolderObject($this->target);
                }
                if (!$this->fileOrFolderObject) {
-                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:paramError', TRUE);
-                       $message = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xml:targetNoDir', TRUE);
+                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xlf:paramError', TRUE);
+                       $message = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_file_list.xlf:targetNoDir', TRUE);
                        throw new \RuntimeException($title . ': ' . $message, 1294586844);
                }
                // If a folder should be renamed, AND the returnURL should go to the old directory name, the redirect is forced
@@ -129,8 +129,8 @@ class RenameFileController {
        public function main() {
                //TODO: change locallang*.php to locallang*.xml
                // Make page header:
-               $this->content = $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_rename.php.pagetitle'));
-               $pageContent = $this->doc->header($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_rename.php.pagetitle'));
+               $this->content = $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_rename.php.pagetitle'));
+               $pageContent = $this->doc->header($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_rename.php.pagetitle'));
                $pageContent .= $this->doc->spacer(5);
                $pageContent .= $this->doc->divider(5);
                if ($this->fileOrFolderObject instanceof \TYPO3\CMS\Core\Resource\Folder) {
@@ -150,8 +150,8 @@ class RenameFileController {
                // Making submit button:
                $code .= '
                        <div id="c-submit">
-                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_rename.php.submit', 1) . '" />
-                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.cancel', 1) . '" onclick="backToList(); return false;" />
+                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:file_rename.php.submit', 1) . '" />
+                               <input type="submit" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.cancel', 1) . '" onclick="backToList(); return false;" />
                                <input type="hidden" name="redirect" value="' . htmlspecialchars($this->returnUrl) . '" />
                        </div>
                ';
index 2d4b353..479b148 100644 (file)
@@ -149,7 +149,7 @@ class FileSystemNavigationFrameController {
                // Setting up the buttons and markers for docheader
                $docHeaderButtons = $this->getButtons();
                $markers = array(
-                       'IMG_RESET' => '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($GLOBALS['BACK_PATH'], 'gfx/close_gray.gif', ' width="16" height="16"') . ' id="treeFilterReset" alt="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.resetFilter') . '" ' . 'title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.resetFilter') . '" />',
+                       'IMG_RESET' => '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($GLOBALS['BACK_PATH'], 'gfx/close_gray.gif', ' width="16" height="16"') . ' id="treeFilterReset" alt="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.resetFilter') . '" ' . 'title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.resetFilter') . '" />',
                        'CONTENT' => $this->content
                );
                $subparts = array();
index 75086e6..17a1317 100644 (file)
@@ -162,7 +162,7 @@ class LoginController {
                if ($preferredBrowserLanguage != 'default' && !$GLOBALS['BE_USER']->user['uid']) {
                        $GLOBALS['LANG']->init($preferredBrowserLanguage);
                }
-               $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_login.xml');
+               $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_login.xlf');
                // Setting the redirect URL to "backend.php" if no alternative input is given
                $this->redirectToURL = $this->redirect_url ? $this->redirect_url : 'backend.php';
                // Do a logout if the command is set
index bff4358..07f3ccb 100644 (file)
@@ -180,7 +180,7 @@ class NewRecordController {
                $this->doc->getContextMenuCode();
                // Creating content
                $this->content = '';
-               $this->content .= $this->doc->header($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:db_new.php.pagetitle'));
+               $this->content .= $this->doc->header($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:db_new.php.pagetitle'));
                // Id a positive id is supplied, ask for the page record with permission information contained:
                if ($this->id > 0) {
                        $this->pageinfo = \TYPO3\CMS\Backend\Utility\BackendUtility::readPageAccess($this->id, $this->perms_clause);
@@ -261,7 +261,7 @@ class NewRecordController {
                        $markers['CSH'] = $docHeaderButtons['csh'];
                        $markers['CONTENT'] = $this->content;
                        // Build the <body> for the module
-                       $this->content = $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:db_new.php.pagetitle'));
+                       $this->content = $this->doc->startPage($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:db_new.php.pagetitle'));
                        $this->content .= $this->doc->moduleBody($this->pageinfo, $docHeaderButtons, $markers);
                        $this->content .= $this->doc->endPage();
                        $this->content = $this->doc->insertStylesAndJS($this->content);
@@ -295,11 +295,11 @@ class NewRecordController {
                }
                // Back
                if ($this->R_URI) {
-                       $buttons['back'] = '<a href="' . htmlspecialchars($this->R_URI) . '" class="typo3-goBack" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.goBack', 1) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-view-go-back') . '</a>';
+                       $buttons['back'] = '<a href="' . htmlspecialchars($this->R_URI) . '" class="typo3-goBack" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.goBack', 1) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-view-go-back') . '</a>';
                }
                if (is_array($this->pageinfo) && $this->pageinfo['uid']) {
                        // View
-                       $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(\TYPO3\CMS\Backend\Utility\BackendUtility::viewOnClick($this->pageinfo['uid'], $this->backPath, \TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine($this->pageinfo['uid']))) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', 1) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-view') . '</a>';
+                       $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(\TYPO3\CMS\Backend\Utility\BackendUtility::viewOnClick($this->pageinfo['uid'], $this->backPath, \TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine($this->pageinfo['uid']))) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.showPage', 1) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-view') . '</a>';
                }
                return $buttons;
        }
@@ -368,11 +368,11 @@ class NewRecordController {
                $newPageLinks = array();
                if ($this->newPagesInto && $this->isTableAllowedForThisPage($this->pageinfo, 'pages') && $GLOBALS['BE_USER']->check('tables_modify', 'pages') && $GLOBALS['BE_USER']->workspaceCreateNewRecord(($this->pageinfo['_ORIG_uid'] ? $this->pageinfo['_ORIG_uid'] : $this->id), 'pages')) {
                        // Create link to new page inside:
-                       $newPageLinks[] = $this->linkWrap(\TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconForRecord($table, array()) . $GLOBALS['LANG']->sL($v['ctrl']['title'], 1) . ' (' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:db_new.php.inside', 1) . ')', $table, $this->id);
+                       $newPageLinks[] = $this->linkWrap(\TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIconForRecord($table, array()) . $GLOBALS['LANG']->sL($v['ctrl']['title'], 1) . ' (' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:db_new.php.inside', 1) . ')', $table, $this->id);
                }
                // New pages AFTER this pages
                if ($this->newPagesAfter && $this->isTableAllowedForThisPage($this->pidInfo, 'pages') && $GLOBALS['BE_USER']->check('tables_modify', 'pages') && $GLOBALS['BE_USER']->workspaceCreateNewRecord($this->pidInfo['uid'], 'pages')) {
-                       $newPageLinks[] = $this->linkWrap($pageIcon . $GLOBALS['LANG']->sL($v['ctrl']['title'], 1) . ' (' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:db_new.php.after', 1) . ')', 'pages', -$this->id);
+                       $newPageLinks[] = $this->linkWrap($pageIcon . $GLOBALS['LANG']->sL($v['ctrl']['title'], 1) . ' (' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:db_new.php.after', 1) . ')', 'pages', -$this->id);
                }
                // New pages at selection position
                if ($this->newPagesSelectPosition) {
index c48d5e7..225db39 100644 (file)
@@ -516,7 +516,7 @@ class PageLayoutController {
                        $this->doc->form = '<form action="' . htmlspecialchars(('db_layout.php?id=' . $this->id . '&imagemode=' . $this->imagemode)) . '" method="post">';
                        // Creating the top function menu:
                        $this->topFuncMenu = \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncMenu($this->id, 'SET[function]', $this->MOD_SETTINGS['function'], $this->MOD_MENU['function'], 'db_layout.php', '');
-                       $this->languageMenu = count($this->MOD_MENU['language']) > 1 ? $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.xml:LGL.language', 1) . \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncMenu($this->id, 'SET[language]', $this->current_sys_language, $this->MOD_MENU['language'], 'db_layout.php', '') : '';
+                       $this->languageMenu = count($this->MOD_MENU['language']) > 1 ? $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.xlf:LGL.language', 1) . \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncMenu($this->id, 'SET[language]', $this->current_sys_language, $this->MOD_MENU['language'], 'db_layout.php', '') : '';
                        // Find backend layout / coumns
                        $backendLayout = \TYPO3\CMS\Core\Utility\GeneralUtility::callUserFunction('TYPO3\\CMS\\Backend\\View\\BackendLayoutView->getSelectedBackendLayout', $this->id, $this);
                        if (count($backendLayout['__colPosList'])) {
@@ -659,7 +659,7 @@ class PageLayoutController {
                                }
                                $inValue = 'tt_content:' . $cRow['uid'];
                                $is_selected += intval($edit_record == $inValue);
-                               $opt[] = '<option value="' . $inValue . '"' . ($edit_record == $inValue ? ' selected="selected"' : '') . '>' . htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs(($cRow['header'] ? $cRow['header'] : '[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title') . '] ' . strip_tags($cRow['bodytext'])), $GLOBALS['BE_USER']->uc['titleLen'])) . '</option>';
+                               $opt[] = '<option value="' . $inValue . '"' . ($edit_record == $inValue ? ' selected="selected"' : '') . '>' . htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs(($cRow['header'] ? $cRow['header'] : '[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.no_title') . '] ' . strip_tags($cRow['bodytext'])), $GLOBALS['BE_USER']->uc['titleLen'])) . '</option>';
                                $prev = -$cRow['uid'];
                        }
                }
@@ -793,12 +793,12 @@ class PageLayoutController {
                // Bottom controls (function menus):
                $q_count = $this->getNumberOfHiddenElements();
                $h_func_b = \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncCheck($this->id, 'SET[tt_content_showHidden]', $this->MOD_SETTINGS['tt_content_showHidden'], 'db_layout.php', '', 'id="checkTt_content_showHidden"') . '<label for="checkTt_content_showHidden">' . (!$q_count ? $GLOBALS['TBE_TEMPLATE']->dfw($GLOBALS['LANG']->getLL('hiddenCE', 1)) : $GLOBALS['LANG']->getLL('hiddenCE', 1) . ' (' . $q_count . ')') . '</label>';
-               $h_func_b .= '<br />' . \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncCheck($this->id, 'SET[showPalettes]', $this->MOD_SETTINGS['showPalettes'], 'db_layout.php', '', 'id="checkShowPalettes"') . '<label for="checkShowPalettes">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPalettes', 1) . '</label>';
+               $h_func_b .= '<br />' . \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncCheck($this->id, 'SET[showPalettes]', $this->MOD_SETTINGS['showPalettes'], 'db_layout.php', '', 'id="checkShowPalettes"') . '<label for="checkShowPalettes">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.showPalettes', 1) . '</label>';
                if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('context_help')) {
-                       $h_func_b .= '<br />' . \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncCheck($this->id, 'SET[showDescriptions]', $this->MOD_SETTINGS['showDescriptions'], 'db_layout.php', '', 'id="checkShowDescriptions"') . '<label for="checkShowDescriptions">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showDescriptions', 1) . '</label>';
+                       $h_func_b .= '<br />' . \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncCheck($this->id, 'SET[showDescriptions]', $this->MOD_SETTINGS['showDescriptions'], 'db_layout.php', '', 'id="checkShowDescriptions"') . '<label for="checkShowDescriptions">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.showDescriptions', 1) . '</label>';
                }
                if ($GLOBALS['BE_USER']->isRTE()) {
-                       $h_func_b .= '<br />' . \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncCheck($this->id, 'SET[disableRTE]', $this->MOD_SETTINGS['disableRTE'], 'db_layout.php', '', 'id="checkDisableRTE"') . '<label for="checkDisableRTE">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.disableRTE', 1) . '</label>';
+                       $h_func_b .= '<br />' . \TYPO3\CMS\Backend\Utility\BackendUtility::getFuncCheck($this->id, 'SET[disableRTE]', $this->MOD_SETTINGS['disableRTE'], 'db_layout.php', '', 'id="checkDisableRTE"') . '<label for="checkDisableRTE">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.disableRTE', 1) . '</label>';
                }
                // Add the function menus to bottom:
                $content .= $this->doc->section('', $h_func_b, 0, 0);
@@ -847,7 +847,7 @@ class PageLayoutController {
                $dblist->setLMargin = 0;
                $dblist->doEdit = $this->EDIT_CONTENT;
                $dblist->ext_CALC_PERMS = $this->CALC_PERMS;
-               $dblist->agePrefixes = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears');
+               $dblist->agePrefixes = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears');
                $dblist->id = $this->id;
                $dblist->nextThree = \TYPO3\CMS\Core\Utility\MathUtility::forceIntegerInRange($this->modTSconfig['properties']['editFieldsAtATime'], 0, 10);
                $dblist->option_showBigButtons = $this->modTSconfig['properties']['disableBigButtons'] === '0';
@@ -953,7 +953,7 @@ class PageLayoutController {
                }
                // Making search form:
                if (!$this->modTSconfig['properties']['disableSearchBox'] && count($tableOutput)) {
-                       $sectionTitle = \TYPO3\CMS\Backend\Utility\BackendUtility::wrapInHelp('xMOD_csh_corebe', 'list_searchbox', $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.search', TRUE));
+                       $sectionTitle = \TYPO3\CMS\Backend\Utility\BackendUtility::wrapInHelp('xMOD_csh_corebe', 'list_searchbox', $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.search', TRUE));
                        $content .= $this->doc->section($sectionTitle, $dblist->getSearchBox(0), FALSE, TRUE, FALSE, TRUE);
                }
                // Additional footer content
@@ -1009,14 +1009,14 @@ class PageLayoutController {
                        'history_record' => ''
                );
                // View page
-               $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(\TYPO3\CMS\Backend\Utility\BackendUtility::viewOnClick($this->pageinfo['uid'], $GLOBALS['BACK_PATH'], \TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine($this->pageinfo['uid']))) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-view') . '</a>';
+               $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(\TYPO3\CMS\Backend\Utility\BackendUtility::viewOnClick($this->pageinfo['uid'], $GLOBALS['BACK_PATH'], \TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine($this->pageinfo['uid']))) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.showPage', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-view') . '</a>';
                // Shortcut
                if ($GLOBALS['BE_USER']->mayMakeShortcut()) {
                        $buttons['shortcut'] = $this->doc->makeShortcutIcon('id, edit_record, pointer, new_unique_uid, search_field, search_levels, showLimit', implode(',', array_keys($this->MOD_MENU)), $this->MCONF['name']);
                }
                // Cache
                if (!$this->modTSconfig['properties']['disableAdvanced']) {
-                       $buttons['cache'] = '<a href="' . htmlspecialchars(('db_layout.php?id=' . $this->pageinfo['uid'] . '&clear_cache=1')) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.clear_cache', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-system-cache-clear') . '</a>';
+                       $buttons['cache'] = '<a href="' . htmlspecialchars(('db_layout.php?id=' . $this->pageinfo['uid'] . '&clear_cache=1')) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.clear_cache', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-system-cache-clear') . '</a>';
                }
                if (!$this->modTSconfig['properties']['disableIconToolbar']) {
                        // Move record
@@ -1036,13 +1036,13 @@ class PageLayoutController {
                        }
                        if ($function == 'quickEdit') {
                                // Save record
-                               $buttons['savedok'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save', array('html' => '<input type="image" name="_savedok" class="c-inputButton" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', TRUE) . '" />'));
+                               $buttons['savedok'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save', array('html' => '<input type="image" name="_savedok" class="c-inputButton" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDoc', TRUE) . '" />'));
                                // Save and close
-                               $buttons['save_close'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-close', array('html' => '<input type="image" class="c-inputButton" name="_saveandclosedok" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveCloseDoc', 1) . '" />'));
+                               $buttons['save_close'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-close', array('html' => '<input type="image" class="c-inputButton" name="_saveandclosedok" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveCloseDoc', 1) . '" />'));
                                // Save record and show page
-                               $buttons['savedokshow'] = '<a href="#" onclick="' . htmlspecialchars('document.editform.redirect.value+=\'&popView=1\'; TBE_EDITOR.checkAndDoSubmit(1); return false;') . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDocShow', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-view') . '</a>';
+                               $buttons['savedokshow'] = '<a href="#" onclick="' . htmlspecialchars('document.editform.redirect.value+=\'&popView=1\'; TBE_EDITOR.checkAndDoSubmit(1); return false;') . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDocShow', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-save-view') . '</a>';
                                // Close record
-                               $buttons['closedok'] = '<a href="#" onclick="' . htmlspecialchars(('jumpToUrl(unescape(\'' . rawurlencode($this->closeUrl) . '\')); return false;')) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close') . '</a>';
+                               $buttons['closedok'] = '<a href="#" onclick="' . htmlspecialchars(('jumpToUrl(unescape(\'' . rawurlencode($this->closeUrl) . '\')); return false;')) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.closeDoc', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close') . '</a>';
                                // Delete record
                                if ($this->deleteButton) {
                                        $buttons['deletedok'] = '<a href="#" onclick="' . htmlspecialchars(('return deleteRecord(\'' . $this->eRParts[0] . '\',\'' . $this->eRParts[1] . '\',\'' . \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('SCRIPT_NAME') . '?id=' . $this->id . '\');')) . '" title="' . $GLOBALS['LANG']->getLL('deleteItem', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-delete') . '</a>';
@@ -1051,7 +1051,7 @@ class PageLayoutController {
                                        // Undo button
                                        $buttons['undo'] = '<a href="#"
                                                onclick="' . htmlspecialchars(('window.location.href=\'' . $GLOBALS['BACK_PATH'] . 'show_rechis.php?element=' . rawurlencode(($this->eRParts[0] . ':' . $this->eRParts[1])) . '&revert=ALL_FIELDS&sumUp=-1&returnUrl=' . rawurlencode($this->R_URI) . '\'; return false;')) . '"
-                                               title="' . htmlspecialchars(sprintf($GLOBALS['LANG']->getLL('undoLastChange'), \TYPO3\CMS\Backend\Utility\BackendUtility::calcAge(($GLOBALS['EXEC_TIME'] - $this->undoButtonR['tstamp']), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')))) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-undo') . '</a>';
+                                               title="' . htmlspecialchars(sprintf($GLOBALS['LANG']->getLL('undoLastChange'), \TYPO3\CMS\Backend\Utility\BackendUtility::calcAge(($GLOBALS['EXEC_TIME'] - $this->undoButtonR['tstamp']), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears')))) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-undo') . '</a>';
                                        // History button
                                        $buttons['history_record'] = '<a href="#" onclick="' . htmlspecialchars(('jumpToUrl(\'' . $GLOBALS['BACK_PATH'] . 'show_rechis.php?element=' . rawurlencode(($this->eRParts[0] . ':' . $this->eRParts[1])) . '&returnUrl=' . rawurlencode($this->R_URI) . '#latest\');return false;')) . '" title="' . $GLOBALS['LANG']->getLL('recordHistory', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-history-open') . '</a>';
                                }
index 7615c73..95712dd 100644 (file)
@@ -192,7 +192,7 @@ class PageTreeNavigationController {
                // Outputting Temporary DB mount notice:
                if ($this->active_tempMountPoint) {
                        $flashText = '
-                               <a href="' . htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array('setTempDBmount' => 0))) . '">' . $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_core.xml:labels.temporaryDBmount', 1) . '</a>         <br />' . $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_core.xml:labels.path', 1) . ': <span title="' . htmlspecialchars($this->active_tempMountPoint['_thePathFull']) . '">' . htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs($this->active_tempMountPoint['_thePath'], -50)) . '</span>
+                               <a href="' . htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::linkThisScript(array('setTempDBmount' => 0))) . '">' . $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_core.xlf:labels.temporaryDBmount', 1) . '</a>         <br />' . $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_core.xlf:labels.path', 1) . ': <span title="' . htmlspecialchars($this->active_tempMountPoint['_thePathFull']) . '">' . htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs($this->active_tempMountPoint['_thePath'], -50)) . '</span>
                        ';
                        $flashMessage = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Messaging\\FlashMessage', $flashText, '', \TYPO3\CMS\Core\Messaging\FlashMessage::INFO);
                        $this->content .= $flashMessage->render();
@@ -208,8 +208,8 @@ class PageTreeNavigationController {
                $markers = array(
                        'IMG_RESET' => \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close', array(
                                'id' => 'treeFilterReset',
-                               'alt' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.resetFilter'),
-                               'title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.resetFilter')
+                               'alt' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.resetFilter'),
+                               'title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.resetFilter')
                        )),
                        'WORKSPACEINFO' => $this->getWorkspaceInfo(),
                        'CONTENT' => $this->content
@@ -251,7 +251,7 @@ class PageTreeNavigationController {
                $onclickNewPageWizard = 'top.content.list_frame.location.href=top.TS.PATH_typo3+\'db_new.php?pagesOnly=1&amp;id=\'+Tree.pageID;';
                $buttons['new_page'] = '<a href="#" onclick="' . $onclickNewPageWizard . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:cms/layout/locallang.xml:newPage', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-page-new') . '</a>';
                // Refresh
-               $buttons['refresh'] = '<a href="' . htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('REQUEST_URI')) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.refresh', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-system-refresh') . '</a>';
+               $buttons['refresh'] = '<a href="' . htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('REQUEST_URI')) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.refresh', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-system-refresh') . '</a>';
                // CSH
                $buttons['csh'] = str_replace('typo3-csh-inline', 'typo3-csh-inline show-right', \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem('xMOD_csh_corebe', 'pagetree', $GLOBALS['BACK_PATH'], '', TRUE));
                // Filter
index 226b7e5..ddea891 100644 (file)
@@ -256,11 +256,11 @@ class FormsController {
                        // CSH Buttons
                        $buttons['csh_buttons'] = \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem('xMOD_csh_corebe', 'wizard_forms_wiz_buttons', $GLOBALS['BACK_PATH'], '');
                        // Close
-                       $buttons['close'] = '<a href="#" onclick="' . htmlspecialchars(('jumpToUrl(unescape(\'' . rawurlencode(\TYPO3\CMS\Core\Utility\GeneralUtility::sanitizeLocalUrl($this->P['returnUrl'])) . '\')); return false;')) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', TRUE))) . '</a>';
+                       $buttons['close'] = '<a href="#" onclick="' . htmlspecialchars(('jumpToUrl(unescape(\'' . rawurlencode(\TYPO3\CMS\Core\Utility\GeneralUtility::sanitizeLocalUrl($this->P['returnUrl'])) . '\')); return false;')) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.closeDoc', TRUE))) . '</a>';
                        // Save
-                       $buttons['save'] = '<input type="image" class="c-inputButton" name="savedok"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/savedok.gif') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', 1) . '" />';
+                       $buttons['save'] = '<input type="image" class="c-inputButton" name="savedok"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/savedok.gif') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDoc', 1) . '" />';
                        // Save & Close
-                       $buttons['save_close'] = '<input type="image" class="c-inputButton" name="saveandclosedok"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/saveandclosedok.gif') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveCloseDoc', 1) . '" />';
+                       $buttons['save_close'] = '<input type="image" class="c-inputButton" name="saveandclosedok"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/saveandclosedok.gif') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveCloseDoc', 1) . '" />';
                        // Reload
                        $buttons['reload'] = '<input type="image" class="c-inputButton" name="_refresh"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg('', 'gfx/refresh_n.gif') . ' title="' . $GLOBALS['LANG']->getLL('forms_refresh', 1) . '" />';
                }
index a4e09fa..e5cb4dc 100644 (file)
@@ -217,18 +217,18 @@ class RteController {
                                $undoButton = 1;
                        }
                        // Close
-                       $buttons['close'] = '<a href="#" onclick="' . htmlspecialchars(('jumpToUrl(unescape(\'' . rawurlencode($closeUrl) . '\')); return false;')) . '">' . '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/closedok.gif') . ' class="c-inputButton" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', 1) . '" alt="" />' . '</a>';
+                       $buttons['close'] = '<a href="#" onclick="' . htmlspecialchars(('jumpToUrl(unescape(\'' . rawurlencode($closeUrl) . '\')); return false;')) . '">' . '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/closedok.gif') . ' class="c-inputButton" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.closeDoc', 1) . '" alt="" />' . '</a>';
                        // Save
-                       $buttons['save'] = '<a href="#" onclick="TBE_EDITOR.checkAndDoSubmit(1); return false;">' . '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/savedok.gif') . ' class="c-inputButton" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', 1) . '" alt="" />' . '</a>';
+                       $buttons['save'] = '<a href="#" onclick="TBE_EDITOR.checkAndDoSubmit(1); return false;">' . '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/savedok.gif') . ' class="c-inputButton" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDoc', 1) . '" alt="" />' . '</a>';
                        // Save & View
                        if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('cms')) {
-                               $buttons['save_view'] = '<a href="#" onclick="' . htmlspecialchars('document.editform.redirect.value+=\'&popView=1\'; TBE_EDITOR.checkAndDoSubmit(1); return false;') . '">' . '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/savedokshow.gif') . ' class="c-inputButton" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDocShow', 1) . '" alt="" />' . '</a>';
+                               $buttons['save_view'] = '<a href="#" onclick="' . htmlspecialchars('document.editform.redirect.value+=\'&popView=1\'; TBE_EDITOR.checkAndDoSubmit(1); return false;') . '">' . '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/savedokshow.gif') . ' class="c-inputButton" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDocShow', 1) . '" alt="" />' . '</a>';
                        }
                        // Save & Close
-                       $buttons['save_close'] = '<input type="image" class="c-inputButton" onclick="' . htmlspecialchars(('document.editform.redirect.value=\'' . $closeUrl . '\'; TBE_EDITOR.checkAndDoSubmit(1); return false;')) . '" name="_saveandclosedok"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/saveandclosedok.gif', '') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveCloseDoc', 1) . '" />';
+                       $buttons['save_close'] = '<input type="image" class="c-inputButton" onclick="' . htmlspecialchars(('document.editform.redirect.value=\'' . $closeUrl . '\'; TBE_EDITOR.checkAndDoSubmit(1); return false;')) . '" name="_saveandclosedok"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/saveandclosedok.gif', '') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveCloseDoc', 1) . '" />';
                        // Undo/Revert:
                        if ($undoButton) {
-                               $buttons['undo'] = '<a href="#" onclick="' . htmlspecialchars(('window.location.href=\'show_rechis.php?element=' . rawurlencode(($this->P['table'] . ':' . $this->P['uid'])) . '&revert=' . rawurlencode(('field:' . $this->P['field'])) . '&sumUp=-1&returnUrl=' . rawurlencode($this->R_URI) . '\'; return false;')) . '">' . '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/undo.gif') . ' class="c-inputButton" title="' . htmlspecialchars(sprintf($GLOBALS['LANG']->getLL('rte_undoLastChange'), \TYPO3\CMS\Backend\Utility\BackendUtility::calcAge(($GLOBALS['EXEC_TIME'] - $undoButtonR['tstamp']), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')))) . '" alt="" />' . '</a>';
+                               $buttons['undo'] = '<a href="#" onclick="' . htmlspecialchars(('window.location.href=\'show_rechis.php?element=' . rawurlencode(($this->P['table'] . ':' . $this->P['uid'])) . '&revert=' . rawurlencode(('field:' . $this->P['field'])) . '&sumUp=-1&returnUrl=' . rawurlencode($this->R_URI) . '\'; return false;')) . '">' . '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/undo.gif') . ' class="c-inputButton" title="' . htmlspecialchars(sprintf($GLOBALS['LANG']->getLL('rte_undoLastChange'), \TYPO3\CMS\Backend\Utility\BackendUtility::calcAge(($GLOBALS['EXEC_TIME'] - $undoButtonR['tstamp']), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears')))) . '" alt="" />' . '</a>';
                        }
                        // Shortcut
                        if ($GLOBALS['BE_USER']->mayMakeShortcut()) {
index edfec95..dbf22ef 100644 (file)
@@ -193,11 +193,11 @@ class TableController {
                        // CSH Buttons
                        $buttons['csh_buttons'] = \TYPO3\CMS\Backend\Utility\BackendUtility::cshItem('xMOD_csh_corebe', 'wizard_table_wiz_buttons', $GLOBALS['BACK_PATH'], '');
                        // Close
-                       $buttons['close'] = '<a href="#" onclick="' . htmlspecialchars(('jumpToUrl(unescape(\'' . rawurlencode(\TYPO3\CMS\Core\Utility\GeneralUtility::sanitizeLocalUrl($this->P['returnUrl'])) . '\')); return false;')) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.closeDoc', TRUE))) . '</a>';
+                       $buttons['close'] = '<a href="#" onclick="' . htmlspecialchars(('jumpToUrl(unescape(\'' . rawurlencode(\TYPO3\CMS\Core\Utility\GeneralUtility::sanitizeLocalUrl($this->P['returnUrl'])) . '\')); return false;')) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-close', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.closeDoc', TRUE))) . '</a>';
                        // Save
-                       $buttons['save'] = '<input type="image" class="c-inputButton" name="savedok"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/savedok.gif') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveDoc', 1) . '" />';
+                       $buttons['save'] = '<input type="image" class="c-inputButton" name="savedok"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/savedok.gif') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveDoc', 1) . '" />';
                        // Save & Close
-                       $buttons['save_close'] = '<input type="image" class="c-inputButton" name="saveandclosedok"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/saveandclosedok.gif') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:rm.saveCloseDoc', 1) . '" />';
+                       $buttons['save_close'] = '<input type="image" class="c-inputButton" name="saveandclosedok"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/saveandclosedok.gif') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.saveCloseDoc', 1) . '" />';
                        // Reload
                        $buttons['reload'] = '<input type="image" class="c-inputButton" name="_refresh"' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->doc->backPath, 'gfx/refresh_n.gif') . ' title="' . $GLOBALS['LANG']->getLL('forms_refresh', 1) . '" />';
                }
index 2b7a6ba..229f7da 100644 (file)
@@ -610,13 +610,13 @@ class InlineElement {
                // Icon to visualize that a required field is nested in this inline level:
                $cells['required'] = '<img name="' . $nameObjectFtId . '_req" src="clear.gif" width="10" height="10" hspace="4" vspace="3" alt="" />';
                if (isset($rec['__create'])) {
-                       $cells['localize.isLocalizable'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-localize-status-low', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:localize.isLocalizable', TRUE)));
+                       $cells['localize.isLocalizable'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-localize-status-low', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xlf:localize.isLocalizable', TRUE)));
                } elseif (isset($rec['__remove'])) {
-                       $cells['localize.wasRemovedInOriginal'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-localize-status-high', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:localize.wasRemovedInOriginal', 1)));
+                       $cells['localize.wasRemovedInOriginal'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-localize-status-high', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xlf:localize.wasRemovedInOriginal', 1)));
                }
                // "Info": (All records)
                if ($enabledControls['info'] && !$isNewItem) {
-                       $cells['info'] = '<a href="#" onclick="' . htmlspecialchars(('top.launchView(\'' . $foreign_table . '\', \'' . $rec['uid'] . '\'); return false;')) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('status-dialog-information', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:showInfo', TRUE))) . '</a>';
+                       $cells['info'] = '<a href="#" onclick="' . htmlspecialchars(('top.launchView(\'' . $foreign_table . '\', \'' . $rec['uid'] . '\'); return false;')) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('status-dialog-information', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xlf:showInfo', TRUE))) . '</a>';
                }
                // If the table is NOT a read-only table, then show these links:
                if (!$tcaTableCtrl['readOnly'] && !$isVirtualRecord) {
@@ -629,7 +629,7 @@ class InlineElement {
                                                $style = ' style="' . $config['inline']['inlineNewButtonStyle'] . '"';
                                        }
                                        $cells['new'] = '<a href="#" onclick="' . htmlspecialchars($onClick) . '"' . $class . $style . '>' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon(('actions-' . ($isPagesTable ? 'page' : 'document') . '-new'), array(
-                                               'title' => $GLOBALS['LANG']->sL(('LLL:EXT:lang/locallang_mod_web_list.xml:new' . ($isPagesTable ? 'Page' : 'Record')), 1)
+                                               'title' => $GLOBALS['LANG']->sL(('LLL:EXT:lang/locallang_mod_web_list.xlf:new' . ($isPagesTable ? 'Page' : 'Record')), 1)
                                        )) . '</a>';
                                }
                        }
@@ -638,16 +638,16 @@ class InlineElement {
                                $onClick = 'return inline.changeSorting(\'' . $nameObjectFtId . '\', \'1\')';
                                // Up
                                $style = $config['inline']['first'] == $rec['uid'] ? 'style="visibility: hidden;"' : '';
-                               $cells['sort.up'] = '<a href="#" onclick="' . htmlspecialchars($onClick) . '" class="sortingUp" ' . $style . '>' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-move-up', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:moveUp', TRUE))) . '</a>';
+                               $cells['sort.up'] = '<a href="#" onclick="' . htmlspecialchars($onClick) . '" class="sortingUp" ' . $style . '>' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-move-up', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xlf:moveUp', TRUE))) . '</a>';
                                $onClick = 'return inline.changeSorting(\'' . $nameObjectFtId . '\', \'-1\')';
                                // Down
                                $style = $config['inline']['last'] == $rec['uid'] ? 'style="visibility: hidden;"' : '';
-                               $cells['sort.down'] = '<a href="#" onclick="' . htmlspecialchars($onClick) . '" class="sortingDown" ' . $style . '>' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-move-down', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:moveDown', TRUE))) . '</a>';
+                               $cells['sort.down'] = '<a href="#" onclick="' . htmlspecialchars($onClick) . '" class="sortingDown" ' . $style . '>' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-move-down', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xlf:moveDown', TRUE))) . '</a>';
                        }
                        // "Delete" link:
                        if ($enabledControls['delete'] && ($isPagesTable && $localCalcPerms & 4 || !$isPagesTable && $calcPerms & 16)) {
                                $onClick = 'inline.deleteRecord(\'' . $nameObjectFtId . '\');';
-                               $cells['delete'] = '<a href="#" onclick="' . htmlspecialchars(('if (confirm(' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->getLL('deleteWarning')) . ')) {  ' . $onClick . ' } return false;')) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-delete', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xml:delete', TRUE))) . '</a>';
+                               $cells['delete'] = '<a href="#" onclick="' . htmlspecialchars(('if (confirm(' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->getLL('deleteWarning')) . ')) {  ' . $onClick . ' } return false;')) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-delete', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_web_list.xlf:delete', TRUE))) . '</a>';
                        }
 
                        // "Hide/Unhide" links:
@@ -656,24 +656,24 @@ class InlineElement {
                                $onClick = 'return inline.enableDisableRecord(\'' . $nameObjectFtId . '\')';
                                if ($rec[$hiddenField]) {
                                        $cells['hide.unhide'] = '<a href="#" class="hiddenHandle" onclick="' . htmlspecialchars($onClick) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-unhide', array(
-                                               'title' => $GLOBALS['LANG']->sL(('LLL:EXT:lang/locallang_mod_web_list.xml:unHide' . ($isPagesTable ? 'Page' : '')), 1),
+                                               'title' => $GLOBALS['LANG']->sL(('LLL:EXT:lang/locallang_mod_web_list.xlf:unHide' . ($isPagesTable ? 'Page' : '')), 1),
                                                'id' => ($nameObjectFtId . '_disabled')
                                        )) . '</a>';
                                } else {
                                        $cells['hide.hide'] = '<a href="#" class="hiddenHandle" onclick="' . htmlspecialchars($onClick) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-hide', array(
-                                               'title' => $GLOBALS['LANG']->sL(('LLL:EXT:lang/locallang_mod_web_list.xml:hide' . ($isPagesTable ? 'Page' : '')), 1),
+                                               'title' => $GLOBALS['LANG']->sL(('LLL:EXT:lang/locallang_mod_web_list.xlf:hide' . ($isPagesTable ? 'Page' : '')), 1),
                                                'id' => ($nameObjectFtId . '_disabled')
                                        )) . '</a>';
                                }
                        }
                        // Drag&Drop Sorting: Sortable handler for script.aculo.us
                        if ($enabledControls['dragdrop'] && $permsEdit && $enableManualSorting && $config['appearance']['useSortable']) {
-                               $cells['dragdrop'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-move-move', array('class' => 'sortableHandle', 'title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.move', TRUE)));
+                               $cells['dragdrop'] = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-move-move', array('class' => 'sortableHandle', 'title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.move', TRUE)));
                        }
                } elseif ($isVirtualRecord) {
                        if ($enabledControls['localize'] && isset($rec['__create'])) {
                                $onClick = 'inline.synchronizeLocalizeRecords(\'' . $nameObjectFt . '\', ' . $rec['uid'] . ');';
-                               $cells['localize'] = '<a href="#" onclick="' . htmlspecialchars($onClick) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-localize', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:localize', TRUE))) . '</a>';
+                               $cells['localize'] = '<a href="#" onclick="' . htmlspecialchars($onClick) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-localize', array('title' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xlf:localize', TRUE))) . '</a>';
                        }
                }
                // If the record is edit-locked by another user, we will show a little warning sign:
@@ -803,7 +803,7 @@ class InlineElement {
                        if (!empty($conf['appearance']['createNewRelationLinkTitle'])) {
                                $createNewRelationText = $GLOBALS['LANG']->sL($conf['appearance']['createNewRelationLinkTitle'], TRUE);
                        } else {
-                               $createNewRelationText = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.createNewRelation', 1);
+                               $createNewRelationText = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:cm.createNewRelation', 1);
                        }
                        $item .= '<a href="#" onclick="' . htmlspecialchars($onChange) . '" align="abstop">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-new', array('title' => $createNewRelationText)) . $createNewRelationText . '</a>';
                        // Wrap the selector and add a spacer to the bottom
@@ -830,7 +830,7 @@ class InlineElement {
                if (!empty($conf['appearance']['createNewRelationLinkTitle'])) {
                        $createNewRelationText = $GLOBALS['LANG']->sL($conf['appearance']['createNewRelationLinkTitle'], TRUE);
                } else {
-                       $createNewRelationText = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.createNewRelation', 1);
+                       $createNewRelationText = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:cm.createNewRelation', 1);
                }
                if (is_array($config['appearance'])) {
                        if (isset($config['appearance']['elementBrowserType'])) {
@@ -860,7 +860,7 @@ class InlineElement {
                $attributes = array();
                switch ($type) {
                case 'newRecord':
-                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:cm.createnew', 1);
+                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:cm.createnew', 1);
                        $icon = 'actions-document-new';
                        $className = 'typo3-newRecordLink';
                        $attributes['class'] = 'inlineNewButton ' . $this->inlineData['config'][$nameObject]['md5'];
@@ -873,13 +873,13 @@ class InlineElement {
                        }
                        break;
                case 'localize':
-                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:localizeAllRecords', 1);
+                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xlf:localizeAllRecords', 1);
                        $icon = 'actions-document-localize';
                        $className = 'typo3-localizationLink';
                        $attributes['onclick'] = 'return inline.synchronizeLocalizeRecords(\'' . $objectPrefix . '\', \'localize\')';
                        break;
                case 'synchronize':
-                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xml:synchronizeWithOriginalLanguage', 1);
+                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xlf:synchronizeWithOriginalLanguage', 1);
                        $icon = 'actions-document-synchronize';
                        $className = 'typo3-synchronizationLink';
                        $attributes['class'] = 'inlineNewButton ' . $this->inlineData['config'][$nameObject]['md5'];
index 02afff1..14f4a8b 100644 (file)
@@ -74,9 +74,9 @@ class SuggestElement {
                }
                $selector = '
                <div class="' . $containerCssClass . '" id="' . $suggestId . '">
-                       <input type="text" id="' . $fieldname . 'Suggest" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.findRecord') . '" class="' . $this->cssClass . '-search" />
+                       <input type="text" id="' . $fieldname . 'Suggest" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.findRecord') . '" class="' . $this->cssClass . '-search" />
                        <div class="' . $this->cssClass . '-indicator" style="display: none;" id="' . $fieldname . 'SuggestIndicator">
-                               <img src="' . $GLOBALS['BACK_PATH'] . 'gfx/spinner.gif" alt="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:alttext.suggestSearching') . '" />
+                               <img src="' . $GLOBALS['BACK_PATH'] . 'gfx/spinner.gif" alt="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:alttext.suggestSearching') . '" />
                        </div>
                        <div class="' . $this->cssClass . '-choices" style="display: none;" id="' . $fieldname . 'SuggestChoices"></div>
 
@@ -94,7 +94,7 @@ class SuggestElement {
                $jsObj = str_replace(' ', '', ucwords(str_replace('-', ' ', \TYPO3\CMS\Core\Utility\GeneralUtility::strtolower($suggestId))));
                $this->TCEformsObj->additionalJS_post[] = '
                        var ' . $jsObj . ' = new TCEForms.Suggest("' . $fieldname . '", "' . $table . '", "' . $field . '", "' . $row['uid'] . '", ' . $row['pid'] . ', ' . $minChars . ');
-                       ' . $jsObj . '.defaultValue = "' . \TYPO3\CMS\Core\Utility\GeneralUtility::slashJS($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.findRecord')) . '";
+                       ' . $jsObj . '.defaultValue = "' . \TYPO3\CMS\Core\Utility\GeneralUtility::slashJS($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.findRecord')) . '";
                ';
                return $selector;
        }
@@ -234,7 +234,7 @@ class SuggestElement {
                if (count($listItems) > 0) {
                        $list = implode('', $listItems);
                } else {
-                       $list = '<li class="suggest-noresults"><i>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.noRecordFound') . '</i></li>';
+                       $list = '<li class="suggest-noresults"><i>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.noRecordFound') . '</i></li>';
                }
                $list = '<ul class="' . $this->cssClass . '-resultlist">' . $list . '</ul>';
                $ajaxObj->addContent(0, $list);
index 11ea8e8..5852d0d 100644 (file)
@@ -148,7 +148,7 @@ class TreeElement {
                $pageRenderer = $GLOBALS['SOBE']->doc->getPageRenderer();
                $pageRenderer->loadExtJs();
                $pageRenderer->addJsFile('../t3lib/js/extjs/tree/tree.js');
-               $pageRenderer->addInlineLanguageLabelFile(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('lang') . 'locallang_csh_corebe.xml', 'tcatree');
+               $pageRenderer->addInlineLanguageLabelFile(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('lang') . 'locallang_csh_corebe.xlf', 'tcatree');
                $pageRenderer->addExtOnReadyCode('
                        TYPO3.Components.Tree.StandardTreeItemData["' . $id . '"] = ' . $treeData . ';
                        var tree' . $id . ' = new TYPO3.Components.Tree.StandardTree({
index 5dc5b2f..677096c 100644 (file)
@@ -2861,13 +2861,13 @@ function ' . $evalData . '(value) {
                                                                // Kasper's comment (kept for history): Maybe there is a better way to do this than store the HTML for the new element in rawurlencoded format - maybe it even breaks with certain charsets? But for now this works...
                                                                $this->additionalJS_post = $additionalJS_post_saved;
                                                                $this->additionalJS_submit = $additionalJS_submit_saved;
-                                                               $new = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.new', 1);
+                                                               $new = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:cm.new', 1);
                                                                $newElementsLinks[] = '<a href="#" onclick="' . htmlspecialchars($onClickInsert) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-document-new') . htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs($this->sL($nCfg['tx_templavoila']['title']), 30)) . '</a>';
                                                        }
                                                        // Reverting internal variables we don't want to change:
                                                        $this->requiredElements = $TEMP_requiredElements;
                                                        // Adding the sections:
-                                                       $toggleAll = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.toggleall', 1);
+                                                       $toggleAll = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.toggleall', 1);
                                                        $output .= '
                                                        <div class="t3-form-field-toggle-flexsection">
                                                                <a href="#" onclick="' . htmlspecialchars(('flexFormToggleSubs("' . $idTagPrefix . '"); return false;')) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-move-right', array('title' => $toggleAll)) . $toggleAll . '
@@ -2875,7 +2875,7 @@ function ' . $evalData . '(value) {
                                                        </div>
 
                                                        <div id="' . $idTagPrefix . '" class="t3-form-field-container-flexsection">' . implode('', $tRows) . '</div>';
-                                                       $output .= $mayRestructureFlexforms ? '<div class="t3-form-field-add-flexsection"><strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.addnew', 1) . ':</strong> ' . implode(' | ', $newElementsLinks) . '</div>' : '';
+                                                       $output .= $mayRestructureFlexforms ? '<div class="t3-form-field-add-flexsection"><strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.addnew', 1) . ':</strong> ' . implode(' | ', $newElementsLinks) . '</div>' : '';
                                                } else {
                                                        // It is a container
                                                        $toggleIcon_open = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-move-down');
@@ -3080,7 +3080,7 @@ function ' . $evalData . '(value) {
                                $value = '';
                        }
                        if ($config['format.']['appendAge']) {
-                               $value .= ' (' . \TYPO3\CMS\Backend\Utility\BackendUtility::calcAge(($GLOBALS['EXEC_TIME'] - $itemValue), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')) . ')';
+                               $value .= ' (' . \TYPO3\CMS\Backend\Utility\BackendUtility::calcAge(($GLOBALS['EXEC_TIME'] - $itemValue), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears')) . ')';
                        }
                        $itemValue = $value;
                        break;
@@ -4794,8 +4794,8 @@ function ' . $evalData . '(value) {
                if ($GLOBALS['TYPO3_DB']->sql_error()) {
                        $msg = htmlspecialchars($GLOBALS['TYPO3_DB']->sql_error());
                        $msg .= '<br />' . LF;
-                       $msg .= $this->sL('LLL:EXT:lang/locallang_core.php:error.database_schema_mismatch');
-                       $msgTitle = $this->sL('LLL:EXT:lang/locallang_core.php:error.database_schema_mismatch_title');
+                       $msg .= $this->sL('LLL:EXT:lang/locallang_core.xlf:error.database_schema_mismatch');
+                       $msgTitle = $this->sL('LLL:EXT:lang/locallang_core.xlf:error.database_schema_mismatch_title');
                        /** @var $flashMessage \TYPO3\CMS\Core\Messaging\FlashMessage */
                        $flashMessage = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Messaging\\FlashMessage', $msg, $msgTitle, \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR, TRUE);
                        /** @var $flashMessageService \TYPO3\CMS\Core\Messaging\FlashMessageService */
@@ -4946,7 +4946,7 @@ function ' . $evalData . '(value) {
        public function replaceTableWrap($arr, $rec, $table) {
                // Make "new"-label
                if (strstr($rec['uid'], 'NEW')) {
-                       $newLabel = ' <span class="typo3-TCEforms-newToken">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.new', 1) . '</span>';
+                       $newLabel = ' <span class="typo3-TCEforms-newToken">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.new', 1) . '</span>';
                        // \TYPO3\CMS\Backend\Utility\BackendUtility::fixVersioningPid Should not be used here because NEW records are not offline workspace versions...
                        $truePid = \TYPO3\CMS\Backend\Utility\BackendUtility::getTSconfig_pidValue($table, $rec['uid'], $rec['pid']);
                        $prec = \TYPO3\CMS\Backend\Utility\BackendUtility::getRecordWSOL('pages', $truePid, 'title');
@@ -4955,12 +4955,12 @@ function ' . $evalData . '(value) {
                        // Fetch translated title of the table
                        $tableTitle = $GLOBALS['LANG']->sL($GLOBALS['TCA'][$table]['ctrl']['title']);
                        if ($table === 'pages') {
-                               $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.createNewPage', TRUE);
+                               $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.createNewPage', TRUE);
                                $pageTitle = sprintf($label, $tableTitle);
                        } else {
-                               $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.createNewRecord', TRUE);
+                               $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.createNewRecord', TRUE);
                                if ($rec['pid'] == 0) {
-                                       $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.createNewRecordRootLevel', TRUE);
+                                       $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.createNewRecordRootLevel', TRUE);
                                }
                                $pageTitle = sprintf($label, $tableTitle, $pageTitle);
                        }
@@ -4971,17 +4971,17 @@ function ' . $evalData . '(value) {
                        // Fetch translated title of the table
                        $tableTitle = $GLOBALS['LANG']->sL($GLOBALS['TCA'][$table]['ctrl']['title']);
                        if ($table === 'pages') {
-                               $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.editPage', TRUE);
+                               $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.editPage', TRUE);
                                // Just take the record title and prepend an edit label.
                                $pageTitle = sprintf($label, $tableTitle, $rLabel);
                        } else {
-                               $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.editRecord', TRUE);
+                               $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.editRecord', TRUE);
                                $pageTitle = \TYPO3\CMS\Backend\Utility\BackendUtility::getRecordTitle('pages', $prec, TRUE, FALSE);
                                if ($rLabel === \TYPO3\CMS\Backend\Utility\BackendUtility::getNoRecordTitle(TRUE)) {
-                                       $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.editRecordNoTitle', TRUE);
+                                       $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.editRecordNoTitle', TRUE);
                                }
                                if ($rec['pid'] == 0) {
-                                       $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.editRecordRootLevel', TRUE);
+                                       $label = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.editRecordRootLevel', TRUE);
                                }
                                if ($rLabel !== \TYPO3\CMS\Backend\Utility\BackendUtility::getNoRecordTitle(TRUE)) {
                                        // Just take the record title and prepend an edit label.
@@ -5410,8 +5410,8 @@ function ' . $evalData . '(value) {
                        TBE_EDITOR.prependFormFieldNamesCnt = ' . substr_count($this->prependFormFieldNames, '[') . ';
                        TBE_EDITOR.isPalettedoc = ' . ($this->isPalettedoc ? addslashes($this->isPalettedoc) : 'null') . ';
                        TBE_EDITOR.doSaveFieldName = "' . ($this->doSaveFieldName ? addslashes($this->doSaveFieldName) : '') . '";
-                       TBE_EDITOR.labels.fieldsChanged = ' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.fieldsChanged')) . ';
-                       TBE_EDITOR.labels.fieldsMissing = ' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.fieldsMissing')) . ';
+                       TBE_EDITOR.labels.fieldsChanged = ' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.fieldsChanged')) . ';
+                       TBE_EDITOR.labels.fieldsMissing = ' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.fieldsMissing')) . ';
                        TBE_EDITOR.labels.refresh_login = ' . $GLOBALS['LANG']->JScharCode($this->getLL('m_refresh_login')) . ';
                        TBE_EDITOR.labels.onChangeAlert = ' . $GLOBALS['LANG']->JScharCode($this->getLL('m_onChangeAlert')) . ';
                        evalFunc.USmode = ' . ($GLOBALS['TYPO3_CONF_VARS']['SYS']['USdateFormat'] ? '1' : '0') . ';
@@ -5885,7 +5885,7 @@ function ' . $evalData . '(value) {
        /**
         * Fetches language label for key
         *
-        * @param string $str Language label reference, eg. 'LLL:EXT:lang/locallang_core.php:labels.blablabla'
+        * @param string $str Language label reference, eg. 'LLL:EXT:lang/locallang_core.xlf:labels.blablabla'
         * @return string The value of the label, fetched for the current backend language.
         * @todo Define visibility
         */
@@ -5894,10 +5894,10 @@ function ' . $evalData . '(value) {
        }
 
        /**
-        * Returns language label from locallang_core.php
+        * Returns language label from locallang_core.xlf
         * Labels must be prefixed with either "l_" or "m_".
-        * The prefix "l_" maps to the prefix "labels." inside locallang_core.php
-        * The prefix "m_" maps to the prefix "mess." inside locallang_core.php
+        * The prefix "l_" maps to the prefix "labels." inside locallang_core.xlf
+        * The prefix "m_" maps to the prefix "mess." inside locallang_core.xlf
         *
         * @param string $str The label key
         * @return string The value of the label, fetched for the current backend language.
@@ -5907,10 +5907,10 @@ function ' . $evalData . '(value) {
                $content = '';
                switch (substr($str, 0, 2)) {
                case 'l_':
-                       $content = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.' . substr($str, 2));
+                       $content = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.' . substr($str, 2));
                        break;
                case 'm_':
-                       $content = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:mess.' . substr($str, 2));
+                       $content = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:mess.' . substr($str, 2));
                        break;
                }
                return $content;
@@ -6072,7 +6072,7 @@ function ' . $evalData . '(value) {
        protected function getMergeBehaviourIcon($l10nMode) {
                $icon = '';
                if ($l10nMode === 'mergeIfNotBlank') {
-                       $icon = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-merge-localization', array('title' => $this->sL('LLL:EXT:lang/locallang_misc.xml:localizeMergeIfNotBlank')));
+                       $icon = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-merge-localization', array('title' => $this->sL('LLL:EXT:lang/locallang_misc.xlf:localizeMergeIfNotBlank')));
                }
                return $icon;
        }
index 987249f..c5b7c1e 100644 (file)
@@ -291,14 +291,14 @@ class FrontendBackendUserAuthentication extends \TYPO3\CMS\Core\Authentication\B
         ****************************************************/
        /**
         * Returns the label for key, $key. If a translation for the language set in $this->uc['lang'] is found that is returned, otherwise the default value.
-        * IF the global variable $LOCAL_LANG is NOT an array (yet) then this function loads the global $LOCAL_LANG array with the content of "sysext/lang/locallang_tsfe.php" so that the values therein can be used for labels in the Admin Panel
+        * IF the global variable $LOCAL_LANG is NOT an array (yet) then this function loads the global $LOCAL_LANG array with the content of "sysext/lang/locallang_tsfe.xlf" so that the values therein can be used for labels in the Admin Panel
         *
-        * @param string $key Key for a label in the $GLOBALS['LOCAL_LANG'] array of "sysext/lang/locallang_tsfe.php
+        * @param string $key Key for a label in the $GLOBALS['LOCAL_LANG'] array of "sysext/lang/locallang_tsfe.xlf
         * @return string The value for the $key
         */
        public function extGetLL($key) {
                if (!is_array($GLOBALS['LOCAL_LANG'])) {
-                       $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_tsfe.php');
+                       $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_tsfe.xlf');
                        if (!is_array($GLOBALS['LOCAL_LANG'])) {
                                $GLOBALS['LOCAL_LANG'] = array();
                        }
index 55125ee..636c205 100644 (file)
@@ -415,7 +415,7 @@ class RecordHistory {
                        // remove first link
                        $singleLine[] = htmlspecialchars(\TYPO3\CMS\Backend\Utility\BackendUtility::datetime($entry['tstamp']));
                        // add time
-                       $singleLine[] = htmlspecialchars(\TYPO3\CMS\Backend\Utility\BackendUtility::calcAge($GLOBALS['EXEC_TIME'] - $entry['tstamp'], $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')));
+                       $singleLine[] = htmlspecialchars(\TYPO3\CMS\Backend\Utility\BackendUtility::calcAge($GLOBALS['EXEC_TIME'] - $entry['tstamp'], $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears')));
                        // add age
                        $singleLine[] = htmlspecialchars($userName);
                        // add user name
index 4138d1d..889cd01 100644 (file)
@@ -55,7 +55,7 @@ namespace TYPO3\CMS\Backend\Module;
  * 'web_info',
  * 'tx_cms_webinfo_page',
  * \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY).'web_info/class.tx_cms_webinfo.php',
- * 'LLL:EXT:cms/locallang_tca.php:mod_tx_cms_webinfo_page'
+ * 'LLL:EXT:cms/locallang_tca.xlf:mod_tx_cms_webinfo_page'
  * );
  *
  * EXAMPLE: Two levels.
index 4eb5b89..23b416d 100644 (file)
@@ -109,7 +109,7 @@ class ElementBrowserRecordList extends \TYPO3\CMS\Recordlist\RecordList\Database
         */
        public function linkWrapItems($table, $uid, $code, $row) {
                if (!$code) {
-                       $code = '<i>[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title', 1) . ']</i>';
+                       $code = '<i>[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.no_title', 1) . ']</i>';
                } else {
                        $code = \TYPO3\CMS\Backend\Utility\BackendUtility::getRecordTitlePrep($code, $this->fixedL);
                }
index bc76ab9..ab063b5 100644 (file)
@@ -475,9 +475,9 @@ class DocumentTemplate {
                $str = \TYPO3\CMS\Backend\Utility\BackendUtility::getListViewLink(array(
                        'id' => $id,
                        'returnUrl' => \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('REQUEST_URI')
-               ), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList'));
+               ), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.showList'));
                // Make link to view page
-               $str .= '<a href="#" onclick="' . htmlspecialchars(\TYPO3\CMS\Backend\Utility\BackendUtility::viewOnClick($id, $backPath, \TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine($id))) . '">' . '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($backPath, 'gfx/zoom.gif', 'width="12" height="12"') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', 1) . '"' . ($addParams ? ' ' . trim($addParams) : '') . ' hspace="3" alt="" />' . '</a>';
+               $str .= '<a href="#" onclick="' . htmlspecialchars(\TYPO3\CMS\Backend\Utility\BackendUtility::viewOnClick($id, $backPath, \TYPO3\CMS\Backend\Utility\BackendUtility::BEgetRootLine($id))) . '">' . '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($backPath, 'gfx/zoom.gif', 'width="12" height="12"') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.showPage', 1) . '"' . ($addParams ? ' ' . trim($addParams) : '') . ' hspace="3" alt="" />' . '</a>';
                return $str;
        }
 
@@ -581,8 +581,8 @@ class DocumentTemplate {
                } else {
                        $mMN = '';
                }
-               $onClick = 'top.ShortcutManager.createShortcut(' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.makeBookmark')) . ', ' . '\'' . $backPath . '\', ' . '\'' . rawurlencode($modName) . '\', ' . '\'' . rawurlencode(($pathInfo['path'] . '?' . $storeUrl)) . $mMN . '\'' . ');return false;';
-               $sIcon = '<a href="#" onclick="' . htmlspecialchars($onClick) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.makeBookmark', TRUE) . '">' . \t3lib_iconworks::getSpriteIcon('actions-system-shortcut-new') . '</a>';
+               $onClick = 'top.ShortcutManager.createShortcut(' . $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.makeBookmark')) . ', ' . '\'' . $backPath . '\', ' . '\'' . rawurlencode($modName) . '\', ' . '\'' . rawurlencode(($pathInfo['path'] . '?' . $storeUrl)) . $mMN . '\'' . ');return false;';
+               $sIcon = '<a href="#" onclick="' . htmlspecialchars($onClick) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.makeBookmark', TRUE) . '">' . \t3lib_iconworks::getSpriteIcon('actions-system-shortcut-new') . '</a>';
                return $sIcon;
        }
 
@@ -1970,7 +1970,7 @@ class DocumentTemplate {
                        $title = '';
                }
                // Setting the path of the page
-               $pagePath = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.path', 1) . ': <span class="typo3-docheader-pagePath">';
+               $pagePath = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.path', 1) . ': <span class="typo3-docheader-pagePath">';
                // crop the title to title limit (or 50, if not defined)
                $cropLength = empty($GLOBALS['BE_USER']->uc['titleLen']) ? 50 : $GLOBALS['BE_USER']->uc['titleLen'];
                $croppedTitle = \TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs($title, -$cropLength);
index 8e6c3ea..5562cab 100644 (file)
@@ -61,7 +61,7 @@ class ClearCacheToolbarItem implements \TYPO3\CMS\Backend\Toolbar\ToolbarItemHoo
                $this->optionValues = array('all', 'pages');
                // Clear cache for ALL tables!
                if ($GLOBALS['BE_USER']->isAdmin() || $GLOBALS['BE_USER']->getTSConfigVal('options.clearCache.all')) {
-                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCacheMenu_all', TRUE);
+                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.clearCacheMenu_all', TRUE);
                        $this->cacheActions[] = array(
                                'id' => 'all',
                                'title' => $title,
@@ -71,7 +71,7 @@ class ClearCacheToolbarItem implements \TYPO3\CMS\Backend\Toolbar\ToolbarItemHoo
                }
                // Clear cache for either ALL pages
                if ($GLOBALS['BE_USER']->isAdmin() || $GLOBALS['BE_USER']->getTSConfigVal('options.clearCache.pages')) {
-                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCacheMenu_pages', TRUE);
+                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.clearCacheMenu_pages', TRUE);
                        $this->cacheActions[] = array(
                                'id' => 'pages',
                                'title' => $title,
@@ -81,7 +81,7 @@ class ClearCacheToolbarItem implements \TYPO3\CMS\Backend\Toolbar\ToolbarItemHoo
                }
                // Clearing of cache-files in typo3conf/ + menu
                if ($GLOBALS['BE_USER']->isAdmin()) {
-                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCacheMenu_allTypo3Conf', TRUE);
+                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.clearCacheMenu_allTypo3Conf', TRUE);
                        $this->cacheActions[] = array(
                                'id' => 'temp_CACHED',
                                'title' => $title,
@@ -126,7 +126,7 @@ class ClearCacheToolbarItem implements \TYPO3\CMS\Backend\Toolbar\ToolbarItemHoo
         * @return string Workspace selector as HTML select
         */
        public function render() {
-               $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:rm.clearCache_clearCache', TRUE);
+               $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:rm.clearCache_clearCache', TRUE);
                $this->addJavascriptToBackend();
                $cacheMenu = array();
                $cacheMenu[] = '<a href="#" class="toolbar-item">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('apps-toolbar-menu-cache', array('title' => $title)) . '</a>';
index 6324999..1c37601 100644 (file)
@@ -77,7 +77,7 @@ class LiveSearchToolbarItem implements \TYPO3\CMS\Backend\Toolbar\ToolbarItemHoo
        public function render() {
                $this->addJavascriptToBackend();
                return '<div class="live-search-wrapper">
-                                       <span title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:search') . '" class="t3-icon t3-icon-apps t3-icon-apps-toolbar t3-icon-toolbar-menu-search">&nbsp;</span>
+                                       <span title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xlf:search') . '" class="t3-icon t3-icon-apps t3-icon-apps-toolbar t3-icon-toolbar-menu-search">&nbsp;</span>
                                        <input id="live-search-box" />
                                </div>';
        }
index c6cb80b..cbded09 100644 (file)
@@ -93,7 +93,7 @@ class ShortcutToolbarItem implements \TYPO3\CMS\Backend\Toolbar\ToolbarItemHookI
         * @return string Workspace selector as HTML select
         */
        public function render() {
-               $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:toolbarItems.bookmarks', TRUE);
+               $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.bookmarks', TRUE);
                $this->addJavascriptToBackend();
                $shortcutMenu = array();
                $shortcutMenu[] = '<a href="#" class="toolbar-item">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('apps-toolbar-menu-shortcut', array('title' => $title)) . '</a>';
@@ -109,9 +109,9 @@ class ShortcutToolbarItem implements \TYPO3\CMS\Backend\Toolbar\ToolbarItemHookI
         * @return string The menu's content
         */
        public function renderMenu() {
-               $shortcutGroup = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:toolbarItems.bookmarksGroup', TRUE);
-               $shortcutEdit = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:toolbarItems.bookmarksEdit', TRUE);
-               $shortcutDelete = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:toolbarItems.bookmarksDelete', TRUE);
+               $shortcutGroup = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.bookmarksGroup', TRUE);
+               $shortcutEdit = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.bookmarksEdit', TRUE);
+               $shortcutDelete = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.bookmarksDelete', TRUE);
                $groupIcon = '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->backPath, 'gfx/i/sysf.gif', 'width="18" height="16"') . ' title="' . $shortcutGroup . '" alt="' . $shortcutGroup . '" />';
                $editIcon = '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->backPath, 'gfx/edit2.gif', 'width="11" height="12"') . ' title="' . $shortcutEdit . '" alt="' . $shortcutEdit . '"';
                $deleteIcon = '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($this->backPath, 'gfx/garbage.gif', 'width="11" height="12"') . ' title="' . $shortcutDelete . '" alt="' . $shortcutDelete . '" />';
@@ -163,11 +163,11 @@ class ShortcutToolbarItem implements \TYPO3\CMS\Backend\Toolbar\ToolbarItemHookI
                }
                if (count($shortcutMenu) == 1) {
                        // No shortcuts added yet, show a small help message how to add shortcuts
-                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:toolbarItems.bookmarks', TRUE);
+                       $title = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.bookmarks', TRUE);
                        $icon = \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-system-shortcut-new', array(
                                'title' => $title
                        ));
-                       $label = str_replace('%icon%', $icon, $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.php:bookmarkDescription'));
+                       $label = str_replace('%icon%', $icon, $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_misc.xlf:bookmarkDescription'));
                        $shortcutMenu[] = '<tr><td style="padding:1px 2px; color: #838383;">' . $label . '</td></tr>';
                }
                $shortcutMenu[] = '</table>';
@@ -617,7 +617,7 @@ class ShortcutToolbarItem implements \TYPO3\CMS\Backend\Toolbar\ToolbarItemHookI
                                $icon = 'gfx/dummy_module.gif';
                        }
                }
-               return '<img src="' . $icon . '" alt="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:toolbarItems.shortcut', TRUE) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:toolbarItems.shortcut', TRUE) . '" />';
+               return '<img src="' . $icon . '" alt="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.shortcut', TRUE) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:toolbarItems.shortcut', TRUE) . '" />';
        }
 
        /**
index d2cf30f..5fb0d06 100644 (file)
@@ -170,7 +170,7 @@ class Commands {
 
                $data['pages'][$placeholder]['pid'] = $pid;
                $data['pages'][$placeholder]['doktype'] = $pageType;
-               $data['pages'][$placeholder]['title'] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:tree.defaultPageTitle', TRUE);
+               $data['pages'][$placeholder]['title'] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:tree.defaultPageTitle', TRUE);
                $newPageId = self::processTceCmdAndDataMap(array(), $data);
                $node = self::getNode($newPageId[$placeholder]);
                if ($pid !== $targetId) {
@@ -315,7 +315,7 @@ class Commands {
                        $text = $record['nav_title'];
                }
                if (trim($text) === '') {
-                       $visibleText = '[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.no_title', TRUE) . ']';
+                       $visibleText = '[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.no_title', TRUE) . ']';
                } else {
                        $visibleText = $text;
                }
index 0c4334c..e99caa0 100644 (file)
@@ -114,14 +114,14 @@ class ExtdirectTreeDataProvider extends \TYPO3\CMS\Backend\Tree\AbstractExtJsTre
         */
        public function getNodeTypes() {
                $map = array(
-                       1 => 'LLL:EXT:lang/locallang_tca.php:doktype.I.0',
-                       3 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.8',
-                       4 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.2',
-                       6 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.4',
-                       7 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.5',
-                       199 => 'LLL:EXT:cms/locallang_tca.php:pages.doktype.I.7',
-                       254 => 'LLL:EXT:lang/locallang_tca.php:doktype.I.folder',
-                       255 => 'LLL:EXT:lang/locallang_tca.php:doktype.I.2'
+                       1 => 'LLL:EXT:lang/locallang_tca.xlf:doktype.I.0',
+                       3 => 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.8',
+                       4 => 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.2',
+                       6 => 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.4',
+                       7 => 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.5',
+                       199 => 'LLL:EXT:cms/locallang_tca.xlf:pages.doktype.I.7',
+                       254 => 'LLL:EXT:lang/locallang_tca.xlf:doktype.I.folder',
+                       255 => 'LLL:EXT:lang/locallang_tca.xlf:doktype.I.2'
                );
                $doktypes = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.doktypesToShowInNewPageDragArea'));
                $output = array();
@@ -166,7 +166,7 @@ class ExtdirectTreeDataProvider extends \TYPO3\CMS\Backend\Tree\AbstractExtJsTre
         * @return void
         */
        public function loadResources() {
-               $file = 'LLL:EXT:lang/locallang_core.xml:';
+               $file = 'LLL:EXT:lang/locallang_core.xlf:';
                $indicators = $this->getIndicators();
                $configuration = array(
                        'LLL' => array(
index 05b7af7..3b7abe0 100644 (file)
@@ -696,13 +696,13 @@ abstract class AbstractTreeView {
         */
        public function getTitleStr($row, $titleLen = 30) {
                if ($this->ext_showNavTitle && strlen(trim($row['nav_title'])) > 0) {
-                       $title = '<span title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_tca.xml:title', 1) . ' ' . htmlspecialchars(trim($row['title'])) . '">' . htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs($row['nav_title'], $titleLen)) . '</span>';
+                       $title = '<span title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_tca.xlf:title', 1) . ' ' . htmlspecialchars(trim($row['title'])) . '">' . htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs($row['nav_title'], $titleLen)) . '</span>';
                } else {
                        $title = htmlspecialchars(\TYPO3\CMS\Core\Utility\GeneralUtility::fixed_lgd_cs($row['title'], $titleLen));
                        if (strlen(trim($row['nav_title'])) > 0) {
-                               $title = '<span title="' . $GLOBALS['LANG']->sL('LLL:EXT:cms/locallang_tca.xml:pages.nav_title', 1) . ' ' . htmlspecialchars(trim($row['nav_title'])) . '">' . $title . '</span>';
+                               $title = '<span title="' . $GLOBALS['LANG']->sL('LLL:EXT:cms/locallang_tca.xlf:pages.nav_title', 1) . ' ' . htmlspecialchars(trim($row['nav_title'])) . '">' . $title . '</span>';
                        }
-                       $title = strlen(trim($row['title'])) == 0 ? '<em>[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title', 1) . ']</em>' : $title;
+                       $title = strlen(trim($row['title'])) == 0 ? '<em>[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.no_title', 1) . ']</em>' : $title;
                }
                return $title;
        }
index 928cc72..e173c3b 100644 (file)
@@ -505,8 +505,8 @@ class BackendUtility {
        static public function getExplicitAuthFieldValues() {
                // Initialize:
                $adLabel = array(
-                       'ALLOW' => $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_core.xml:labels.allow'),
-                       'DENY' => $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_core.xml:labels.deny')
+                       'ALLOW' => $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_core.xlf:labels.allow'),
+                       'DENY' => $GLOBALS['LANG']->sl('LLL:EXT:lang/locallang_core.xlf:labels.deny')
                );
                // All TCA keys:
                $allowDenyOptions = array();
@@ -1397,7 +1397,7 @@ class BackendUtility {
         * Returns the "age" in minutes / hours / days / years of the number of $seconds inputted.
         *
         * @param integer $seconds Seconds could be the difference of a certain timestamp and time()
-        * @param string $labels Labels should be something like ' min| hrs| days| yrs| min| hour| day| year'. This value is typically delivered by this function call: $GLOBALS["LANG"]->sL("LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears")
+        * @param string $labels Labels should be something like ' min| hrs| days| yrs| min| hour| day| year'. This value is typically delivered by this function call: $GLOBALS["LANG"]->sL("LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears")
         * @return string Formatted time
         */
        static public function calcAge($seconds, $labels = ' min| hrs| days| yrs| min| hour| day| year') {
@@ -1430,7 +1430,7 @@ class BackendUtility {
         * @return string
         */
        static public function dateTimeAge($tstamp, $prefix = 1, $date = '') {
-               return $tstamp ? ($date == 'date' ? self::date($tstamp) : self::datetime($tstamp)) . ' (' . self::calcAge($prefix * ($GLOBALS['EXEC_TIME'] - $tstamp), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')) . ')' : '';
+               return $tstamp ? ($date == 'date' ? self::date($tstamp) : self::datetime($tstamp)) . ' (' . self::calcAge($prefix * ($GLOBALS['EXEC_TIME'] - $tstamp), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears')) . ')' : '';
        }
 
        /**
@@ -1519,7 +1519,7 @@ class BackendUtility {
                                                ))->getPublicUrl(TRUE);
                                                if (!$fileObject->checkActionPermission('read')) {
                                                        /** @var $flashMessage \TYPO3\CMS\Core\Messaging\FlashMessage */
-                                                       $flashMessage = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Messaging\\FlashMessage', $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.file_missing_text') . ' <abbr title="' . htmlspecialchars($fileObject->getName()) . '">' . htmlspecialchars($fileObject->getName()) . '</abbr>', $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.file_missing'), \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR);
+                                                       $flashMessage = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Messaging\\FlashMessage', $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.file_missing_text') . ' <abbr title="' . htmlspecialchars($fileObject->getName()) . '">' . htmlspecialchars($fileObject->getName()) . '</abbr>', $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.file_missing'), \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR);
                                                        $thumbData .= $flashMessage->render();
                                                        continue;
                                                }
@@ -1629,7 +1629,7 @@ class BackendUtility {
                        $parts[] = rtrim($GLOBALS['LANG']->sL($GLOBALS['TCA']['pages']['columns']['nav_hide']['label']), ':');
                }
                if ($row['hidden']) {
-                       $parts[] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.hidden');
+                       $parts[] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.hidden');
                }
                if ($row['starttime']) {
                        $parts[] = $GLOBALS['LANG']->sL($GLOBALS['TCA']['pages']['columns']['starttime']['label']) . ' ' . self::dateTimeAge($row['starttime'], -1, 'date');
@@ -1697,15 +1697,15 @@ class BackendUtility {
                        }
                        // Hidden
                        if ($ctrl['disabled']) {
-                               $out .= $row[$ctrl['disabled']] ? ' - ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.hidden') : '';
+                               $out .= $row[$ctrl['disabled']] ? ' - ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.hidden') : '';
                        }
                        if ($ctrl['starttime']) {
                                if ($row[$ctrl['starttime']] > $GLOBALS['EXEC_TIME']) {
-                                       $out .= ' - ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.starttime') . ':' . self::date($row[$ctrl['starttime']]) . ' (' . self::daysUntil($row[$ctrl['starttime']]) . ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.days') . ')';
+                                       $out .= ' - ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.starttime') . ':' . self::date($row[$ctrl['starttime']]) . ' (' . self::daysUntil($row[$ctrl['starttime']]) . ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.days') . ')';
                                }
                        }
                        if ($row[$ctrl['endtime']]) {
-                               $out .= ' - ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.endtime') . ': ' . self::date($row[$ctrl['endtime']]) . ' (' . self::daysUntil($row[$ctrl['endtime']]) . ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.days') . ')';
+                               $out .= ' - ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.endtime') . ': ' . self::date($row[$ctrl['endtime']]) . ' (' . self::daysUntil($row[$ctrl['endtime']]) . ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.days') . ')';
                        }
                }
                return htmlspecialchars($out);
@@ -1898,7 +1898,7 @@ class BackendUtility {
         * @return string Localized [No title] string
         */
        static public function getNoRecordTitle($prep = FALSE) {
-               $noTitle = '[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title', 1) . ']';
+               $noTitle = '[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.no_title', 1) . ']';
                if ($prep) {
                        $noTitle = '<em>' . $noTitle . '</em>';
                }
@@ -2011,7 +2011,7 @@ class BackendUtility {
                                break;
                        case 'check':
                                if (!is_array($theColConf['items']) || count($theColConf['items']) == 1) {
-                                       $l = $value ? $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:yes') : $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:no');
+                                       $l = $value ? $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xlf:yes') : $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xlf:no');
                                } else {
                                        $lA = array();
                                        foreach ($theColConf['items'] as $key => $val) {
@@ -2033,7 +2033,7 @@ class BackendUtility {
                                                        $value = $value !== $emptyValue ? strtotime($value) : 0;
                                                }
                                                if (!empty($value)) {
-                                                       $l = self::date($value) . ' (' . ($GLOBALS['EXEC_TIME'] - $value > 0 ? '-' : '') . self::calcAge(abs(($GLOBALS['EXEC_TIME'] - $value)), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')) . ')';
+                                                       $l = self::date($value) . ' (' . ($GLOBALS['EXEC_TIME'] - $value > 0 ? '-' : '') . self::calcAge(abs(($GLOBALS['EXEC_TIME'] - $value)), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears')) . ')';
                                                }
                                        } elseif (\TYPO3\CMS\Core\Utility\GeneralUtility::inList($theColConf['eval'], 'time')) {
                                                if (!empty($value)) {
@@ -2949,17 +2949,17 @@ class BackendUtility {
                                } else {
                                        $userTypeLabel = 'user';
                                }
-                               $userType = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.' . $userTypeLabel);
+                               $userType = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.' . $userTypeLabel);
                                // Get the username (if available):
                                if ($row['username']) {
                                        $userName = $row['username'];
                                } else {
-                                       $userName = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.unknownUser');
+                                       $userName = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.unknownUser');
                                }
                                $GLOBALS['LOCKED_RECORDS'][$row['record_table'] . ':' . $row['record_uid']] = $row;
-                               $GLOBALS['LOCKED_RECORDS'][$row['record_table'] . ':' . $row['record_uid']]['msg'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.lockedRecordUser'), $userType, $userName, self::calcAge($GLOBALS['EXEC_TIME'] - $row['tstamp'], $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')));
+                               $GLOBALS['LOCKED_RECORDS'][$row['record_table'] . ':' . $row['record_uid']]['msg'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.lockedRecordUser'), $userType, $userName, self::calcAge($GLOBALS['EXEC_TIME'] - $row['tstamp'], $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears')));
                                if ($row['record_pid'] && !isset($GLOBALS['LOCKED_RECORDS'][($row['record_table'] . ':' . $row['record_pid'])])) {
-                                       $GLOBALS['LOCKED_RECORDS']['pages:' . $row['record_pid']]['msg'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.lockedRecordUser_content'), $userType, $userName, self::calcAge($GLOBALS['EXEC_TIME'] - $row['tstamp'], $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.minutesHoursDaysYears')));
+                                       $GLOBALS['LOCKED_RECORDS']['pages:' . $row['record_pid']]['msg'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.lockedRecordUser_content'), $userType, $userName, self::calcAge($GLOBALS['EXEC_TIME'] - $row['tstamp'], $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.minutesHoursDaysYears')));
                                }
                        }
                        $GLOBALS['TYPO3_DB']->sql_free_result($res);
@@ -3765,23 +3765,23 @@ class BackendUtility {
                $loginCopyrightWarrantyURL = strip_tags(trim($GLOBALS['TYPO3_CONF_VARS']['SYS']['loginCopyrightWarrantyURL']));
 
                $versionNumber = $showVersionNumber ?
-                               ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xml:version.short') . ' ' .
+                               ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xlf:version.short') . ' ' .
                                htmlspecialchars(TYPO3_version) : '';
 
                if (strlen($loginCopyrightWarrantyProvider) >= 2 && strlen($loginCopyrightWarrantyURL) >= 10) {
-                       $warrantyNote = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xml:warranty.by'), htmlspecialchars($loginCopyrightWarrantyProvider), '<a href="' . htmlspecialchars($loginCopyrightWarrantyURL) . '" target="_blank">', '</a>');
+                       $warrantyNote = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xlf:warranty.by'), htmlspecialchars($loginCopyrightWarrantyProvider), '<a href="' . htmlspecialchars($loginCopyrightWarrantyURL) . '" target="_blank">', '</a>');
                } else {
-                       $warrantyNote = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xml:no.warranty'), '<a href="' . TYPO3_URL_LICENSE . '" target="_blank">', '</a>');
+                       $warrantyNote = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xlf:no.warranty'), '<a href="' . TYPO3_URL_LICENSE . '" target="_blank">', '</a>');
                }
                $cNotice = '<a href="' . TYPO3_URL_GENERAL . '" target="_blank">' .
-                               '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($GLOBALS['BACK_PATH'], 'gfx/loginlogo_transp.gif', 'width="75" height="24" vspace="2" hspace="4"') . ' alt="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xml:typo3.logo') . '" align="left" />' .
-                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xml:typo3.cms') . $versionNumber . '</a>. ' .
-                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xml:copyright') . ' &copy; ' . htmlspecialchars(TYPO3_copyright_year) . ' Kasper Sk&aring;rh&oslash;j. ' .
-                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xml:extension.copyright') . ' ' .
-                               sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xml:details.link'), ('<a href="' . TYPO3_URL_GENERAL . '" target="_blank">' . TYPO3_URL_GENERAL . '</a>')) . ' ' .
+                               '<img' . \TYPO3\CMS\Backend\Utility\IconUtility::skinImg($GLOBALS['BACK_PATH'], 'gfx/loginlogo_transp.gif', 'width="75" height="24" vspace="2" hspace="4"') . ' alt="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xlf:typo3.logo') . '" align="left" />' .
+                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xlf:typo3.cms') . $versionNumber . '</a>. ' .
+                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xlf:copyright') . ' &copy; ' . htmlspecialchars(TYPO3_copyright_year) . ' Kasper Sk&aring;rh&oslash;j. ' .
+                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xlf:extension.copyright') . ' ' .
+                               sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xlf:details.link'), ('<a href="' . TYPO3_URL_GENERAL . '" target="_blank">' . TYPO3_URL_GENERAL . '</a>')) . ' ' .
                                strip_tags($warrantyNote, '<a>') . ' ' .
-                               sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xml:free.software'), ('<a href="' . TYPO3_URL_LICENSE . '" target="_blank">'), '</a> ') .
-                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xml:keep.notice');
+                               sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xlf:free.software'), ('<a href="' . TYPO3_URL_LICENSE . '" target="_blank">'), '</a> ') .
+                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_login.xlf:keep.notice');
                return $cNotice;
        }
 
@@ -3809,42 +3809,42 @@ class BackendUtility {
                        // Check if the Install Tool Password is still default: joh316
                        if ($GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] == md5('joh316')) {
                                $url = 'install/index.php?redirect_url=index.php' . urlencode('?TYPO3_INSTALL[type]=about');
-                               $warnings['install_password'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.install_password'), '<a href="' . $url . '">', '</a>');
+                               $warnings['install_password'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.install_password'), '<a href="' . $url . '">', '</a>');
                        }
                        // Check if there is still a default user 'admin' with password 'password' (MD5sum = 5f4dcc3b5aa765d61d8327deb882cf99)
                        $where_clause = 'username=' . $GLOBALS['TYPO3_DB']->fullQuoteStr('admin', 'be_users') . ' AND password=' . $GLOBALS['TYPO3_DB']->fullQuoteStr('5f4dcc3b5aa765d61d8327deb882cf99', 'be_users') . self::deleteClause('be_users');
                        $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid, username, password', 'be_users', $where_clause);
                        if ($row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res)) {
                                $url = 'alt_doc.php?returnUrl=' . urlencode('mod.php?M=help_AboutmodulesAboutmodules') . '&edit[be_users][' . $row['uid'] . ']=edit';
-                               $warnings['backend_admin'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.backend_admin'), '<a href="' . htmlspecialchars($url) . '">', '</a>');
+                               $warnings['backend_admin'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.backend_admin'), '<a href="' . htmlspecialchars($url) . '">', '</a>');
                        }
                        $GLOBALS['TYPO3_DB']->sql_free_result($res);
                        // Check whether the file ENABLE_INSTALL_TOOL contains the string "KEEP_FILE" which permanently unlocks the install tool
                        if (is_file($enableInstallToolFile) && trim(file_get_contents($enableInstallToolFile)) === 'KEEP_FILE') {
                                $url = \TYPO3\CMS\Core\Utility\GeneralUtility::getIndpEnv('TYPO3_REQUEST_SCRIPT') . '?adminWarning_cmd=remove_ENABLE_INSTALL_TOOL';
-                               $warnings['install_enabled'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.install_enabled'), '<span style="white-space:nowrap;">' . $enableInstallToolFile . '</span>');
-                               $warnings['install_enabled'] .= ' <a href="' . $url . '">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.install_enabled_cmd') . '</a>';
+                               $warnings['install_enabled'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.install_enabled'), '<span style="white-space:nowrap;">' . $enableInstallToolFile . '</span>');
+                               $warnings['install_enabled'] .= ' <a href="' . $url . '">' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.install_enabled_cmd') . '</a>';
                        }
                        // Check if the encryption key is empty
                        if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'] == '') {
                                $url = 'install/index.php?redirect_url=index.php' . urlencode('?TYPO3_INSTALL[type]=config#set_encryptionKey');
-                               $warnings['install_encryption'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.install_encryption'), '<a href="' . $url . '">', '</a>');
+                               $warnings['install_encryption'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.install_encryption'), '<a href="' . $url . '">', '</a>');
                        }
                        // Check if parts of fileDenyPattern were removed which is dangerous on Apache
                        $defaultParts = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode('|', FILE_DENY_PATTERN_DEFAULT, TRUE);
                        $givenParts = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode('|', $GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'], TRUE);
                        $result = array_intersect($defaultParts, $givenParts);
                        if ($defaultParts !== $result) {
-                               $warnings['file_deny_pattern'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.file_deny_pattern_partsNotPresent'), '<br /><pre>' . htmlspecialchars(FILE_DENY_PATTERN_DEFAULT) . '</pre><br />');
+                               $warnings['file_deny_pattern'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.file_deny_pattern_partsNotPresent'), '<br /><pre>' . htmlspecialchars(FILE_DENY_PATTERN_DEFAULT) . '</pre><br />');
                        }
                        // Check if fileDenyPattern allows to upload .htaccess files which is dangerous on Apache
                        if ($GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'] != FILE_DENY_PATTERN_DEFAULT && \TYPO3\CMS\Core\Utility\GeneralUtility::verifyFilenameAgainstDenyPattern('.htaccess')) {
-                               $warnings['file_deny_htaccess'] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.file_deny_htaccess');
+                               $warnings['file_deny_htaccess'] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.file_deny_htaccess');
                        }
                        // Check if there are still updates to perform
                        if (!\TYPO3\CMS\Core\Utility\GeneralUtility::compat_version(TYPO3_branch)) {
                                $url = 'install/index.php?redirect_url=index.php' . urlencode('?TYPO3_INSTALL[type]=update');
-                               $warnings['install_update'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.install_update'), '<a href="' . $url . '">', '</a>');
+                               $warnings['install_update'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.install_update'), '<a href="' . $url . '">', '</a>');
                        }
                        // Check if sys_refindex is empty
                        $count = $GLOBALS['TYPO3_DB']->exec_SELECTcountRows('*', 'sys_refindex');
@@ -3852,7 +3852,7 @@ class BackendUtility {
                        $lastRefIndexUpdate = $registry->get('core', 'sys_refindex_lastUpdate');
                        if (!$count && $lastRefIndexUpdate) {
                                $url =  \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl('tools_dbint') . '&id=0&SET[function]=refindex';
-                               $warnings['backend_reference'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.backend_reference_index'), '<a href="' . $url . '">', '</a>', self::dateTime($lastRefIndexUpdate));
+                               $warnings['backend_reference'] = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.backend_reference_index'), '<a href="' . $url . '">', '</a>', self::dateTime($lastRefIndexUpdate));
                        }
                        // Check for memcached if configured
                        $memCacheUse = FALSE;
@@ -3899,7 +3899,7 @@ class BackendUtility {
                                                }
                                        }
                                        if (count($failed) > 0) {
-                                               $warnings['memcached'] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.memcache_not_usable') . '<br/>' . implode(', ', $failed);
+                                               $warnings['memcached'] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.memcache_not_usable') . '<br/>' . implode(', ', $failed);
                                        }
                                }
                        }
@@ -3918,7 +3918,7 @@ class BackendUtility {
                                } else {
                                        $securityWarnings = '<p>' . implode('', $warnings) . '</p>';
                                }
-                               $securityMessage = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Messaging\\FlashMessage', $securityWarnings, $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.header'), \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR);
+                               $securityMessage = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Messaging\\FlashMessage', $securityWarnings, $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:warning.header'), \TYPO3\CMS\Core\Messaging\FlashMessage::ERROR);
                                $content = '<div style="margin: 20px 0px;">' . $securityMessage->render() . '</div>';
                                unset($warnings);
                                return $content;
index 6766edf..79acad1 100644 (file)
@@ -304,7 +304,7 @@ class ModuleMenuView {
         * @return string Html code snippet displaying the logout button
         */
        public function renderLogoutButton() {
-               $buttonLabel = $GLOBALS['BE_USER']->user['ses_backuserid'] ? 'LLL:EXT:lang/locallang_core.php:buttons.exit' : 'LLL:EXT:lang/locallang_core.php:buttons.logout';
+               $buttonLabel = $GLOBALS['BE_USER']->user['ses_backuserid'] ? 'LLL:EXT:lang/locallang_core.xlf:buttons.exit' : 'LLL:EXT:lang/locallang_core.xlf:buttons.logout';
                $buttonForm = '
                <form action="logout.php" target="_top">
                        <input type="submit" value="&nbsp;' . $GLOBALS['LANG']->sL($buttonLabel, 1) . '&nbsp;" />
index 3574642..4387559 100644 (file)
@@ -1156,7 +1156,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                                }
                                // Delete
                                $params = '&cmd[tt_content][' . $row['uid'] . '][delete]=1';
-                               $confirm = $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->getLL('deleteWarning') . \TYPO3\CMS\Backend\Utility\BackendUtility::translationCount('tt_content', $row['uid'], (' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.translationsOfRecord'))));
+                               $confirm = $GLOBALS['LANG']->JScharCode($GLOBALS['LANG']->getLL('deleteWarning') . \TYPO3\CMS\Backend\Utility\BackendUtility::translationCount('tt_content', $row['uid'], (' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.translationsOfRecord'))));
                                $out .= '<a href="' . htmlspecialchars($GLOBALS['SOBE']->doc->issueCommand($params)) . '" onclick="' . htmlspecialchars(('return confirm(' . $confirm . ');')) . '" title="' . $GLOBALS['LANG']->getLL('deleteItem', TRUE) . '">' . \TYPO3\CMS\Backend\Utility\IconUtility::getSpriteIcon('actions-edit-delete') . '</a>';
                                if (!$disableMoveAndNewButtons) {
                                        $moveButtonContent = '';
@@ -1230,7 +1230,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                        $this->getProcessedValue('tt_content', 'header_position,header_layout,header_link', $row, $infoArr);
                        // If header layout is set to 'hidden', display an accordant note:
                        if ($row['header_layout'] == 100) {
-                               $hiddenHeaderNote = ' <em>[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.hidden', TRUE) . ']</em>';
+                               $hiddenHeaderNote = ' <em>[' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.hidden', TRUE) . ']</em>';
                        }
                        $outHeader = ($row['date'] ? htmlspecialchars(($this->itemLabels['date'] . ' ' . \TYPO3\CMS\Backend\Utility\BackendUtility::date($row['date']))) . '<br />' : '') . '<strong>' . $this->linkEditContent($this->renderText($row['header']), $row) . $hiddenHeaderNote . '</strong><br />';
                }
@@ -1339,7 +1339,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                                        if (!empty($label)) {
                                                $out .=  '<strong>' . $GLOBALS['LANG']->sL($label, TRUE) . '</strong><br />';
                                        } else {
-                                               $message = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.noMatchingValue'), $row['list_type']);
+                                               $message = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.noMatchingValue'), $row['list_type']);
                                                $out .= \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Messaging\\FlashMessage', htmlspecialchars($message), '', \TYPO3\CMS\Core\Messaging\FlashMessage::WARNING)->render();
                                        }
                                } elseif (!empty($row['select_key'])) {
@@ -1363,7 +1363,7 @@ class PageLayoutView extends \TYPO3\CMS\Recordlist\RecordList\AbstractDatabaseRe
                                                $out .= $this->linkEditContent($this->renderText($row['bodytext']), $row) . '<br />';
                                        }
                                } else {
-                                       $message = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.noMatchingValue'), $row['CType']);
+                                       $message = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xlf:labels.noMatchingValue'), $row['CType']);
                                        $out .= \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Messaging\\FlashMessage', htmlspecialchars($message), '', \TYPO3\CMS\Core\Messaging\FlashMessage::WARNING)->render();
                                }
                                break;
index 51c4102..fa2ee2e 100644 (file)
                                        <f:if condition="{constraint.timeFrame} == 30">
                                                <br />
 
-                                               <label for="tceforms-datetimefield-manualDateStart"><f:translate key="LLL:EXT:lang/locallang_common.xml:from" /></label>&nbsp;
+                                               <label for="tceforms-datetimefield-manualDateStart"><f:translate key="LLL:EXT:lang/locallang_common.xlf:from" /></label>&nbsp;
                                                <f:form.textfield
                                                        property="manualDateStart"
                                                        value="{constraint.manualDateStart -> f:format.date(format:'{settings.dateFormat} {settings.timeFormat}')}"
                                                        &nbsp;
                                                </span>
 
-                                               <label for="tceforms-datetimefield-manualDateStop"><f:translate key="LLL:EXT:lang/locallang_common.xml:to" /></label>&nbsp;
+                                               <label for="tceforms-datetimefield-manualDateStop"><f:translate key="LLL:EXT:lang/locallang_common.xlf:to" /></label>&nbsp;
                                                <f:form.textfield
                                                        property="manualDateStop"
                                                        value="{constraint.manualDateStop -> f:format.date(format:'{settings.dateFormat} {settings.timeFormat}')}"
index b23d97e..0843000 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 return array(
        'ctrl' => array(
-               'title' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout',
+               'title' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout',
                'label' => 'title',
                'tstamp' => 'tstamp',
                'crdate' => 'crdate',
@@ -23,7 +23,7 @@ return array(
        ),
        'columns' => array(
                'title' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout.title',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.title',
                        'config' => array(
                                'type' => 'input',
                                'size' => '25',
@@ -32,7 +32,7 @@ return array(
                        )
                ),
                'description' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout.description',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.description',
                        'config' => array(
                                'type' => 'text',
                                'rows' => '5',
@@ -40,7 +40,7 @@ return array(
                        )
                ),
                'config' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout.config',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.config',
                        'config' => array(
                                'type' => 'text',
                                'rows' => '5',
@@ -48,7 +48,7 @@ return array(
                                'wizards' => array(
                                        '_PADDING' => 4,
                                        0 => array(
-                                               'title' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout.wizard',
+                                               'title' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.wizard',
                                                'type' => 'popup',
                                                'icon' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('cms') . 'layout/wizard_backend_layout.png',
                                                'script' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('cms') . 'layout/wizard_backend_layout.php',
@@ -58,7 +58,7 @@ return array(
                        )
                ),
                'hidden' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
                        'exclude' => 1,
                        'config' => array(
                                'type' => 'check',
@@ -66,7 +66,7 @@ return array(
                        )
                ),
                'icon' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:backend_layout.icon',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:backend_layout.icon',
                        'exclude' => 1,
                        'config' => array(
                                'type' => 'group',
index d9383c6..ee40e06 100644 (file)
@@ -6,11 +6,11 @@ return array(
                'crdate' => 'crdate',
                'cruser_id' => 'cruser_id',
                'delete' => 'deleted',
-               'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy',
+               'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
                'enablecolumns' => array(
                        'disabled' => 'hidden'
                ),
-               'title' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups',
+               'title' => 'LLL:EXT:cms/locallang_tca.xlf:fe_groups',
                'typeicon_classes' => array(
                        'default' => 'status-user-group-frontend'
                ),
@@ -23,7 +23,7 @@ return array(
        ),
        'columns' => array(
                'hidden' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
                        'exclude' => 1,
                        'config' => array(
                                'type' => 'check',
@@ -31,7 +31,7 @@ return array(
                        )
                ),
                'title' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups.title',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_groups.title',
                        'config' => array(
                                'type' => 'input',
                                'size' => '20',
@@ -41,7 +41,7 @@ return array(
                ),
                'subgroup' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups.subgroup',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_groups.subgroup',
                        'config' => array(
                                'type' => 'select',
                                'foreign_table' => 'fe_groups',
@@ -54,7 +54,7 @@ return array(
                ),
                'lockToDomain' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups.lockToDomain',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_groups.lockToDomain',
                        'config' => array(
                                'type' => 'input',
                                'size' => '20',
@@ -63,7 +63,7 @@ return array(
                        )
                ),
                'description' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.description',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.description',
                        'config' => array(
                                'type' => 'text',
                                'rows' => 5,
@@ -94,8 +94,8 @@ return array(
        'types' => array(
                '0' => array('showitem' => '
                        hidden;;;;1-1-1,title;;;;2-2-2,description,subgroup;;;;3-3-3,
-                       --div--;LLL:EXT:cms/locallang_tca.xml:fe_groups.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2,
-                       --div--;LLL:EXT:cms/locallang_tca.xml:fe_groups.tabs.extended
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_groups.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2,
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_groups.tabs.extended
                ')
        )
 );
index 5b35189..670f4b0 100644 (file)
@@ -7,7 +7,7 @@ return array(
                'crdate' => 'crdate',
                'cruser_id' => 'cruser_id',
                'fe_cruser_id' => 'fe_cruser_id',
-               'title' => 'LLL:EXT:cms/locallang_tca.xml:fe_users',
+               'title' => 'LLL:EXT:cms/locallang_tca.xlf:fe_users',
                'delete' => 'deleted',
                'enablecolumns' => array(
                        'disabled' => 'disable',
@@ -29,7 +29,7 @@ return array(
        ),
        'columns' => array(
                'username' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_users.username',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_users.username',
                        'config' => array(
                                'type' => 'input',
                                'size' => '20',
@@ -38,7 +38,7 @@ return array(
                        )
                ),
                'password' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_users.password',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_users.password',
                        'config' => array(
                                'type' => 'input',
                                'size' => '10',
@@ -47,7 +47,7 @@ return array(
                        )
                ),
                'usergroup' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_users.usergroup',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_users.usergroup',
                        'config' => array(
                                'type' => 'select',
                                'foreign_table' => 'fe_groups',
@@ -59,7 +59,7 @@ return array(
                ),
                'lockToDomain' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:fe_users.lockToDomain',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:fe_users.lockToDomain',
                        'config' => array(
                                'type' => 'input',
                                'size' => '20',
@@ -70,7 +70,7 @@ return array(
                ),
                'name' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.name',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.name',
                        'config' => array(
                                'type' => 'input',
                                'size' => '40',
@@ -80,7 +80,7 @@ return array(
                ),
                'first_name' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.first_name',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.first_name',
                        'config' => array(
                                'type' => 'input',
                                'size' => '25',
@@ -90,7 +90,7 @@ return array(
                ),
                'middle_name' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.middle_name',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.middle_name',
                        'config' => array(
                                'type' => 'input',
                                'size' => '25',
@@ -100,7 +100,7 @@ return array(
                ),
                'last_name' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.last_name',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.last_name',
                        'config' => array(
                                'type' => 'input',
                                'size' => '25',
@@ -110,7 +110,7 @@ return array(
                ),
                'address' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.address',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.address',
                        'config' => array(
                                'type' => 'text',
                                'cols' => '20',
@@ -119,7 +119,7 @@ return array(
                ),
                'telephone' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.phone',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.phone',
                        'config' => array(
                                'type' => 'input',
                                'eval' => 'trim',
@@ -129,7 +129,7 @@ return array(
                ),
                'fax' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fax',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.fax',
                        'config' => array(
                                'type' => 'input',
                                'size' => '20',
@@ -139,7 +139,7 @@ return array(
                ),
                'email' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.email',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.email',
                        'config' => array(
                                'type' => 'input',
                                'size' => '20',
@@ -149,7 +149,7 @@ return array(
                ),
                'title' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.title_person',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.title_person',
                        'config' => array(
                                'type' => 'input',
                                'size' => '20',
@@ -159,7 +159,7 @@ return array(
                ),
                'zip' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.zip',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.zip',
                        'config' => array(
                                'type' => 'input',
                                'eval' => 'trim',
@@ -169,7 +169,7 @@ return array(
                ),
                'city' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.city',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.city',
                        'config' => array(
                                'type' => 'input',
                                'size' => '20',
@@ -179,7 +179,7 @@ return array(
                ),
                'country' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.country',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.country',
                        'config' => array(
                                'type' => 'input',
                                'size' => '20',
@@ -189,7 +189,7 @@ return array(
                ),
                'www' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.www',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.www',
                        'config' => array(
                                'type' => 'input',
                                'eval' => 'trim',
@@ -199,7 +199,7 @@ return array(
                ),
                'company' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.company',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.company',
                        'config' => array(
                                'type' => 'input',
                                'eval' => 'trim',
@@ -209,7 +209,7 @@ return array(
                ),
                'image' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.image',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.image',
                        'config' => array(
                                'type' => 'group',
                                'internal_type' => 'file',
@@ -224,14 +224,14 @@ return array(
                ),
                'disable' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
                        'config' => array(
                                'type' => 'check'
                        )
                ),
                'starttime' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
                        'config' => array(
                                'type' => 'input',
                                'size' => '13',
@@ -242,7 +242,7 @@ return array(
                ),
                'endtime' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
                        'config' => array(
                                'type' => 'input',
                                'size' => '13',
@@ -276,7 +276,7 @@ return array(
                ),
                'lastlogin' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.lastlogin',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.lastlogin',
                        'config' => array(
                                'type' => 'input',
                                'readOnly' => '1',
@@ -289,10 +289,10 @@ return array(
        'types' => array(
                '0' => array('showitem' => '
                        disable,username;;;;1-1-1, password, usergroup, lastlogin;;;;1-1-1,
-                       --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.personelData, company;;1;;1-1-1, name;;2;;2-2-2, address, zip, city, country, telephone, fax, email, www, image;;;;2-2-2,
-                       --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2,
-                       --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.access, starttime, endtime,
-                       --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.extended
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.personelData, company;;1;;1-1-1, name;;2;;2-2-2, address, zip, city, country, telephone, fax, email, www, image;;;;2-2-2,
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.options, lockToDomain;;;;1-1-1, TSconfig;;;;2-2-2,
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.access, starttime, endtime,
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:fe_users.tabs.extended
 
                ')
        ),
index 4e26031..f630d12 100644 (file)
@@ -3,7 +3,7 @@ return array(
        'ctrl' => array(
                'label' => 'title',
                'tstamp' => 'tstamp',
-               'title' => 'LLL:EXT:cms/locallang_tca.xml:pages_language_overlay',
+               'title' => 'LLL:EXT:cms/locallang_tca.xlf:pages_language_overlay',
                'versioningWS' => TRUE,
                'versioning_followPages' => TRUE,
                'origUid' => 't3_origuid',
@@ -35,20 +35,20 @@ return array(
                'doktype' => $GLOBALS['TCA']['pages']['columns']['doktype'],
                'hidden' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.hidden',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.hidden',
                        'config' => array(
                                'type' => 'check',
                                'default' => '0',
                                'items' => array(
                                        '1' => array(
-                                               '0' => 'LLL:EXT:cms/locallang_tca.xml:pages.hidden_checkbox_1_formlabel'
+                                               '0' => 'LLL:EXT:cms/locallang_tca.xlf:pages.hidden_checkbox_1_formlabel'
                                        )
                                )
                        )
                ),
                'starttime' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
                        'config' => array(
                                'type' => 'input',
                                'size' => '13',
@@ -59,7 +59,7 @@ return array(
                ),
                'endtime' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
                        'config' => array(
                                'type' => 'input',
                                'size' => '13',
@@ -159,7 +159,7 @@ return array(
                ),
                'url' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.url',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.url',
                        'config' => array(
                                'type' => 'input',
                                'size' => '23',
@@ -170,7 +170,7 @@ return array(
                ),
                'urltype' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.type',
                        'config' => array(
                                'type' => 'select',
                                'items' => $GLOBALS['TCA']['pages']['columns']['urltype']['config']['items'],
@@ -178,7 +178,7 @@ return array(
                        )
                ),
                'shortcut' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.shortcut_page',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.shortcut_page',
                        'config' => array(
                                'type' => 'group',
                                'internal_type' => 'db',
@@ -196,7 +196,7 @@ return array(
                ),
                'shortcut_mode' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_mode',
                        'config' => array(
                                'type' => 'select',
                                'items' => $GLOBALS['TCA']['pages']['columns']['shortcut_mode']['config']['items'],
@@ -204,20 +204,20 @@ return array(
                        )
                ),
                'sys_language_uid' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
                        'config' => array(
                                'type' => 'select',
                                'foreign_table' => 'sys_language',
                                'foreign_table_where' => 'ORDER BY sys_language.title',
                                'items' => array(
-                                       array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0)
+                                       array('LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0)
                                )
                        )
                ),
                'tx_impexp_origuid' => array('config' => array('type' => 'passthrough')),
                'l18n_diffsource' => array('config' => array('type' => 'passthrough')),
                't3ver_label' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.versionLabel',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
                        'config' => array(
                                'type' => 'input',
                                'size' => '30',
@@ -228,149 +228,149 @@ return array(
        'types' => array(
                // normal
                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT => array(
-                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.abstract;abstract,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.metatags;metatags,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.editorial;editorial,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
+                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.metatags;metatags,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
                '
                ),
                // external URL
                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_LINK => array(
-                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.external;external,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.abstract;abstract,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.editorial;editorial,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
+                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.external;external,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
                '
                ),
                // shortcut
                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SHORTCUT => array(
-                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.shortcut;shortcut,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.shortcutpage;shortcutpage,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.abstract;abstract,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.editorial;editorial,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
+                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.shortcut;shortcut,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.shortcutpage;shortcutpage,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
                                '
                ),
                // mount page
                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_MOUNTPOINT => array(
-                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;title,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.metadata,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.abstract;abstract,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.editorial;editorial,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
+                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;title,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.metadata,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.abstract;abstract,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.editorial;editorial,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
                '
                ),
                // spacer
                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SPACER => array(
-                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;titleonly,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.access;access,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
+                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.access;access,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
                        '
                ),
                // sysfolder
                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_SYSFOLDER => array(
-                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;titleonly,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.resources,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.media;media,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
+                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.resources,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.media;media,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
                '
                ),
                // trash
                (string)\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_RECYCLER => array(
-                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.standard;standard,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.title;titleonly,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.access,
-                                       --palette--;LLL:EXT:cms/locallang_tca.xml:pages.palettes.visibility;hiddenonly,
-                               --div--;LLL:EXT:cms/locallang_tca.xml:pages.tabs.extended,
+                       'showitem' => '--palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.standard;standard,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.title;titleonly,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.access,
+                                       --palette--;LLL:EXT:cms/locallang_tca.xlf:pages.palettes.visibility;hiddenonly,
+                               --div--;LLL:EXT:cms/locallang_tca.xlf:pages.tabs.extended,
                '
                )
        ),
        'palettes' => array(
                '5' => array('showitem' => 'author,author_email', 'canNotCollapse' => TRUE),
                'standard' => array(
-                       'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xml:pages.doktype_formlabel, sys_language_uid',
+                       'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel, sys_language_uid',
                        'canNotCollapse' => 1
                ),
                'shortcut' => array(
-                       'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xml:pages.doktype_formlabel, sys_language_uid, shortcut_mode;LLL:EXT:cms/locallang_tca.xml:pages.shortcut_mode_formlabel',
+                       'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel, sys_language_uid, shortcut_mode;LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_mode_formlabel',
                        'canNotCollapse' => 1
                ),
                'shortcutpage' => array(
-                       'showitem' => 'shortcut;LLL:EXT:cms/locallang_tca.xml:pages.shortcut_formlabel',
+                       'showitem' => 'shortcut;LLL:EXT:cms/locallang_tca.xlf:pages.shortcut_formlabel',
                        'canNotCollapse' => 1
                ),
                'external' => array(
-                       'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xml:pages.doktype_formlabel, sys_language_uid, urltype;LLL:EXT:cms/locallang_tca.xml:pages.urltype_formlabel, url;LLL:EXT:cms/locallang_tca.xml:pages.url_formlabel',
+                       'showitem' => 'doktype;LLL:EXT:cms/locallang_tca.xlf:pages.doktype_formlabel, sys_language_uid, urltype;LLL:EXT:cms/locallang_tca.xlf:pages.urltype_formlabel, url;LLL:EXT:cms/locallang_tca.xlf:pages.url_formlabel',
                        'canNotCollapse' => 1
                ),
                'title' => array(
-                       'showitem' => 'title;LLL:EXT:cms/locallang_tca.xml:pages.title_formlabel, --linebreak--, nav_title;LLL:EXT:cms/locallang_tca.xml:pages.nav_title_formlabel, --linebreak--, subtitle;LLL:EXT:cms/locallang_tca.xml:pages.subtitle_formlabel',
+                       'showitem' => 'title;LLL:EXT:cms/locallang_tca.xlf:pages.title_formlabel, --linebreak--, nav_title;LLL:EXT:cms/locallang_tca.xlf:pages.nav_title_formlabel, --linebreak--, subtitle;LLL:EXT:cms/locallang_tca.xlf:pages.subtitle_formlabel',
                        'canNotCollapse' => 1
                ),
                'titleonly' => array(
-                       'showitem' => 'title;LLL:EXT:cms/locallang_tca.xml:pages.title_formlabel',
+                       'showitem' => 'title;LLL:EXT:cms/locallang_tca.xlf:pages.title_formlabel',
                        'canNotCollapse' => 1
                ),
                'hiddenonly' => array(
-                       'showitem' => 'hidden;LLL:EXT:cms/locallang_tca.xml:pages.hidden_formlabel',
+                       'showitem' => 'hidden;LLL:EXT:cms/locallang_tca.xlf:pages.hidden_formlabel',
                        'canNotCollapse' => 1
                ),
                'access' => array(
-                       'showitem' => 'starttime;LLL:EXT:cms/locallang_tca.xml:pages.starttime_formlabel, endtime;LLL:EXT:cms/locallang_tca.xml:pages.endtime_formlabel',
+                       'showitem' => 'starttime;LLL:EXT:cms/locallang_tca.xlf:pages.starttime_formlabel, endtime;LLL:EXT:cms/locallang_tca.xlf:pages.endtime_formlabel',
                        'canNotCollapse' => 1
                ),
                'abstract' => array(
-                       'showitem' => 'abstract;LLL:EXT:cms/locallang_tca.xml:pages.abstract_formlabel',
+                       'showitem' => 'abstract;LLL:EXT:cms/locallang_tca.xlf:pages.abstract_formlabel',
                        'canNotCollapse' => 1
                ),
                'metatags' => array(
-                       'showitem' => 'keywords;LLL:EXT:cms/locallang_tca.xml:pages.keywords_formlabel, --linebreak--, description;LLL:EXT:cms/locallang_tca.xml:pages.description_formlabel',
+                       'showitem' => 'keywords;LLL:EXT:cms/locallang_tca.xlf:pages.keywords_formlabel, --linebreak--, description;LLL:EXT:cms/locallang_tca.xlf:pages.description_formlabel',
                        'canNotCollapse' => 1
                ),
                'editorial' => array(
-                       'showitem' => 'author;LLL:EXT:cms/locallang_tca.xml:pages.author_formlabel, author_email;LLL:EXT:cms/locallang_tca.xml:pages.author_email_formlabel',
+                       'showitem' => 'author;LLL:EXT:cms/locallang_tca.xlf:pages.author_formlabel, author_email;LLL:EXT:cms/locallang_tca.xlf:pages.author_email_formlabel',
                        'canNotCollapse' => 1
                ),
                'language' => array(
-                       'showitem' => 'l18n_cfg;LLL:EXT:cms/locallang_tca.xml:pages.l18n_cfg_formlabel',
+                       'showitem' => 'l18n_cfg;LLL:EXT:cms/locallang_tca.xlf:pages.l18n_cfg_formlabel',
                        'canNotCollapse' => 1
                ),
                'media' => array(
-                       'showitem' => 'media;LLL:EXT:cms/locallang_tca.xml:pages.media_formlabel',
+                       'showitem' => 'media;LLL:EXT:cms/locallang_tca.xlf:pages.media_formlabel',
                        'canNotCollapse' => 1
                )
        )
index 5d4e6bf..5da8b3c 100644 (file)
@@ -6,7 +6,7 @@ return array(
                'crdate' => 'crdate',
                'cruser_id' => 'cruser_id',
                'sortby' => 'sorting',
-               'title' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain',
+               'title' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain',
                'iconfile' => 'domain.gif',
                'enablecolumns' => array(
                        'disabled' => 'hidden'
@@ -21,7 +21,7 @@ return array(
        ),
        'columns' => array(
                'domainName' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.domainName',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain.domainName',
                        'config' => array(
                                'type' => 'input',
                                'size' => '35',
@@ -31,7 +31,7 @@ return array(
                        )
                ),
                'redirectTo' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectTo',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectTo',
                        'config' => array(
                                'type' => 'input',
                                'size' => '35',
@@ -43,21 +43,21 @@ return array(
                ),
                'redirectHttpStatusCode' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectHttpStatusCode',
                        'config' => array(
                                'type' => 'select',
                                'items' => array(
-                                       array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.301', '301'),
-                                       array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.302', '302'),
-                                       array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.303', '303'),
-                                       array('LLL:EXT:cms/locallang_tca.xml:sys_domain.redirectHttpStatusCode.307', '307')
+                                       array('LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.301', '301'),
+                                       array('LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.302', '302'),
+                                       array('LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.303', '303'),
+                                       array('LLL:EXT:cms/locallang_tca.xlf:sys_domain.redirectHttpStatusCode.307', '307')
                                ),
                                'size' => 1,
                                'maxitems' => 1
                        )
                ),
                'hidden' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
                        'exclude' => 1,
                        'config' => array(
                                'type' => 'check',
@@ -65,7 +65,7 @@ return array(
                        )
                ),
                'prepend_params' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.prepend_params',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain.prepend_params',
                        'exclude' => 1,
                        'config' => array(
                                'type' => 'check',
@@ -73,7 +73,7 @@ return array(
                        )
                ),
                'forced' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_domain.forced',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_domain.forced',
                        'exclude' => 1,
                        'config' => array(
                                'type' => 'check',
index c1ae639..128a528 100644 (file)
@@ -4,8 +4,8 @@ return array(
                'label' => 'title',
                'tstamp' => 'tstamp',
                'sortby' => 'sorting',
-               'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy',
-               'title' => 'LLL:EXT:cms/locallang_tca.xml:sys_template',
+               'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
+               'title' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template',
                'versioningWS' => TRUE,
                'origUid' => 't3_origuid',
                'crdate' => 'crdate',
@@ -35,7 +35,7 @@ return array(
        ),
        'columns' => array(
                'title' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.title',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.title',
                        'config' => array(
                                'type' => 'input',
                                'size' => '25',
@@ -44,7 +44,7 @@ return array(
                        )
                ),
                'hidden' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.disable',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.disable',
                        'exclude' => 1,
                        'config' => array(
                                'type' => 'check',
@@ -52,7 +52,7 @@ return array(
                        )
                ),
                'starttime' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
                        'exclude' => 1,
                        'config' => array(
                                'type' => 'input',
@@ -63,7 +63,7 @@ return array(
                        )
                ),
                'endtime' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
                        'exclude' => 1,
                        'config' => array(
                                'type' => 'input',
@@ -77,13 +77,13 @@ return array(
                        )
                ),
                'root' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.root',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.root',
                        'config' => array(
                                'type' => 'check'
                        )
                ),
                'clear' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.clear',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.clear',
                        'config' => array(
                                'type' => 'check',
                                'items' => array(
@@ -94,7 +94,7 @@ return array(
                        )
                ),
                'sitetitle' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.sitetitle',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.sitetitle',
                        'config' => array(
                                'type' => 'input',
                                'size' => '25',
@@ -102,7 +102,7 @@ return array(
                        )
                ),
                'constants' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.constants',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.constants',
                        'config' => array(
                                'type' => 'text',
                                'cols' => '48',
@@ -113,7 +113,7 @@ return array(
                        'defaultExtras' => 'fixed-font : enable-tab'
                ),
                'nextLevel' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.nextLevel',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.nextLevel',
                        'config' => array(
                                'type' => 'group',
                                'internal_type' => 'db',
@@ -131,7 +131,7 @@ return array(
                        )
                ),
                'include_static_file' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.include_static_file',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.include_static_file',
                        'config' => array(
                                'type' => 'select',
                                'size' => 10,
@@ -141,7 +141,7 @@ return array(
                        )
                ),
                'basedOn' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.basedOn',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.basedOn',
                        'config' => array(
                                'type' => 'group',
                                'internal_type' => 'db',
@@ -168,7 +168,7 @@ return array(
                                        ),
                                        'add' => array(
                                                'type' => 'script',
-                                               'title' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.basedOn_add',
+                                               'title' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.basedOn_add',
                                                'icon' => 'add.gif',
                                                'params' => array(
                                                        'table' => 'sys_template',
@@ -181,7 +181,7 @@ return array(
                        )
                ),
                'includeStaticAfterBasedOn' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.includeStaticAfterBasedOn',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.includeStaticAfterBasedOn',
                        'exclude' => 1,
                        'config' => array(
                                'type' => 'check',
@@ -189,7 +189,7 @@ return array(
                        )
                ),
                'config' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.config',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.config',
                        'config' => array(
                                'type' => 'text',
                                'rows' => 10,
@@ -209,7 +209,7 @@ return array(
                        'defaultExtras' => 'fixed-font : enable-tab'
                ),
                'description' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.description',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.description',
                        'config' => array(
                                'type' => 'text',
                                'rows' => 5,
@@ -217,21 +217,21 @@ return array(
                        )
                ),
                'static_file_mode' => array(
-                       'label' => 'LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode',
+                       'label' => 'LLL:EXT:cms/locallang_tca.xlf:sys_template.static_file_mode',
                        'config' => array(
                                'type' => 'select',
                                'items' => array(
-                                       array('LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode.0', '0'),
-                                       array('LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode.1', '1'),
-                                       array('LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode.2', '2'),
-                                       array('LLL:EXT:cms/locallang_tca.xml:sys_template.static_file_mode.3', '3')
+                                       array('LLL:EXT:cms/locallang_tca.xlf:sys_template.static_file_mode.0', '0'),
+                                       array('LLL:EXT:cms/locallang_tca.xlf:sys_template.static_file_mode.1', '1'),
+                                       array('LLL:EXT:cms/locallang_tca.xlf:sys_template.static_file_mode.2', '2'),
+                                       array('LLL:EXT:cms/locallang_tca.xlf:sys_template.static_file_mode.3', '3')
                                ),
                                'default' => '0'
                        )
                ),
                'tx_impexp_origuid' => array('config' => array('type' => 'passthrough')),
                't3ver_label' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.versionLabel',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
                        'config' => array(
                                'type' => 'input',
                                'size' => '30',
@@ -242,9 +242,9 @@ return array(
        'types' => array(
                '1' => array('showitem' => '
                        hidden,title;;1;;2-2-2, sitetitle, constants;;;;3-3-3, config, description;;;;4-4-4,
-                       --div--;LLL:EXT:cms/locallang_tca.xml:sys_template.tabs.options, clear, root, nextLevel,
-                       --div--;LLL:EXT:cms/locallang_tca.xml:sys_template.tabs.include, includeStaticAfterBasedOn,6-6-6, include_static_file, basedOn, static_file_mode,
-                       --div--;LLL:EXT:cms/locallang_tca.xml:sys_template.tabs.access, starttime, endtime')
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:sys_template.tabs.options, clear, root, nextLevel,
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:sys_template.tabs.include, includeStaticAfterBasedOn,6-6-6, include_static_file, basedOn, static_file_mode,
+                       --div--;LLL:EXT:cms/locallang_tca.xlf:sys_template.tabs.access, starttime, endtime')
        )
 );
 ?>
\ No newline at end of file
index eedd700..5eed81b 100644 (file)
@@ -7,14 +7,14 @@ return array(
                'tstamp' => 'tstamp',
                'crdate' => 'crdate',
                'cruser_id' => 'cruser_id',
-               'title' => 'LLL:EXT:cms/locallang_tca.xml:tt_content',
+               'title' => 'LLL:EXT:cms/locallang_tca.xlf:tt_content',
                'delete' => 'deleted',
                'versioningWS' => 2,
                'versioning_followPages' => TRUE,
                'origUid' => 't3_origuid',
                'type' => 'CType',
                'hideAtCopy' => TRUE,
-               'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xml:LGL.prependAtCopy',
+               'prependAtCopy' => 'LLL:EXT:lang/locallang_general.xlf:LGL.prependAtCopy',
                'copyAfterDuplFields' => 'colPos,sys_language_uid',
                'useColumnsForDefaultValues' => 'colPos,sys_language_uid',
                'shadowColumnsForNewPlaceholders' => 'colPos',
@@ -79,7 +79,7 @@ return array(
        ),
        'columns' => array(
                'CType' => array(
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.type',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.type',
                        'config' => array(
                                'type' => 'select',
                                'items' => array(
@@ -189,7 +189,7 @@ return array(
                ),
                'hidden' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
                        'config' => array(
                                'type' => 'check',
                                'items' => array(
@@ -201,7 +201,7 @@ return array(
                ),
                'starttime' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.starttime',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
                        'config' => array(
                                'type' => 'input',
                                'size' => '13',
@@ -214,7 +214,7 @@ return array(
                ),
                'endtime' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.endtime',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
                        'config' => array(
                                'type' => 'input',
                                'size' => '13',
@@ -230,22 +230,22 @@ return array(
                ),
                'fe_group' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.fe_group',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.fe_group',
                        'config' => array(
                                'type' => 'select',
                                'size' => 5,
                                'maxitems' => 20,
                                'items' => array(
                                        array(
-                                               'LLL:EXT:lang/locallang_general.xml:LGL.hide_at_login',
+                                               'LLL:EXT:lang/locallang_general.xlf:LGL.hide_at_login',
                                                -1
                                        ),
                                        array(
-                                               'LLL:EXT:lang/locallang_general.xml:LGL.any_login',
+                                               'LLL:EXT:lang/locallang_general.xlf:LGL.any_login',
                                                -2
                                        ),
                                        array(
-                                               'LLL:EXT:lang/locallang_general.xml:LGL.usergroups',
+                                               'LLL:EXT:lang/locallang_general.xlf:LGL.usergroups',
                                                '--div--'
                                        )
                                ),
@@ -256,18 +256,18 @@ return array(
                ),
                'sys_language_uid' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
                        'config' => array(
                                'type' => 'select',
                                'foreign_table' => 'sys_language',
                                'foreign_table_where' => 'ORDER BY sys_language.title',
                                'items' => array(
                                        array(
-                                               'LLL:EXT:lang/locallang_general.xml:LGL.allLanguages',
+                                               'LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages',
                                                -1
                                        ),
                                        array(
-                                               'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
+                                               'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
                                                0
                                        )
                                )
@@ -276,7 +276,7 @@ return array(
                'l18n_parent' => array(
                        'displayCond' => 'FIELD:sys_language_uid:>:0',
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.l18n_parent',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
                        'config' => array(
                                'type' => 'select',
                                'items' => array(
@@ -291,12 +291,12 @@ return array(
                ),
                'layout' => array(
                        'exclude' => 1,
-                       'label' => 'LLL:EXT:lang/locallang_general.xml:LGL.layout',
+                       'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.layout',
                        'config' => array(
                                'type' => 'select',
                                'items' => array(
                                        array(
-                                               'LLL:EXT:lang/locallang_general.xml:LGL.default_value',
+                                               'LLL:EXT:lang/locallang_general.xlf:LGL.default_value',
                                                '0'
                                        ),
                                        array(
@@ -327,7 +327,7 @@ return array(
                                                '1'
                                        ),
                &nbs