Fixed bug #4742: link to user on User Admin page is following to wrong URL
authorMartin Kutschker <martin.t.kutschker@blackbox.net>
Tue, 6 Feb 2007 10:55:41 +0000 (10:55 +0000)
committerMartin Kutschker <martin.t.kutschker@blackbox.net>
Tue, 6 Feb 2007 10:55:41 +0000 (10:55 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2005 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/beuser/mod/index.php

index 7c87124..8baec81 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+
+2007-02-06  Martin Kutschker  <martin.t.kutschker@blackbox.net>
+
+       * Fixed bug #4742: link to user on User Admin page is following to wrong URL
+
 2007-02-06  Michael Stucki  <michael@typo3.org>
 
        * Added feature #4592: Keep indexed_search tables consistent when deleting/hiding pages (Thanks to Michael Fritz)
index ba3304f..5077a54 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 1999-2006 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 1999-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -1260,7 +1260,7 @@ class SC_mod_tools_be_user_index {
                        $outTable = '<table border="0" cellpadding="1" cellspacing="1"><tr class="bgColor5"><td>'.t3lib_iconWorks::getIconImage('be_users',$tempBE_USER->user,$GLOBALS['BACK_PATH'],'class="absmiddle" title="'.$tempBE_USER->user['uid'].'"').$tempBE_USER->user['username'].'</td>';
                        $outTable.= '<td>'.$tempBE_USER->user['realName'].($tempBE_USER->user['email'] ? ', <a href="mailto:'.$tempBE_USER->user['email'].'">'.$tempBE_USER->user['email'].'</a>' : '').'</td>';
                        $outTable.= '<td>'.$this->elementLinks('be_users',$tempBE_USER->user).'</td></tr></table>';
-                       $outTable.= '<strong><a href="'.htmlspecialchars($MCONF['_']).'">&lt; Back to overview</a></strong><br />';
+                       $outTable.= '<strong><a href="'.htmlspecialchars($this->MCONF['_']).'">&lt; Back to overview</a></strong><br />';
 
                        $outTable.= '<br /><table border="0" cellpadding="2" cellspacing="1">'.implode('',$lines).'</table>';
                        $content.= $this->doc->section('User info',$outTable,0,1);
@@ -1391,7 +1391,7 @@ class SC_mod_tools_be_user_index {
         * @return      [type]          ...
         */
        function linkUser($str,$rec)    {
-               return '<a href="'.htmlspecialchars($MCONF['_']).'&be_user_uid='.$rec['uid'].'">'.$str.'</a>';
+               return '<a href="'.htmlspecialchars($this->MCONF['_']).'&be_user_uid='.$rec['uid'].'">'.$str.'</a>';
        }
 
        /**