--- index.php.org	2010-07-03 14:51:12.000000000 +0200
+++ index.php	2013-03-13 11:31:31.115267478 +0100
@@ -180,7 +180,7 @@
 				</script>
 			';
 
-			$headerSection = $this->doc->getHeader( 'pages', $this->pageinfo, $this->pageinfo['_thePath'] ) . '<br />' . $LANG->php3Lang['labels']['path'] . ': ' . t3lib_div::fixed_lgd_pre( $this->pageinfo['_thePath'],50);
+			$headerSection = $this->doc->getHeader( 'pages', $this->pageinfo, $this->pageinfo['_thePath'] ) . '<br />' . $LANG->php3Lang['labels']['path'] . ': ' . t3lib_div::fixed_lgd_cs( $this->pageinfo['_thePath'],-50);
 
 			$this->content .= $this->doc->startPage( $LANG->getLL( 'title' ) );
 			$this->content .= $this->doc->header( $LANG->getLL( 'title' ) );
@@ -219,7 +219,7 @@
 	function printContent() {
 		global $SOBE;
 
-		$this->content .= $this->doc->middle();
+#		$this->content .= $this->doc->middle();
 		$this->content .= $this->doc->endPage();
 		echo $this->content;
 	}
@@ -235,8 +235,8 @@
 		global $LANG;
 
 		// Get action and uid values
-		$action = t3lib_div::GPvar( 'action' );
-		$uid = t3lib_div::GPvar( 'uid' );
+		$action = t3lib_div::_GP( 'action' );
+		$uid = t3lib_div::_GP( 'uid' );
 
 		switch( (string)$this->MOD_SETTINGS['function'] ) {
 			/**
@@ -315,9 +315,9 @@
 			 * FUNCTION: Import categories/downloads from DB
 			 */
   			case 4:
-				$type = t3lib_div::GPvar( 'type' );
-				$table = t3lib_div::GPvar( 'table' );
-				$generateQuery = t3lib_div::GPvar( 'generateQuery' );
+				$type = t3lib_div::_GP( 'type' );
+				$table = t3lib_div::_GP( 'table' );
+				$generateQuery = t3lib_div::_GP( 'generateQuery' );
 
   				// Decide what to do
   				if( $action == null || $action == '' ) {
@@ -331,9 +331,9 @@
 			 * FUNCTION: Import categories/downloads from CSV
 			 */
 			case 5:
-				$type = t3lib_div::GPvar( 'type' );
-				$importCSV = t3lib_div::GPvar( 'importCSV' );
-				$overwriteExisting = t3lib_div::GPvar( 'overwriteExisting' );
+				$type = t3lib_div::_GP( 'type' );
+				$importCSV = t3lib_div::_GP( 'importCSV' );
+				$overwriteExisting = t3lib_div::_GP( 'overwriteExisting' );
 
   				// Decide what to do
   				if( $action == null || $action == '' ) {
@@ -347,13 +347,13 @@
 			 * FUNCTION: Export categories/downloads
 			 */
   			case 6:
-				$type = t3lib_div::GPvar( 'type' );
-				$properties = t3lib_div::GPvar( 'properties' );
+				$type = t3lib_div::_GP( 'type' );
+				$properties = t3lib_div::_GP( 'properties' );
 				if( is_array( $properties ) )
 					$properties = implode( ',', $properties );
 
-				$outputFormat = t3lib_div::GPvar( 'outputFormat' );
-				$generateOutput = t3lib_div::GPvar( 'generateOutput' );
+				$outputFormat = t3lib_div::_GP( 'outputFormat' );
+				$generateOutput = t3lib_div::_GP( 'generateOutput' );
 
   				// Decide what to do
   				if( $action == null || $action == '' ) {
@@ -637,7 +637,7 @@
 		}
 
 		// Get and set pagebrowser values
-		$pointer = t3lib_div::GPvar( 'pointer' );
+		$pointer = t3lib_div::_GP( 'pointer' );
 		if ( $pointer > 0 ) {
 			$pointer = $pointer * $listLimit;
 		} else {
@@ -833,8 +833,8 @@
 
 		// Step 3: Show fields form
 		if( $type != null && $table != null ) {
-			$fields = t3lib_div::GPvar( 'field' );
-			$defines = t3lib_div::GPvar( 'define' );
+			$fields = t3lib_div::_GP( 'field' );
+			$defines = t3lib_div::_GP( 'define' );
 			$fieldBlacklist = array( 't3ver_', 't3_' );
 
 			$content .= '<img src="import_step_3.gif" border="0" /> <b>Assign the foreign database fields to the available database fields of this extension:</b><br />';
@@ -1350,10 +1350,10 @@
 			$download = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows( 'label,description,file,category', $theTable, $theField . '=' . $GLOBALS['TYPO3_DB']->quoteStr( $theValue, $theTable ) . ' ' . $whereClause, $groupBy, $orderBy, $limit );			
 
 			// Get variables from POST values or database record
-			$label = t3lib_div::GPvar( 'label' ) ? t3lib_div::GPvar( 'label' ) : $download[0]['label'];
-			$description = t3lib_div::GPvar( 'description' ) ? t3lib_div::GPvar( 'description' ) : $download[0]['description'];
-			$file = t3lib_div::GPvar( 'file' ) ? t3lib_div::GPvar( 'file' ) : $download[0]['file'];
-			$categoryUID = t3lib_div::GPvar( 'categoryUID' ) ? t3lib_div::GPvar( 'categoryUID' ) : $download[0]['category'];
+			$label = t3lib_div::_GP( 'label' ) ? t3lib_div::_GP( 'label' ) : $download[0]['label'];
+			$description = t3lib_div::_GP( 'description' ) ? t3lib_div::_GP( 'description' ) : $download[0]['description'];
+			$file = t3lib_div::_GP( 'file' ) ? t3lib_div::_GP( 'file' ) : $download[0]['file'];
+			$categoryUID = t3lib_div::_GP( 'categoryUID' ) ? t3lib_div::_GP( 'categoryUID' ) : $download[0]['category'];
 
 			if( $this->debug ) {
 				echo urldecode( $_SERVER['QUERY_STRING'] ) . "<br />";
