X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/41a0a7314f1ded16e05af79d0d7f3b945b799486..9eec87784fb92f622c2be8bc53ebd4b98212b703:/login/edit/index.php diff --git a/login/edit/index.php b/login/edit/index.php index b92104c..a8684bf 100644 --- a/login/edit/index.php +++ b/login/edit/index.php @@ -1,5 +1,10 @@ path and $User->admin('user')) { + global $user; + $user = new User(strtolower("profile{$Page->path}"), FALSE); + print $Page->widget('login/admin'); + $Page->title = "Profiel {$user->login}"; + print "

{$Page->title}

\n"; + print $Page->widget('login/edit'); + return; }