X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/b3aec6cf1cd18493d44cf68d88c8f55b6a417f9c..9eec87784fb92f622c2be8bc53ebd4b98212b703:/login/edit/index.php diff --git a/login/edit/index.php b/login/edit/index.php index c56109f..a8684bf 100644 --- a/login/edit/index.php +++ b/login/edit/index.php @@ -1,6 +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; }