* Modified typo3/sysext/cms/tslib/class.tslib_content.php:
[Packages/TYPO3.CMS.git] / typo3 / file_edit.php
index b609178..e5f438e 100755 (executable)
@@ -66,7 +66,7 @@ require_once (PATH_t3lib.'class.t3lib_basicfilefunc.php');
 
 /**
  * Script Class for rendering the file editing screen
- * 
+ *
  * @author     Kasper Skaarhoj <kasper@typo3.com>
  * @package TYPO3
  * @subpackage core
@@ -86,14 +86,14 @@ class SC_file_edit {
        
        /**
         * Initialize script class
-        * 
-        * @return      void            
+        *
+        * @return      void
         */
        function init() {
                global $BACK_PATH,$TYPO3_CONF_VARS;
                
                        // Setting target, which must be a file reference to a file within the mounts.
-               $this->target = $this->origTarget = t3lib_div::GPvar('target');
+               $this->target = $this->origTarget = t3lib_div::_GP('target');
 
                        // Creating file management object:
                $this->basicff = t3lib_div::makeInstance('t3lib_basicFileFunctions');
@@ -135,8 +135,8 @@ class SC_file_edit {
 
        /**
         * Main function, redering the actual content of the editing page
-        * 
-        * @return      void            
+        *
+        * @return      void
         */
        function main() {
                global $BE_USER, $LANG, $TYPO3_CONF_VARS;
@@ -195,8 +195,8 @@ class SC_file_edit {
 
        /**
         * Outputting the accumulated content to screen
-        * 
-        * @return      void            
+        *
+        * @return      void
         */
        function printContent() {
                echo $this->content;