* Added "config.doctype = none" support - omits any doctype in the frontend.
[Packages/TYPO3.CMS.git] / typo3 / file_newfolder.php
index 175216b..2328288 100755 (executable)
@@ -68,7 +68,7 @@ require_once (PATH_t3lib.'class.t3lib_basicfilefunc.php');
 
 /**
  * Script Class for the create-new script; Displays a form for creating up to 10 folders or one new text file
- * 
+ *
  * @author     Kasper Skaarhoj <kasper@typo3.com>
  * @package TYPO3
  * @subpackage core
@@ -96,15 +96,15 @@ class SC_file_newfolder {
 
        /**
         * Constructor function for class
-        * 
-        * @return      void            
+        *
+        * @return      void
         */
        function init() {
                global $LANG,$BACK_PATH,$TYPO3_CONF_VARS;
 
                        // Initialize GPvars:
-               $this->number = t3lib_div::GPvar('number');
-               $this->target = t3lib_div::GPvar('target');
+               $this->number = t3lib_div::_GP('number');
+               $this->target = t3lib_div::_GP('target');
                        
                        // Init basic-file-functions object:
                $this->basicff = t3lib_div::makeInstance('t3lib_basicFileFunctions');
@@ -155,8 +155,8 @@ class SC_file_newfolder {
 
        /**
         * Main function, rendering the main module content
-        * 
-        * @return      void            
+        *
+        * @return      void
         */
        function main() {
                global $LANG;
@@ -242,8 +242,8 @@ class SC_file_newfolder {
 
        /**
         * Outputting the accumulated content to screen
-        * 
-        * @return      void            
+        *
+        * @return      void
         */
        function printContent() {