[TASK] Make popup size bigger for wizards 58/41458/3
authorBenjamin Mack <benni@typo3.org>
Thu, 16 Jul 2015 12:46:36 +0000 (14:46 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 17 Jul 2015 08:02:29 +0000 (10:02 +0200)
Streamline the popups set in the core to be 800x600 when
opening up wizards by TCA configuration in the core.

Releases: master
Resolves: #68219
Change-Id: If766734479126ba99936eed91e181eb2ee7047cf
Reviewed-on: http://review.typo3.org/41458
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
13 files changed:
typo3/sysext/compatibility6/Configuration/TCA/Overrides/tt_content.php
typo3/sysext/core/Configuration/TCA/be_groups.php
typo3/sysext/core/Configuration/TCA/be_users.php
typo3/sysext/core/Configuration/TCA/sys_file_reference.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TCA/Blog.php
typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example/Configuration/TCA/Post.php
typo3/sysext/frontend/Configuration/TCA/sys_template.php
typo3/sysext/frontend/Configuration/TCA/tt_content.php
typo3/sysext/impexp/Tests/Functional/Fixtures/Extensions/impexp_group_files/Configuration/TCA/tx_impexpgroupfiles_item.php
typo3/sysext/mediace/Configuration/FlexForms/media.xml
typo3/sysext/openid/Classes/OpenidModuleSetup.php
typo3/sysext/openid/Configuration/TCA/Overrides/be_users.php
typo3/sysext/openid/Configuration/TCA/Overrides/fe_users.php

index ece7431..d2d15af 100644 (file)
@@ -65,7 +65,7 @@ $extraContentColumns = array(
                                                        'mode' => 'wizard'
                                                )
                                        ),
-                                       'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
+                                       'JSopenParams' => 'width=800,height=600,status=0,menubar=0,scrollbars=1'
                                )
                        ),
                        'softref' => 'typolink[linkList]'
@@ -138,7 +138,7 @@ $extraContentColumns = array(
                                                'blindLinkOptions' => 'folder,file,mail,spec',
                                                'blindLinkFields' => 'target,title,class,params'
                                        ),
-                                       'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
+                                       'JSopenParams' => 'width=800,height=600,status=0,menubar=0,scrollbars=1'
                                )
                        ),
                        'softref' => 'typolink[linkList]'
index 02e5293..e4fe348 100644 (file)
@@ -72,7 +72,7 @@ return array(
                                                ),
                                                'popup_onlyOpenIfSelected' => 1,
                                                'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_edit.gif',
-                                               'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1'
+                                               'JSopenParams' => 'width=800,height=600,status=0,menubar=0,scrollbars=1'
                                        ),
                                        'add' => array(
                                                'type' => 'script',
index ed1bd2a..ee863cc 100644 (file)
@@ -82,7 +82,7 @@ return array(
                                                ),
                                                'popup_onlyOpenIfSelected' => 1,
                                                'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_edit.gif',
-                                               'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1'
+                                               'JSopenParams' => 'width=800,height=600,status=0,menubar=0,scrollbars=1'
                                        ),
                                        'add' => array(
                                                'type' => 'script',
@@ -159,7 +159,7 @@ return array(
                                                ),
                                                'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_edit.gif',
                                                'popup_onlyOpenIfSelected' => 1,
-                                               'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1'
+                                               'JSopenParams' => 'width=800,height=600,status=0,menubar=0,scrollbars=1'
                                        ),
                                        'add' => array(
                                                'type' => 'script',
index 20b3d07..b92764d 100644 (file)
@@ -182,7 +182,7 @@ return array(
                                                                'mode' => 'wizard'
                                                        )
                                                ),
-                                               'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
+                                               'JSopenParams' => 'width=800,height=600,status=0,menubar=0,scrollbars=1'
                                        )
                                ),
                                'softref' => 'typolink'
index 4ca54ff..d61b857 100644 (file)
@@ -147,7 +147,7 @@ $TCA['tx_blogexample_domain_model_blog'] = array(
                                                 'script' => 'wizard_edit.php',
                                                 'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_edit.gif',
                                                 'popup_onlyOpenIfSelected' => 1,
-                                                'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
+                                                'JSopenParams' => 'width=800,height=600,status=0,menubar=0,scrollbars=1',
                                         ),
                                         'add' => Array(
                                                 'type' => 'script',
index f5ed25d..bceccb6 100644 (file)
@@ -94,7 +94,7 @@ $TCA['tx_blogexample_domain_model_post'] = array(
                                                 'script' => 'wizard_edit.php',
                                                 'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_edit.gif',
                                                 'popup_onlyOpenIfSelected' => 1,
-                                                'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
+                                                'JSopenParams' => 'width=800,height=600,status=0,menubar=0,scrollbars=1',
                                         ),
                                         'add' => Array(
                                                 'type' => 'script',
index 99f474a..56a0039 100644 (file)
@@ -164,7 +164,7 @@ return array(
                                                ),
                                                'popup_onlyOpenIfSelected' => 1,
                                                'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_edit.gif',
-                                               'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1'
+                                               'JSopenParams' => 'width=800,height=600,status=0,menubar=0,scrollbars=1'
                                        ),
                                        'add' => array(
                                                'type' => 'script',
index 21fc135..e86ad44 100644 (file)
@@ -327,7 +327,7 @@ return array(
                                                                'mode' => 'wizard'
                                                        )
                                                ),
-                                               'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
+                                               'JSopenParams' => 'width=800,height=600,status=0,menubar=0,scrollbars=1'
                                        )
                                ),
                                'softref' => 'typolink'
