added feature #7566: Tabs for fe_user and fe_groups
authorIngo Renner <ingo.renner@typo3.org>
Tue, 19 Feb 2008 00:56:56 +0000 (00:56 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Tue, 19 Feb 2008 00:56:56 +0000 (00:56 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3219 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/ext_tables.php
typo3/sysext/cms/locallang_tca.xml
typo3/sysext/cms/tbl_cms.php

index e893e9d..2c5512f 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2008-02-19  Ingo Renner  <ingo@typo3.org>
 
-       * added featue #7580: Enable tabs for be_groups
+       * added feature #7580: Enable tabs for be_groups
+       * added feature #7566: Tabs for fe_user and fe_groups
 
 2008-02-18  Jeff Segars  <jeff@webempoweredchurch.org>
 
index c613b4f..98dcec1 100755 (executable)
@@ -666,10 +666,11 @@ $TCA['tt_content'] = array (
                        'div' => 'tt_content_div.gif',
                        'html' => 'tt_content_html.gif'
                ),
-               'mainpalette' => '1,15',
+               'mainpalette' => '15',
                'thumbnail' => 'image',
                'requestUpdate' => 'list_type,rte_enabled',
-               'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_tt_content.php'
+               'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_tt_content.php',
+               'dividers2tabs' => true
        )
 );
 
@@ -685,14 +686,14 @@ $TCA['fe_users'] = array (
                'fe_cruser_id' => 'fe_cruser_id',
                'title' => 'LLL:EXT:cms/locallang_tca.xml:fe_users',
                'delete' => 'deleted',
-               'mainpalette' => '1',
                'enablecolumns' => array (
                        'disabled' => 'disable',
                        'starttime' => 'starttime',
                        'endtime' => 'endtime'
                ),
                'useColumnsForDefaultValues' => 'usergroup,lockToDomain,disable,starttime,endtime',
-               'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
+               'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php',
+               'dividers2tabs' => true
        ),
        'feInterface' => array (
                'fe_admin_fieldList' => 'username,password,usergroup,name,address,telephone,fax,email,title,zip,city,country,www,company',
@@ -715,7 +716,8 @@ $TCA['fe_groups'] = array (
                ),
                'title' => 'LLL:EXT:cms/locallang_tca.xml:fe_groups',
                'useColumnsForDefaultValues' => 'lockToDomain',
-               'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php'
+               'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_cms.php',
+               'dividers2tabs' => true
        )
 );
 
index 4dfed52..f88eba4 100755 (executable)
                        <label index="pages.l18n_cfg.I.1">Hide default translation of page</label>
                        <label index="pages.l18n_cfg.I.2">Hide page if no translation for current language exists</label>
                        <label index="pages.l18n_cfg.I.2a">Show page even if no translation exists</label>
+                       <label index="pages.fe_login_mode">Login Mode:</label>
+                       <label index="pages.fe_login_mode.disable">Disable</label>
+                       <label index="pages.fe_login_mode.enable">Enable</label>
                        <label index="tt_content">Pagecontent</label>
                        <label index="fe_users">Website user</label>
                        <label index="fe_users.username">Username:</label>
                        <label index="fe_users.password">Password:</label>
                        <label index="fe_users.usergroup">Groups:</label>
                        <label index="fe_users.lockToDomain">Lock to domain:</label>
+                       <label index="fe_users.tabs.personelData">Personal Data</label>
+                       <label index="fe_users.tabs.access">Access</label>
+                       <label index="fe_users.tabs.options">Options</label>
+                       <label index="fe_users.tabs.extended">Extended</label>
                        <label index="fe_groups">Website usergroup</label>
                        <label index="fe_groups.title">Grouptitle:</label>
                        <label index="fe_groups.lockToDomain">Lock to domain:</label>
                        <label index="fe_groups.subgroup">Subgroups:</label>
+                       <label index="fe_groups.tabs.options">Options</label>
+                       <label index="fe_groups.tabs.extended">Extended</label>
                        <label index="sys_domain">Domain</label>
                        <label index="sys_domain.domainName">Domain:</label>
                        <label index="sys_domain.redirectTo">Redirect to:</label>
@@ -89,9 +98,6 @@
                        <label index="pages_language_overlay">Alternative Page Language</label>
                        <label index="sys_template">Template</label>
                        <label index="static_template">Static templates</label>
-                       <label index="pages.fe_login_mode">Login Mode:</label>
-                       <label index="pages.fe_login_mode.disable">Disable</label>
-                       <label index="pages.fe_login_mode.enable">Enable</label>
                </languageKey>
        </data>
 </T3locallang>
index ffd12d0..3e24b5e 100755 (executable)
@@ -71,7 +71,7 @@ $TCA['fe_users'] = Array (
                        'config' => Array (
                                'type' => 'select',
                                'foreign_table' => 'fe_groups',
-                               'size' => '3',
+                               'size' => '6',
                                'minitems' => '1',
                                'maxitems' => '50'
                        )
@@ -132,7 +132,7 @@ $TCA['fe_users'] = Array (
                        'label' => 'LLL:EXT:lang/locallang_general.php:LGL.email',
                        'config' => Array (
                                'type' => 'input',
-                               'size' => '40',
+                               'size' => '20',
                                'eval' => 'trim',
                                'max' => '80'
                        )
@@ -252,7 +252,7 @@ $TCA['fe_users'] = Array (
                        'config' => Array (
                                'type' => 'text',
                                'cols' => '40',
-                               'rows' => '5',
+                               'rows' => '10',
                                'wizards' => Array(
                                        '_PADDING' => 4,
                                        '0' => Array(
@@ -269,11 +269,17 @@ $TCA['fe_users'] = Array (
                )
        ),
        'types' => Array (
-               '0' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, lockToDomain, --div--, name;;2;;3-3-3, address, zip, city, country, telephone, fax, email, www, image;;;;4-4-4, --div--, TSconfig;;;;5-5-5')
+               '0' => Array('showitem' => '
+                       disable,username;;;;1-1-1, password, usergroup,
+                       --div--;LLL:EXT:cms/locallang_tca.xml:fe_users.tabs.personelData, name;;1;;1-1-1, 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
+
+               ')
        ),
        'palettes' => Array (
-               '1' => Array('showitem' => 'disable, starttime, endtime'),
-               '2' => Array('showitem' => 'title,company')
+               '1' => Array('showitem' => 'title,company')
        )
 );
 
@@ -316,7 +322,7 @@ $TCA['fe_groups'] = Array (
                                'type' => 'select',
                                'foreign_table' => 'fe_groups',
                                'foreign_table_where' => 'AND NOT(fe_groups.uid = ###THIS_UID###) AND fe_groups.hidden=0 ORDER BY fe_groups.title',
-                               'size' => 4,
+                               'size' => 6,
                                'autoSizeMax' => 10,
                                'minitems' => 0,
                                'maxitems' => 20
@@ -347,7 +353,7 @@ $TCA['fe_groups'] = Array (
                        'config' => Array (
                                'type' => 'text',
                                'cols' => '40',
-                               'rows' => '5',
+                               'rows' => '10',
                                'wizards' => Array(
                                        '_PADDING' => 4,
                                        '0' => Array(
@@ -364,7 +370,11 @@ $TCA['fe_groups'] = Array (
                )
        ),
        'types' => Array (
-               '0' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;2-2-2,lockToDomain,description;;;;3-3-3, --div--, TSconfig;;;;5-5-5, subgroup;;;;6-6-6')
+               '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
+               ')
        )
 );