* Added some file icons from Ben and Emile
[Packages/TYPO3.CMS.git] / t3lib / stddb / tbl_be.php
index dd34b00..5aca86b 100755 (executable)
@@ -136,7 +136,7 @@ $TCA['be_users'] = Array (
                        'config' => Array (
                                'type' => 'select',
                                'foreign_table' => 'sys_filemounts',
-                               'foreign_table_where' => 'ORDER BY sys_filemounts.title',
+                               'foreign_table_where' => ' AND sys_filemounts.pid=0 ORDER BY sys_filemounts.title',
 #                              'type' => 'group',
 #                              'internal_type' => 'db',
 #                                      'allowed' => 'sys_filemounts',
@@ -203,6 +203,12 @@ $TCA['be_users'] = Array (
                                'type' => 'check'
                        )
                ),
+               'disableIPlock' => Array (
+                       'label' => 'Disable IP lock for user:',
+                       'config' => Array (
+                               'type' => 'check'
+                       )
+               ),
                'admin' => Array (
                        'label' => 'Admin(!):',
                        'config' => Array (
@@ -334,8 +340,8 @@ $TCA['be_users'] = Array (
                'createdByAction' => Array('config'=>array('type'=>'passthrough'))
        ),
        'types' => Array (
-               '0' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, lockToDomain, admin;;;;5-5-5, realName;;;;3-3-3, email, lang, userMods;;;;4-4-4, options, db_mountpoints, file_mountpoints, fileoper_perms, --div--, TSconfig;;;;5-5-5'),
-               '1' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, admin;;;;5-5-5, realName;;;;3-3-3, email, lang, options;;;;4-4-4, db_mountpoints, file_mountpoints, fileoper_perms, --div--, TSconfig;;;;5-5-5')
+               '0' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, lockToDomain, disableIPlock, admin;;;;5-5-5, realName;;;;3-3-3, email, lang, userMods;;;;4-4-4, options, db_mountpoints, file_mountpoints, fileoper_perms, --div--, TSconfig;;;;5-5-5'),
+               '1' => Array('showitem' => 'username;;;;2-2-2, password, usergroup, disableIPlock, admin;;;;5-5-5, realName;;;;3-3-3, email, lang, options;;;;4-4-4, db_mountpoints, file_mountpoints, fileoper_perms, --div--, TSconfig;;;;5-5-5')
        ),
        'palettes' => Array (
                '1' => Array('showitem' => 'disable, starttime, endtime')
@@ -377,9 +383,12 @@ $TCA['be_groups'] = Array (
                'file_mountpoints' => Array (
                        'label' => 'File Mounts:',
                        'config' => Array (
-                               'type' => 'group',
-                               'internal_type' => 'db',
-                                       'allowed' => 'sys_filemounts',
+                               'type' => 'select',
+                               'foreign_table' => 'sys_filemounts',
+                               'foreign_table_where' => ' AND sys_filemounts.pid=0 ORDER BY sys_filemounts.title',
+#                              'type' => 'group',
+#                              'internal_type' => 'db',
+#                                      'allowed' => 'sys_filemounts',
                                'size' => '3',
                                'maxitems' => '10',
                                'autoSizeMax' => 10,
@@ -595,4 +604,4 @@ $TCA['sys_filemounts'] = Array (
                '0' => Array('showitem' => 'hidden;;;;1-1-1,title;;;;3-3-3,path,base')
        )
 );
-?>
\ No newline at end of file
+?>