diff options
author | Friendika <info@friendika.com> | 2011-05-11 04:37:13 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-05-11 04:37:13 -0700 |
commit | b2e92e0af32f86212d15748c6d432d658905d4b6 (patch) | |
tree | 72bf3054b2c1827166f632d7a1970a266c575134 /mod/editpost.php | |
parent | a00813497fccf295d72e35537599409b3f1eaa22 (diff) | |
download | volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.tar.gz volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.tar.bz2 volse-hubzilla-b2e92e0af32f86212d15748c6d432d658905d4b6.zip |
deprecate load_view_file
Diffstat (limited to 'mod/editpost.php')
-rw-r--r-- | mod/editpost.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/editpost.php b/mod/editpost.php index fd84fc26d..ab37cfe00 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -31,7 +31,7 @@ function editpost_content(&$a) { $o .= '<h2>' . t('Edit post') . '</h2>'; - $tpl = load_view_file('view/jot-header.tpl'); + $tpl = get_markup_template('jot-header.tpl'); $a->page['htmlhead'] .= replace_macros($tpl, array( '$baseurl' => $a->get_baseurl(), @@ -41,7 +41,7 @@ function editpost_content(&$a) { )); - $tpl = load_view_file("view/jot.tpl"); + $tpl = get_markup_template("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'; |