Bug #8422: Context Sensitive Help mode with "display full text messages"
authorPatrick Broens <patrick@netcreators.com>
Tue, 10 Jun 2008 11:48:56 +0000 (11:48 +0000)
committerPatrick Broens <patrick@netcreators.com>
Tue, 10 Jun 2008 11:48:56 +0000 (11:48 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3774 709f56b5-9817-0410-a4d7-c38de5d9e867

15 files changed:
ChangeLog
typo3/alt_db_navframe.php
typo3/alt_doc.php
typo3/class.db_list_extra.inc
typo3/db_new.php
typo3/file_edit.php
typo3/file_list.php
typo3/mod/web/func/index.php
typo3/mod/web/info/index.php
typo3/mod/web/perm/index.php
typo3/move_el.php
typo3/show_rechis.php
typo3/sysext/cms/layout/db_layout.php
typo3/sysext/cms/layout/db_new_content_el.php
typo3/sysext/setup/mod/index.php

index b2a5618..3af6c7e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-10  Patrick Broens  <patrick@patrickbroens.nl>
+
+       * Fixed bug #8422: Context Sensitive Help mode with "display full text messages"
+
 2008-06-09  Ingo Renner  <ingo@typo3.org>
 
        * Fixed bug #8509: Some labels in Module About are hardcoded, credits Christopher Stelmaszyk
index 0407b01..fdb622a 100755 (executable)
@@ -272,7 +272,7 @@ class SC_alt_db_navframe {
                $buttons['refresh'] = '<a href="' . htmlspecialchars(t3lib_div::getIndpEnv('REQUEST_URI')) . '"><img' . t3lib_iconWorks::skinImg('', 'gfx/refresh_n.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.refresh', 1) . '" alt="" /></a>';
 
                        // CSH
-               $buttons['csh'] = str_replace('typo3-csh-inline','typo3-csh-inline show-right',t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'pagetree', $GLOBALS['BACK_PATH']));
+               $buttons['csh'] = str_replace('typo3-csh-inline','typo3-csh-inline show-right',t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'pagetree', $GLOBALS['BACK_PATH'], '', TRUE));
 
                return $buttons;
        }
index 7689edb..c94d6ba 100755 (executable)
@@ -889,7 +889,7 @@ class SC_alt_doc {
                }
 
                        // add the CSH icon
-               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'TCEforms', $GLOBALS['BACK_PATH']);
+               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'TCEforms', $GLOBALS['BACK_PATH'], '', TRUE);
                $buttons['shortcut'] = $this->shortCutLink();
                $buttons['open_in_new_window'] = $this->openInNewWindowLink();
                return $buttons;
index b773f39..c288512 100755 (executable)
@@ -149,11 +149,11 @@ class localRecordList extends recordList {
 
                        // CSH
                if (!strlen($this->id)) {
-                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_module_noId', $GLOBALS['BACK_PATH']);
+                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_module_noId', $GLOBALS['BACK_PATH'], '', TRUE);
                } elseif(!$this->id) {
-                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_module_root', $GLOBALS['BACK_PATH']);
+                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_module_root', $GLOBALS['BACK_PATH'], '', TRUE);
                } else {
-                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_module', $GLOBALS['BACK_PATH']);
+                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'list_module', $GLOBALS['BACK_PATH'], '', TRUE);
                }
 
                if (isset($this->id)) {
index 199953d..dfc2f53 100755 (executable)
@@ -318,10 +318,10 @@ class SC_db_new {
                                        '</a>';
                        }
                                // CSH
-                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'new_regular', $GLOBALS['BACK_PATH']);
+                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'new_regular', $GLOBALS['BACK_PATH'], '', TRUE);
                } elseif($this->showNewRecLink('pages')) {      // Pages only wizard
                                // CSH
-                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'new_pages', $GLOBALS['BACK_PATH']);
+                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'new_pages', $GLOBALS['BACK_PATH'], '', TRUE);
                }
 
                        // Back
index 593acae..04a16da 100755 (executable)
@@ -237,7 +237,7 @@ class SC_file_edit {
                $buttons = array();
 
                        // CSH button
-               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'file_edit', $GLOBALS['BACK_PATH']);
+               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'file_edit', $GLOBALS['BACK_PATH'], '', TRUE);
 
                        // Save button
                $theIcon = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/savedok.gif','width="18" height="16"').' title="'.$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:file_edit.php.submit',1)).'" alt="" />';
index a3f9bd6..da5cd02 100755 (executable)
@@ -344,7 +344,7 @@ class SC_file_list {
                }
 
                        // FileList Module CSH:
-               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'filelist_module', $GLOBALS['BACK_PATH']);
+               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'filelist_module', $GLOBALS['BACK_PATH'], '', TRUE);
 
                        // upload button
                $theIcon = '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/upload.gif','width="18" height="16"').' title="'.$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.upload',1)).'" alt="" />';
index 8925036..6ad57f6 100755 (executable)
@@ -184,7 +184,7 @@ class SC_mod_web_func_index extends t3lib_SCbase {
                        'shortcut' => '',
                );
                        // CSH
