git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
edit/head: check original file request for writability
[minimedit.git]
/
login
/
edit
/
index.php
diff --git
a/login/edit/index.php
b/login/edit/index.php
index 3360ec7bab093356a19be45f4313ad3faaf22204..2ba0cf38711729942f86ba353ab8db1c59207055 100644
(file)
--- a/
login/edit/index.php
+++ b/
login/edit/index.php
@@
-1,9
+1,9
@@
<?php
if ($Page->path and $User->admin('user')) {
$user = new User(strtolower("profile{$Page->path}"), FALSE);
<?php
if ($Page->path and $User->admin('user')) {
$user = new User(strtolower("profile{$Page->path}"), FALSE);
- print
placeholder_include
('login/admin');
+ print
$Page->widget
('login/admin');
$Page->title = "Profiel <em>{$user->login}</em>";
print "<h2>{$Page->title}</h2>\n";
$Page->title = "Profiel <em>{$user->login}</em>";
print "<h2>{$Page->title}</h2>\n";
- print
placeholder_include
('login/edit');
+ print
$Page->widget
('login/edit');
return;
}
return;
}