bring back load_view_file for dispy templates

This commit is contained in:
Friendika
2011-05-10 23:35:31 -07:00
parent 5903ea38f3
commit a00813497f
7 changed files with 12 additions and 12 deletions

View File

@@ -31,7 +31,7 @@ function editpost_content(&$a) {
$o .= '<h2>' . t('Edit post') . '</h2>';
$tpl = file_get_contents('view/jot-header.tpl');
$tpl = load_view_file('view/jot-header.tpl');
$a->page['htmlhead'] .= replace_macros($tpl, array(
'$baseurl' => $a->get_baseurl(),
@@ -41,7 +41,7 @@ function editpost_content(&$a) {
));
$tpl = file_get_contents("view/jot.tpl");
$tpl = load_view_file("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';