Fixed issue #12555: Removed db_layout configuration not supported on page 0
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 27 Jan 2011 00:38:44 +0000 (00:38 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 27 Jan 2011 00:38:44 +0000 (00:38 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/static_info_tables/trunk@42684 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
doc/manual.sxw
ext_localconf.php

index efabed6..7d38429 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@
        * Fixed issue #12531: Remove reference to extension patch1822
        * Updated Manual
        * Added missing files in SVN
+       * Fixed issue #12555: Removed db_layout configuration not supported on page 0
 
 2011-01-24  Stanislas Rolland  <typo3@sjbr.ca>
 
index 746de2c..c86cc4a 100644 (file)
Binary files a/doc/manual.sxw and b/doc/manual.sxw differ
index 8816d2d..58a3323 100644 (file)
@@ -73,90 +73,11 @@ if (t3lib_extMgm::isLoaded('static_info_tables_markets')) {
        );
 }
 
-if (isset($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][STATIC_INFO_TABLES_EXTkey]['tables']) && is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][STATIC_INFO_TABLES_EXTkey]['tables']))       {
-
+if (isset($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][STATIC_INFO_TABLES_EXTkey]['tables']) && is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][STATIC_INFO_TABLES_EXTkey]['tables'])) {
        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][STATIC_INFO_TABLES_EXTkey]['tables'] = array_merge ($labelTable, $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][STATIC_INFO_TABLES_EXTkey]['tables']);
 } else {
        $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][STATIC_INFO_TABLES_EXTkey]['tables'] = $labelTable;
 }
 
 require_once(t3lib_extMgm::extPath(STATIC_INFO_TABLES_EXTkey).'class.tx_staticinfotables_div.php');
-
-if (TYPO3_MODE == 'BE' && isset($_EXTCONF) && is_array($_EXTCONF) && $_EXTCONF['usePatch1822'] &&
-!defined($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['static_countries']['MENU'])) {
-       $tableArray = array('static_territories', 'static_countries', 'static_country_zones', 'static_currencies', 'static_languages');
-
-       foreach ($tableArray as $theTable)      {
-               $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['LLFile'][$theTable] = 'EXT:'.STATIC_INFO_TABLES_EXTkey.'/locallang.xml';
-               $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['page0'][$theTable] = TRUE;
-       }
-
-       $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['static_territories'] = array (
-               'default' => array(
-                       'MENU' => 'm_default',
-                       'fList' =>  'tr_name_en,tr_iso_nr,tr_parent_iso_nr',
-                       'icon' => TRUE
-               ),
-       );
-
-
-       if (t3lib_extMgm::isLoaded('static_info_tables_de'))    {
-               $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['static_territories']['langArray'] = array('de' => array('tr_name_en' => 'tr_name_de'));
-       }
-
-       $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['static_countries'] = array (
-               'default' => array(
-                       'MENU' => 'm_default',
-                       'fList' =>  'cn_short_en,cn_iso_2,cn_iso_3,cn_iso_nr,cn_parent_tr_iso_nr,cn_official_name_local,cn_capital',
-                       'icon' => TRUE
-               ),
-               'ext' => array(
-                       'MENU' => 'm_ext',
-                       'fList' =>  'cn_short_en,cn_tldomain,cn_currency_iso_3,cn_currency_iso_nr,cn_phone,cn_eu_member,cn_uno_member,cn_address_format,cn_zone_flag,cn_short_local,cn_official_name_en',
-                       'icon' => TRUE
-               )
-       );
-
-       if (t3lib_extMgm::isLoaded('static_info_tables_de'))    {
-               $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['static_countries']['langArray'] = array('de' => array('cn_short_en' => 'cn_short_de'));
-       }
-
-       $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['static_country_zones'] = array (
-               'default' => array(
-                       'MENU' => 'm_default',
-                       'fList' =>  'zn_name_local,zn_name_en,zn_country_iso_2,zn_country_iso_3,zn_country_iso_nr,zn_code',
-                       'icon' => TRUE
-               )
-       );
-
-       if (t3lib_extMgm::isLoaded('static_info_tables_de'))    {
-               $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['static_country_zones']['langArray'] = array('de' => array('zn_name_en' => 'zn_name_de'));
-       }
-
-       $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['static_currencies'] = array (
-               'default' => array(
-                       'MENU' => 'm_default',
-                       'fList' =>  'cu_name_en,cu_iso_3,cu_iso_nr,cu_symbol_left,cu_symbol_right,cu_thousands_point,cu_decimal_digits,cu_sub_name_en,cu_sub_divisor,cu_sub_symbol_left,cu_sub_symbol_right',
-                       'icon' => TRUE
-               )
-       );
-
-       if (t3lib_extMgm::isLoaded('static_info_tables_de'))    {
-               $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['static_currencies']['langArray'] = array('de' => array('cu_name_en' => 'cu_name_de', 'cu_sub_name_en' => 'cu_sub_name_de'));
-       }
-
-       $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['static_languages'] = array (
-               'default' => array(
-                       'MENU' => 'm_default',
-                       'fList' =>  'lg_name_en,lg_iso_2,lg_name_local,lg_typo3,lg_country_iso_2,lg_collate_locale,lg_sacred,lg_constructed',
-                       'icon' => TRUE
-               )
-       );
-
-       if (t3lib_extMgm::isLoaded('static_info_tables_de'))    {
-               $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cms']['db_layout']['addTables']['static_languages']['langArray'] = array('de' => array('lg_name_en' => 'lg_name_de'));
-       }
-
-}
-
 ?>
\ No newline at end of file