Fixed bug #17186: Scheduler: CSH not displayed properly in docheader
authorFrancois Suter <francois.suter@typo3.org>
Fri, 21 Jan 2011 09:59:37 +0000 (09:59 +0000)
committerFrancois Suter <francois.suter@typo3.org>
Fri, 21 Jan 2011 09:59:37 +0000 (09:59 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10195 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/scheduler/mod1/index.php
typo3/sysext/scheduler/mod1/mod_template.html

index a6cb8a4..ee5fce7 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
 2011-01-21  Francois Suter  <francois.suter@typo3.org>
 
        * Fixed bug #17024: CSH not rendered properly in select-type fields with renderMode = checkbox
+       * Fixed bug #17186: Scheduler: CSH not displayed properly in docheader
 
 2011-01-21  Jeff Segars  <jeff@webempoweredchurch.org>
 
index cb09810..b8d9806 100755 (executable)
@@ -1547,6 +1547,7 @@ class tx_scheduler_Module extends t3lib_SCbase {
         */
        protected function getTemplateMarkers() {
                $markers = array(
+                       'CSH' => t3lib_BEfunc::wrapInHelp('_MOD_tools_txschedulerM1', ''),
                        'FUNC_MENU' => $this->getFunctionMenu(),
                        'CONTENT'   => $this->content,
                        'TITLE'     => $GLOBALS['LANG']->getLL('title'),
@@ -1578,7 +1579,6 @@ class tx_scheduler_Module extends t3lib_SCbase {
         */
        protected function getDocHeaderButtons() {
                $buttons = array(
-                       'csh'      => t3lib_BEfunc::cshItem('_MOD_tools_txschedulerM1', '', $this->backPath),
                        'reload'   => '',
                        'shortcut' => $this->getShortcutButton(),
                );
index 3e99e07..3f6b600 100644 (file)
@@ -3,11 +3,11 @@
        <!-- Page header with buttons, path details and csh -->
        <div id="typo3-docheader">
                <div id="typo3-docheader-row1">
-                       <div class="buttonsleft">###BUTTONLIST_LEFT###</div>
+                       <div class="buttonsleft"></div>
                        <div class="buttonsright">###BUTTONLIST_RIGHT###</div>
                </div>
                <div id="typo3-docheader-row2">
-                       <div class="docheader-row2-left"><div class="docheader-funcmenu">###FUNC_MENU###</div></div>
+                       <div class="docheader-row2-left"><div class="docheader-csh">###CSH###</div><div class="docheader-funcmenu">###FUNC_MENU###</div></div>
                        <div class="docheader-row2-right"></div>
                </div>
        </div>
        <div class="buttongroup">###BUTTONS###</div>
 <!-- ###BUTTON_GROUP_WRAP### -->
 
-<!-- ###BUTTON_GROUPS_LEFT### -->
-<!-- ###BUTTON_GROUP1### -->###CSH###<!-- ###BUTTON_GROUP1### -->
-<!-- ###BUTTON_GROUPS_LEFT### -->
-
 <!-- ###BUTTON_GROUPS_RIGHT### -->
 <!-- ###BUTTON_GROUP1### -->###RELOAD######SHORTCUT###<!-- ###BUTTON_GROUP1### -->
 <!-- ###BUTTON_GROUPS_RIGHT### -->