[TASK] Follow-up: Remove record_list icon
authorFelix Kopp <felix-source@phorax.com>
Sat, 4 Aug 2012 16:36:02 +0000 (18:36 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 5 Aug 2012 17:30:57 +0000 (19:30 +0200)
Removes the record_list icon from the docHeader in modules:

* info
* functions
* permissions/access
* tstemplate
* import/export
* new page wizard
* quickedit
* version (submodule)

This icon links to List module but does not bring the backend
to a consistent state. The module bar is e.g. not updated.

The decision to remove the icon was taken at UX sprint 2012.

Change-Id: I0cb6b6c01ec567cb279db089dfcc6b061430fef4
Releases: 6.0
Resolves: #38828
Reviewed-on: http://review.typo3.org/13452
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
14 files changed:
typo3/db_new.php
typo3/sysext/func/mod1/index.php
typo3/sysext/impexp/app/index.php
typo3/sysext/impexp/app/template.html
typo3/sysext/info/mod1/index.php
typo3/sysext/perm/mod1/index.php
typo3/sysext/tstemplate/ts/index.php
typo3/templates/db_layout_quickedit.html
typo3/templates/db_new.html
typo3/templates/func.html
typo3/templates/info.html
typo3/templates/perm.html
typo3/templates/tstemplate.html
typo3/templates/version.html

index 9e10f40..1ef6574 100644 (file)
@@ -269,7 +269,6 @@ class SC_db_new {
                        'back' => '',
                        'view' => '',
                        'new_page' => '',
-                       'record_list' => ''
                );
 
                        // Regular new element:
@@ -299,16 +298,6 @@ class SC_db_new {
                        $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->pageinfo['uid'], $this->backPath, t3lib_BEfunc::BEgetRootLine($this->pageinfo['uid']))) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', 1) . '">' .
                                        t3lib_iconWorks::getSpriteIcon('actions-document-view') .
                                '</a>';
-
-                               // Record list
-                               // If access to Web>List for user, then link to that module.
-                       $buttons['record_list'] = t3lib_BEfunc::getListViewLink(
-                               array(
-                                       'id' => $this->pageinfo['uid'],
-                                       'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
-                               ),
-                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
-                       );
                }
 
                return $buttons;
index 4f093b9..b57f1ea 100755 (executable)
@@ -161,7 +161,6 @@ class SC_mod_web_func_index extends t3lib_SCbase {
                $buttons = array(
                        'csh' => '',
                        'view' => '',
-                       'record_list' => '',
                        'shortcut' => '',
                );
                        // CSH
@@ -179,16 +178,6 @@ class SC_mod_web_func_index extends t3lib_SCbase {
                        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']);
                        }
-
-                               // If access to Web>List for user, then link to that module.
-                       $buttons['record_list'] = t3lib_BEfunc::getListViewLink(
-                               array(
-                                       'id' => $this->pageinfo['uid'],
-                                       'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
-                               ),
-                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
-                       );
-
                }
                return $buttons;
        }
index bdb00d6..02bc8ad 100755 (executable)
@@ -305,7 +305,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
        protected function getButtons() {
                $buttons = array(
                        'view' => '',
-                       'record_list' => '',
                        'shortcut' => ''
                );
 
@@ -322,16 +321,6 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                                        $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->pageinfo['uid'], $this->doc->backPath, t3lib_BEfunc::BEgetRootLine($this->pageinfo['uid']))) . '" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showPage', TRUE) . '">' .
                                                t3lib_iconWorks::getSpriteIcon('actions-document-view') .
                                                '</a>';
-
-                                               // Record list
-                                               // If access to Web>List for user, then link to that module.
-                                       $buttons['record_list'] = t3lib_BEfunc::getListViewLink(
-                                               array(
-                                                       'id' => $this->pageinfo['uid'],
-                                                       'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
-                                               ),
-                                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
-                                       );
                                }
                        }
                }
index 0b7f656..479d355 100644 (file)
@@ -30,5 +30,5 @@
 <!-- ###BUTTON_GROUPS_LEFT### -->
 
 <!-- ###BUTTON_GROUPS_RIGHT### -->
-<!-- ###BUTTON_GROUP1### -->###RECORD_LIST######SHORTCUT###<!-- ###BUTTON_GROUP1### -->
+<!-- ###BUTTON_GROUP1### -->###SHORTCUT###<!-- ###BUTTON_GROUP1### -->
 <!-- ###BUTTON_GROUPS_RIGHT### -->
\ No newline at end of file
index a623da5..147948d 100755 (executable)
@@ -162,7 +162,6 @@ class SC_mod_web_info_index extends t3lib_SCbase {
                $buttons = array(
                        'csh' => '',
                        'view' => '',
-                       'record_list' => '',
                        'shortcut' => '',
                );
                        // CSH
@@ -183,15 +182,6 @@ class SC_mod_web_info_index extends t3lib_SCbase {
                        $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']);
                }
 
-                       // If access to Web>List for user, then link to that module.
-               $buttons['record_list'] = t3lib_BEfunc::getListViewLink(
-                       array(
-                               'id' => $this->pageinfo['uid'],
-                               'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
-                       ),
-                       $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
-               );
-
                return $buttons;
        }
 }
index 87c1b68..fc67bf4 100755 (executable)
@@ -300,7 +300,6 @@ class SC_mod_web_perm_index {
                $buttons = array(
                        'csh' => '',
                        'view' => '',
-                       'record_list' => '',
                        'shortcut' => '',
                );
                        // CSH
@@ -316,14 +315,6 @@ class SC_mod_web_perm_index {
                        $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']);
                }
 
-                       // If access to Web>List for user, then link to that module.
-               $buttons['record_list'] = t3lib_BEfunc::getListViewLink(
-                       array(
-                               'id' => $this->pageinfo['uid'],
-                               'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
-                       ),
-                       $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
-               );
                return $buttons;
        }
 
index ff5b67f..0d82a68 100644 (file)
@@ -251,7 +251,6 @@ class SC_mod_web_ts_index extends t3lib_SCbase {
                        'save' => '',
                        'save_close' => '',
                        'view' => '',
-                       'record_list' => '',
                        'shortcut' => '',
                );
 
@@ -261,15 +260,6 @@ class SC_mod_web_ts_index extends t3lib_SCbase {
                                                t3lib_iconWorks::getSpriteIcon('actions-document-view') .
                                        '</a>';
 
-                               // If access to Web>List for user, then link to that module.
-                       $buttons['record_list'] = t3lib_BEfunc::getListViewLink(
-                               array(
-                                       'id' => $this->pageinfo['uid'],
-                                       'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
-                               ),
-                               $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
-                       );
-
                        if ($this->extClassConf['name'] == 'tx_tstemplateinfo') {
                                        // NEW button
                                $buttons['new'] = '<input type="image" class="c-inputButton" name="createExtension" value="New"' . t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/new_el.gif', '') . ' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:db_new.php.pagetitle', TRUE) . '" />';
index 2de4e7b..590c5c4 100644 (file)
@@ -35,5 +35,5 @@
 <!-- ###BUTTON_GROUPS_LEFT### -->
 
 <!-- ###BUTTON_GROUPS_RIGHT### -->
-<!-- ###BUTTON_GROUP1### -->###RECORD_LIST######SHORTCUT###<!-- ###BUTTON_GROUP1### -->
+<!-- ###BUTTON_GROUP1### -->###SHORTCUT###<!-- ###BUTTON_GROUP1### -->
 <!-- ###BUTTON_GROUPS_RIGHT### -->
index 853c551..fe46c60 100644 (file)
@@ -30,5 +30,5 @@
 <!-- ###BUTTON_GROUPS_LEFT### -->
 
 <!-- ###BUTTON_GROUPS_RIGHT### -->
-<!-- ###BUTTON_GROUP1### -->###RECORD_LIST###<!-- ###BUTTON_GROUP1### -->
+<!-- ###BUTTON_GROUP1### --><!-- ###BUTTON_GROUP1### -->
 <!-- ###BUTTON_GROUPS_RIGHT### -->
index cfc74cd..7015cd1 100644 (file)
@@ -30,5 +30,5 @@
 <!-- ###BUTTON_GROUPS_LEFT### -->
 
 <!-- ###BUTTON_GROUPS_RIGHT### -->
-<!-- ###BUTTON_GROUP1### -->###RECORD_LIST######SHORTCUT###<!-- ###BUTTON_GROUP1### -->
+<!-- ###BUTTON_GROUP1### -->###SHORTCUT###<!-- ###BUTTON_GROUP1### -->
 <!-- ###BUTTON_GROUPS_RIGHT### -->
index ead5369..8e1d60a 100644 (file)
@@ -30,5 +30,5 @@
 <!-- ###BUTTON_GROUPS_LEFT### -->
 
 <!-- ###BUTTON_GROUPS_RIGHT### -->
-<!-- ###BUTTON_GROUP1### -->###RECORD_LIST######SHORTCUT###<!-- ###BUTTON_GROUP1### -->
+<!-- ###BUTTON_GROUP1### -->###SHORTCUT###<!-- ###BUTTON_GROUP1### -->
 <!-- ###BUTTON_GROUPS_RIGHT### -->
index ead5369..8e1d60a 100644 (file)
@@ -30,5 +30,5 @@
 <!-- ###BUTTON_GROUPS_LEFT### -->
 
 <!-- ###BUTTON_GROUPS_RIGHT### -->
-<!-- ###BUTTON_GROUP1### -->###RECORD_LIST######SHORTCUT###<!-- ###BUTTON_GROUP1### -->
+<!-- ###BUTTON_GROUP1### -->###SHORTCUT###<!-- ###BUTTON_GROUP1### -->
 <!-- ###BUTTON_GROUPS_RIGHT### -->
index 1698af3..fc7a6c7 100644 (file)
@@ -33,5 +33,5 @@
 <!-- ###BUTTON_GROUPS_LEFT### -->
 
 <!-- ###BUTTON_GROUPS_RIGHT### -->
-<!-- ###BUTTON_GROUP1### -->###RECORD_LIST######SHORTCUT###<!-- ###BUTTON_GROUP1### -->
+<!-- ###BUTTON_GROUP1### -->###SHORTCUT###<!-- ###BUTTON_GROUP1### -->
 <!-- ###BUTTON_GROUPS_RIGHT### -->
index 1864c0c..2bb282c 100644 (file)
@@ -30,5 +30,5 @@
 <!-- ###BUTTON_GROUPS_LEFT### -->
 
 <!-- ###BUTTON_GROUPS_RIGHT### -->
-<!-- ###BUTTON_GROUP1### -->###RECORD_LIST######SHORTCUT###<!-- ###BUTTON_GROUP1### -->
+<!-- ###BUTTON_GROUP1### -->###SHORTCUT###<!-- ###BUTTON_GROUP1### -->
 <!-- ###BUTTON_GROUPS_RIGHT### -->