fixed a few bugs
authorKasper Skårhøj <kasper@typo3.org>
Mon, 15 Dec 2003 23:40:41 +0000 (23:40 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Mon, 15 Dec 2003 23:40:41 +0000 (23:40 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@70 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/alt_menu.php
typo3/db_new.php

index 72d065b..af7ca7a 100755 (executable)
@@ -150,7 +150,7 @@ class SC_alt_menu {
 
                                // clear all page cache
                        $href = htmlspecialchars($this->backPath.'tce_db.php?vC='.$BE_USER->veriCode().
-                                               '&redirect='.rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')).
+                                               '&redirect='.rawurlencode(t3lib_div::getIndpEnv('TYPO3_REQUEST_SCRIPT')).
                                                '&cacheCmd=all'
                                        );
                        $this->content.='
index fc13e4f..084b86d 100755 (executable)
@@ -383,8 +383,8 @@ class SC_db_new {
                        $t='pages';
                        $v=$TCA[$t];
                        $this->code.=$this->linkWrap(
-                                       t3lib_iconWorks::getIconImage($t,array(),$BACK_PATH,''),
-                                       $LANG->sL($v['ctrl']['title'],1).' ('.$LANG->sL('LLL:EXT:lang/locallang_core.php:db_new.php.after',1).')',
+                                       t3lib_iconWorks::getIconImage($t,array(),$BACK_PATH,'').
+                                               $LANG->sL($v['ctrl']['title'],1).' ('.$LANG->sL('LLL:EXT:lang/locallang_core.php:db_new.php.after',1).')',
                                        'pages',
                                        -$this->id
                                );