summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
34e9faa)
Fix admin editing of other profiles.
<?php
if ($Page->path and $User->admin('user')) {
<?php
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>";
$user = new User(strtolower("profile{$Page->path}"), FALSE);
print $Page->widget('login/admin');
$Page->title = "Profiel <em>{$user->login}</em>";