$o .= '<h2>' . t('Edit post') . '</h2>';
- $tpl = load_view_file('view/jot-header.tpl');
+ $tpl = file_get_contents('view/jot-header.tpl');
$a->page['htmlhead'] .= replace_macros($tpl, array(
'$baseurl' => $a->get_baseurl(),
));
- $tpl = load_view_file("view/jot.tpl");
+ $tpl = file_get_contents("view/jot.tpl");
if(($group) || (is_array($a->user) && ((strlen($a->user['allow_cid'])) || (strlen($a->user['allow_gid'])) || (strlen($a->user['deny_cid'])) || (strlen($a->user['deny_gid'])))))
$lockstate = 'lock';