[BUGFIX] Icon for save action in scheduler should be save-close
authorPhilipp Gampe <philipp.gampe@typo3.org>
Sat, 30 Jun 2012 14:54:30 +0000 (16:54 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sat, 30 Jun 2012 15:11:07 +0000 (17:11 +0200)
When creating or editing a task in scheduler, the icon for the save
action must be save and close, because the task is closed after clicking
the icon.

Change-Id: Ic7abd84524c1a02417694707e2fb1fa12a4bec1d
Fixes: #36344
Releases: 6.0, 4.7
Reviewed-on: http://review.typo3.org/12479
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/scheduler/class.tx_scheduler_module.php

index 3bf2503..510b469 100644 (file)
@@ -1625,8 +1625,9 @@ class tx_scheduler_Module extends t3lib_SCbase {
                                t3lib_iconWorks::getSpriteIcon('actions-document-close') . '</a>';
 
                        $buttons['save'] = t3lib_iconWorks::getSpriteIcon(
-                               'actions-document-save',
-                               array('html' => '<input type="image" name="data[save]" class="c-inputButton" src="clear.gif" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:save', TRUE) . '" />')
+                               'actions-document-save-close',
+                               array('html' => '<input type="image" name="data[save]" class="c-inputButton" src="clear.gif" title="'
+                                       . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:saveAndClose', TRUE) . '" />')
                        );
                }