deprecate load_view_file
This commit is contained in:
parent
a00813497f
commit
b2e92e0af3
36 changed files with 135 additions and 102 deletions
|
@ -133,7 +133,7 @@ function follow_post(&$a) {
|
|||
|
||||
// create a follow slap
|
||||
|
||||
$tpl = file_get_contents('view/follow_slap.tpl');
|
||||
$tpl = get_markup_template('follow_slap.tpl');
|
||||
$slap = replace_macros($tpl, array(
|
||||
'$name' => $a->user['username'],
|
||||
'$profile_page' => $a->get_baseurl() . '/profile/' . $a->user['nickname'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue