Fixed bug #9849: edit-wideDocument was removed, bring it back
authorSteffen Kamper <info@sk-typo3.de>
Tue, 2 Jun 2009 16:27:30 +0000 (16:27 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 2 Jun 2009 16:27:30 +0000 (16:27 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@5528 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/setup/mod/index.php

index 38b34e7..9739d64 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-02  Steffen Kamper  <info@sk-typo3.de>
+
+       * Fixed bug #9849: edit-wideDocument was removed, bring it back
+
 2009-05-31  Christian Kuhn  <lolli@schwarzbu.ch>
 
        * Fixed bug #11218: Typo in typo3/init.php
index 5247d75..166d8e6 100755 (executable)
@@ -485,6 +485,13 @@ class SC_mod_user_setup_index {
                $code = array();
                $i = 0;
                
+               if ($displayFullText) {
+                       $code[$i++][1] = $this->getCSH('edit_wideDocument');
+               }
+               $code[$i][1] = $this->setLabel('edit_wideDocument');
+               $code[$i][2] = '<input type="checkbox" name="data[edit_wideDocument]"' . ($BE_USER->uc['edit_wideDocument'] ? ' checked="checked"' : '') . ' />';
+               $code[$i++][3] = $displayFullText ? '&nbsp;' : $this->getCSH('edit_wideDocument'); 
+
                if ($GLOBALS['TYPO3_CONF_VARS']['BE']['RTEenabled'])    {
                        if ($displayFullText) {
                                $code[$i++][1] = $this->getCSH('edit_RTE');