* Minor non-functional cleanups
authorMichael Stucki <michael.stucki@typo3.org>
Thu, 24 Nov 2005 00:10:36 +0000 (00:10 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Thu, 24 Nov 2005 00:10:36 +0000 (00:10 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@880 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tsfebeuserauth.php
t3lib/config_default.php
typo3/sysext/cms/layout/db_layout.php
typo3/sysext/cms/tslib/class.tslib_fe.php

index 2658b4c..7a4ab53 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -29,7 +29,7 @@
 
        * Added a helpful warning if config.baseURL=1 was found
        * !!! Disabled the config.baseURL=1 feature. baseURL needs to be a string value, otherwise it will not work (security reasons)!
-       * Added a fix for broken image-alignment in Mozilla browsers (written by Martin Kutschker)
+       * Fixed bug #1115: Broken image-alignment in Mozilla browsers (written by Martin Kutschker)
        * Fixed a cross-site scripting issue in showpic.php. Many thanks to Martin Klaus who provided a fix for this.
        * Fixed the encryptionKey auto-generation in the Install Tool: The 32 first characters were always the same. Thanks to Jochen Weiland.
        * When editing a file in the Install Tool, the backup is no longer renamed to filename.php~ but filename_bak.php (could be viewed in clear-text otherwise). Thanks to Lars Houmark for reporting this.
index 66e9992..d2f33a2 100755 (executable)
@@ -253,7 +253,7 @@ class t3lib_tsfeBeUserAuth extends t3lib_beUserAuth {
                        $out.= $this->extGetItem('preview_showHiddenPages', '<input type="hidden" name="TSFE_ADMIN_PANEL[preview_showHiddenPages]" value="0" /><input type="checkbox" name="TSFE_ADMIN_PANEL[preview_showHiddenPages]" value="1"'.($this->uc['TSFE_adminConfig']['preview_showHiddenPages']?' checked="checked"':'').' />');
                        $out.= $this->extGetItem('preview_showHiddenRecords', '<input type="hidden" name="TSFE_ADMIN_PANEL[preview_showHiddenRecords]" value="0" /><input type="checkbox" name="TSFE_ADMIN_PANEL[preview_showHiddenRecords]" value="1"'.($this->uc['TSFE_adminConfig']['preview_showHiddenRecords']?' checked="checked"':'').' />');
 
-                               // Simulate data
+                               // Simulate date
                        $out.= $this->extGetItem('preview_simulateDate', '<input type="checkbox" name="TSFE_ADMIN_PANEL[preview_simulateDate]_cb" onclick="TSFEtypo3FormFieldGet(\'TSFE_ADMIN_PANEL[preview_simulateDate]\', \'datetime\', \'\',1,0,1);" /><input type="text" name="TSFE_ADMIN_PANEL[preview_simulateDate]_hr" onchange="TSFEtypo3FormFieldGet(\'TSFE_ADMIN_PANEL[preview_simulateDate]\', \'datetime\', \'\', 1,0);" /><input type="hidden" name="TSFE_ADMIN_PANEL[preview_simulateDate]" value="'.$this->uc['TSFE_adminConfig']['preview_simulateDate'].'" />');
                        $this->extJSCODE.= 'TSFEtypo3FormFieldSet("TSFE_ADMIN_PANEL[preview_simulateDate]", "datetime", "", 1,0);';
 
index 031d090..0e5fa5d 100755 (executable)
@@ -90,7 +90,7 @@ $TYPO3_CONF_VARS = Array(
                'em_TERurls' => array('http://ter.typo3.com/?id=t3_extrep'),
 
                'requiredExt' => 'cms,lang,sv',                 // String list: List of extensions which are REQUIRED and cannot be unloaded by the Extension Manager!
-               'extCache' => 1,                                                // Int. 0,1,2: 0: ext-scripts (ext_localconf.php and ext_tables.php) are NOT cached, but included every time. 1: scripts cached to typo3conf/temp_CACHED_[sitePathHash]* (saves some milliseconds even with PHP-A), 2: scripts cached and prefix includes a hash based on the 'extList' string, 3: scripts cached to typo3conf/temp_CACHED_* (no hash included at all...)
+               'extCache' => 1,                                                // Int. 0,1,2,3: 0: ext-scripts (ext_localconf.php and ext_tables.php) are NOT cached, but included every time. 1: scripts cached to typo3conf/temp_CACHED_[sitePathHash]* (saves some milliseconds even with PHP-A), 2: scripts cached and prefix includes a hash based on the 'extList' string, 3: scripts cached to typo3conf/temp_CACHED_* (no hash included at all...)
                'extList' => 'tsconfig_help,context_help,extra_page_cm_options,impexp,belog,aboutmodules,setup,install',                                                // String list: List of extensions which are enabled for this install. Use the Extension Manager (EM) to manage this!
                'extConf' => array(                                             // Config-options for extensions, stored as serialized arrays by extension-keys. Handled automatically by the EM.
 //                     '--key--' => array()
index 051461f..fdee6c4 100755 (executable)
@@ -624,7 +624,7 @@ class SC_db_layout {
                $closeUrl = $this->local_linkThisScript(array('SET'=>array('function'=>1)));    // Goes to 'Columns' view if close is pressed (default)
 
                if ($BE_USER->uc['condensedMode'])      {
-                       $closeUrl=$BACK_PATH.'alt_db_navframe.php';
+                       $closeUrl = $BACK_PATH.'alt_db_navframe.php';
                }
                if ($this->returnUrl)   {
                        $closeUrl = $this->returnUrl;
index e5b9ca6..69a8872 100755 (executable)
         * @deprecated
         */
        function connectToMySQL()       {
-         $this->connectToDB();
+               $this->connectToDB();
        }
 
        /**
                        // Setting locale
                if ($this->config['config']['locale_all'])      {
                        # Change by Rene Fritz, 22/10 2002
-                       # there`s the problem that PHP parses float values in scripts wrong if the locale LC_NUMERIC is set to something with a komma as decimal point
+                       # there's a problem that PHP parses float values in scripts wrong if the locale LC_NUMERIC is set to something with a comma as decimal point
                        # this does not work in php 4.2.3
                        #setlocale('LC_ALL',$this->config['config']['locale_all']);
                        #setlocale('LC_NUMERIC','en_US');