mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:45:16 +02:00
deprecate load_view_file
This commit is contained in:
parent
a00813497f
commit
b2e92e0af3
36 changed files with 135 additions and 102 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue