Commit 7b0574d6 authored by Felix Kopp's avatar Felix Kopp Committed by Christian Kuhn
Browse files

[TASK] Follow-up: Remove record_list icon

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
parent 3136ffa9
......@@ -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;
......
......@@ -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;
}
......
......@@ -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')
);
}
}
}
......
......@@ -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
......@@ -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;
}
}
......
......@@ -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;
}
......
......@@ -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) . '" />';
......
......@@ -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### -->
......@@ -30,5 +30,5 @@
<!-- ###BUTTON_GROUPS_LEFT### -->
<!-- ###BUTTON_GROUPS_RIGHT### -->
<!-- ###BUTTON_GROUP1### -->###RECORD_LIST###<!-- ###BUTTON_GROUP1### -->
<!-- ###BUTTON_GROUP1### --><!-- ###BUTTON_GROUP1### -->
<!-- ###BUTTON_GROUPS_RIGHT### -->
......@@ -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### -->
......@@ -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### -->
......@@ -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### -->
......@@ -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### -->
......@@ -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### -->
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment