login/edit: move admin block to distinct widget
[minimedit.git] / login / edit / index.php
index fb668cfbe4fb3262bce8857f7cfb732e9ec2664f..a880b182d7d46d8e4946b3e97eac1d580af22929 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 if ($Args and $User->admin('user')) {
        $user = new User(strtolower("profile$Args"), FALSE);
+       print placeholder_include('login/admin');
        $Article->title = "Profiel <em>{$user->login}</em>";
        print "<h2>{$Article->title}</h2>\n";
        print placeholder_include('login/edit');