-               $buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_web_func', '', $GLOBALS['BACK_PATH']);
+               $buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_web_func', '', $GLOBALS['BACK_PATH'], '', TRUE);
 
                if($this->id && is_array($this->pageinfo)) {
 
index 8c4a8cf..d380aed 100755 (executable)
@@ -195,7 +195,7 @@ class SC_mod_web_info_index extends t3lib_SCbase {
                        'shortcut' => '',
                );
                        // CSH
-               $buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_web_info', '', $GLOBALS['BACK_PATH']);
+               $buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_web_info', '', $GLOBALS['BACK_PATH'], '', TRUE);
 
                        // View page
                $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::viewOnClick($this->pageinfo['uid'], $BACK_PATH, t3lib_BEfunc::BEgetRootLine($this->pageinfo['uid']))) . '">' .
index 1872fc4..c3fa419 100755 (executable)
@@ -349,7 +349,7 @@ class SC_mod_web_perm_index {
                        'shortcut' => '',
                );
                        // CSH
-               $buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_web_info', '', $GLOBALS['BACK_PATH']);
+               $buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_web_info', '', $GLOBALS['BACK_PATH'], '', TRUE);
 
                        // View page
                $buttons['view'] = '<a href="#" onclick="' . htmlspecialchars(t3lib_BEfunc::viewonclick($this->pageinfo['uid'], $GLOBALS['BACK_PATH'], t3lib_BEfunc::BEgetRootLine($this->pageinfo['uid']))) . '">' .
index 079dbf2..05c957a 100755 (executable)
@@ -438,10 +438,10 @@ class SC_move_el {
                if ($this->page_id)     {
                        if ((string)$this->table == 'pages') {
                                        // CSH
-                               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'move_el_pages', $GLOBALS['BACK_PATH'], '');
+                               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'move_el_pages', $GLOBALS['BACK_PATH'], '', TRUE);
                        } elseif((string)$this->table == 'tt_content') {
                                        // CSH
-                               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'move_el_cs', $GLOBALS['BACK_PATH'], '');
+                               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'move_el_cs', $GLOBALS['BACK_PATH'], '', TRUE);
                        }
 
                        if ($this->R_URI) {
index 790d67f..6710c02 100755 (executable)
@@ -152,7 +152,7 @@ class SC_show_rechis {
                );
 
                        // CSH
-               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'history_log', $GLOBALS['BACK_PATH'], '');
+               $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'history_log', $GLOBALS['BACK_PATH'], '', TRUE);
 
                        // Start history object
                $historyObj = t3lib_div::makeInstance('recordHistory');
index 9639134..f0f5106 100755 (executable)
@@ -579,7 +579,7 @@ class SC_db_layout {
                        );
 
                        $markers = array(
-                               'CSH' => t3lib_BEfunc::cshItem($this->descrTable, '', $BACK_PATH),
+                               'CSH' => t3lib_BEfunc::cshItem($this->descrTable, '', $BACK_PATH, '', TRUE),
                                'TOP_FUNCTION_MENU' => '',
                                'LANGSELECTOR' => '',
                                'CONTENT' => $body
@@ -1204,9 +1204,9 @@ class SC_db_layout {
 
                                // Add CSH (Context Sensitive Help) icon to tool bar
                        if($function == 'quickEdit') {
-                               $buttons['csh'] = t3lib_BEfunc::cshItem($this->descrTable, 'quickEdit', $BACK_PATH, '', FALSE, 'margin-top: 0px; margin-bottom: 0px;');
+                               $buttons['csh'] = t3lib_BEfunc::cshItem($this->descrTable, 'quickEdit', $BACK_PATH, '', TRUE, 'margin-top: 0px; margin-bottom: 0px;');
                        } else {
-                               $buttons['csh'] = t3lib_BEfunc::cshItem($this->descrTable, 'columns_' . $this->MOD_SETTINGS['function'], $BACK_PATH, '', FALSE, 'margin-top: 0px; margin-bottom: 0px;');
+                               $buttons['csh'] = t3lib_BEfunc::cshItem($this->descrTable, 'columns_' . $this->MOD_SETTINGS['function'], $BACK_PATH, '', TRUE, 'margin-top: 0px; margin-bottom: 0px;');
                        }
 
                        if($function == 'quickEdit') {
index be1a67c..d1a7492 100644 (file)
@@ -375,7 +375,7 @@ class SC_db_new_content_el {
 
                if ($this->id && $this->access) {
                                // CSH
-                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'new_ce', $GLOBALS['BACK_PATH']);
+                       $buttons['csh'] = t3lib_BEfunc::cshItem('xMOD_csh_corebe', 'new_ce', $GLOBALS['BACK_PATH'], '', TRUE);
 
                                // Back
                        if ($this->R_URI)       {
index 08d6a68..dfb8961 100755 (executable)
@@ -540,7 +540,7 @@ class SC_mod_user_setup_index {
                );
 
                        //CSH
-               $buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_user_setup', '', $BACK_PATH, '|');
+               $buttons['csh'] = t3lib_BEfunc::cshItem('_MOD_user_setup', '', $BACK_PATH, '|', TRUE);
 
                if ($BE_USER->mayMakeShortcut())        {
                                // Shortcut