|
Revision 1301, 416 bytes
(checked in by dramirez, 1 year ago)
|
Moved from units to mod:
Updated .htaccess rules
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
global $page_owner; |
|---|
| 4 |
global $CFG; |
|---|
| 5 |
|
|---|
| 6 |
if (run("permissions:check", "profile")) { |
|---|
| 7 |
|
|---|
| 8 |
$editMsg = __gettext("Click here to edit this profile."); |
|---|
| 9 |
|
|---|
| 10 |
$run_result .= <<< END |
|---|
| 11 |
|
|---|
| 12 |
<p> |
|---|
| 13 |
<a href="{$CFG->wwwroot}profile/edit.php?profile_id=$page_owner">$editMsg</a> |
|---|
| 14 |
</p> |
|---|
| 15 |
|
|---|
| 16 |
END; |
|---|
| 17 |
$run_result .= run("profile:edit:link"); |
|---|
| 18 |
|
|---|
| 19 |
} |
|---|
| 20 |
|
|---|
| 21 |
?> |
|---|