aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/profile.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 39d1b7c6a..5d1b04b33 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -135,10 +135,14 @@ function profile_content(&$a) {
$tpl = file_get_contents('view/jot-header.tpl');
$a->page['htmlhead'] .= replace_macros($tpl, array('$baseurl' => $a->get_baseurl()));
+ require_once('view/acl_selectors.php');
$tpl = file_get_contents("view/jot.tpl");
+
$o .= replace_macros($tpl,array(
'$baseurl' => $a->get_baseurl(),
+ '$lockstate' => 'unlock',
+ '$acl' => populate_acl(),
'$profile_uid' => $a->profile['profile_uid']
));
}