index f657adb..7daf818 100644 (file)
@@ -156,7 +156,7 @@ return array(
                                                                                                                                                <mode>wizard</mode>
                                                                                                                                        </urlParameters>
                                                                                                                                </module>
-                                                                                                                               <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
+                                                                                                                               <JSopenParams>width=800,height=600,status=0,menubar=0,scrollbars=1</JSopenParams>
                                                                                                                        </link>
                                                                                                                </wizards>
                                                                                                        </config>
index 86ccd3f..719c160 100644 (file)
                                                                                        <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
                                                                                        <allowedExtensions>class,swa,dcr,wav,avi,au,mov,asf,mpg,wmv,mp3,mp4,m4v,m4a,flv,ogg,ogv,swf,webm</allowedExtensions>
                                                                                </params>
-                                                                               <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
+                                                                               <JSopenParams>width=800,height=600,status=0,menubar=0,scrollbars=1</JSopenParams>
                                                                        </link>
                                                                </wizards>
                                                        </config>
                                                                                                                        <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
                                                                                                                        <allowedExtensions>mov,mpg,mp4,m4a,m4v,ogg,ogv,swf,webm</allowedExtensions>
                                                                                                                </params>
-                                                                                                               <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
+                                                                                                               <JSopenParams>width=800,height=600,status=0,menubar=0,scrollbars=1</JSopenParams>
                                                                                                        </link>
                                                                                                </wizards>
                                                                                        </config>
                                                                                        <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
                                                                                        <allowedExtensions>srt,vtt</allowedExtensions>
                                                                                </params>
-                                                                               <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
+                                                                               <JSopenParams>width=800,height=600,status=0,menubar=0,scrollbars=1</JSopenParams>
                                                                        </link>
                                                                </wizards>
                                                        </config>
                                                                                                                        <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
                                                                                                                        <allowedExtensions>au,asf,mp3,m4a,oga,ogg, wav,webm,wmv</allowedExtensions>
                                                                                                                </params>
-                                                                                                               <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
+                                                                                                               <JSopenParams>width=800,height=600,status=0,menubar=0,scrollbars=1</JSopenParams>
                                                                                                        </link>
                                                                                                </wizards>
                                                                                        </config>
                                                                                        <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
                                                                                        <allowedExtensions>au,asf,mp3,m4a,oga,swa,wav,webm,wmv</allowedExtensions>
                                                                                </params>
-                                                                               <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
+                                                                               <JSopenParams>width=800,height=600,status=0,menubar=0,scrollbars=1</JSopenParams>
                                                                        </link>
                                                                </wizards>
                                                        </config>
                                                                                                                        <blindLinkOptions>page,folder,mail,spec</blindLinkOptions>
                                                                                                                        <allowedExtensions>au,asf,mp3,m4a,oga,ogg, wav,webm,wmv</allowedExtensions>
                                                                                                                </params>
-                                                                                                               <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
+                                                                                                               <JSopenParams>width=800,height=600,status=0,menubar=0,scrollbars=1</JSopenParams>
                                                                                                        </link>
                                                                                                </wizards>
                                                                                        </config>
index 0f90177..a2006c7 100644 (file)
@@ -54,7 +54,7 @@ class OpenidModuleSetup {
                        ' value="' . htmlspecialchars($openid) . '" />' .
                        '<div class="input-group-addon">' .
                                '<a href="#" onclick="' .
-                               'vHWin=window.open(' . $popUpUrl . ',null,\'width=800,height=400,status=0,menubar=0,scrollbars=0\');' .
+                               'vHWin=window.open(' . $popUpUrl . ',null,\'width=800,height=600,status=0,menubar=0,scrollbars=0\');' .
                                'vHWin.focus();return false;' .
                                '">' .
                                        '<img src="../typo3/sysext/openid/ext_icon_small.png" alt="' . $add . '" title="' . $add . '"/>' .
index 60d0a77..db411fb 100644 (file)
@@ -19,7 +19,7 @@ $tempColumns = array(
                                                'name' => 'wizard_openid'
                                        ),
                                        'icon' => 'EXT:openid/ext_icon_small.png',
-                                       'JSopenParams' => ',width=800,height=400,status=0,menubar=0,scrollbars=0',
+                                       'JSopenParams' => ',width=800,height=600,status=0,menubar=0,scrollbars=0',
                                )
                        ),
                )
index 58576a6..60172ef 100644 (file)
@@ -19,7 +19,7 @@ $tempColumns = array(
                                                'name' => 'wizard_openid'
                                        ),
                                        'icon' => 'EXT:openid/ext_icon_small.png',
-                                       'JSopenParams' => ',width=800,height=400,status=0,menubar=0,scrollbars=0',
+                                       'JSopenParams' => ',width=800,height=600,status=0,menubar=0,scrollbars=0',
                                )
                        ),
                )