<?php
-if ($Args) {
- ob_clean();
- include 'login/edit/index.html';
+if ($Page->path and $User->admin('user')) {
+ global $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;
}