<?php
-if ($Args) {
- $Place['user'] = ltrim($Args, '/');
- include 'login/edit/index.html';
+if ($Page->path and $User->admin('user')) {
+ $user = new User(strtolower("profile{$Page->path}"), FALSE);
+ print $Page->widget('login/admin');
+ $Page->title = "Profiel <em>{$user->login}</em>";
+ print "<h2>{$Page->title}</h2>\n";
+ print $Page->widget('login/edit');
return;
}