acl stuff

This commit is contained in:
Mike Macgirvin 2010-07-12 18:00:58 -07:00
commit baad288430
5 changed files with 90 additions and 6 deletions

View file

@ -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']
));
}