deprecate load_view_file
This commit is contained in:
parent
a00813497f
commit
b2e92e0af3
36 changed files with 135 additions and 102 deletions
|
@ -464,7 +464,7 @@ function item_post(&$a) {
|
|||
if(($user['notify-flags'] & NOTIFY_COMMENT) && ($contact_record != $author)) {
|
||||
require_once('bbcode.php');
|
||||
$from = $author['name'];
|
||||
$tpl = load_view_file('view/cmnt_received_eml.tpl');
|
||||
$tpl = get_intltext_template('cmnt_received_eml.tpl');
|
||||
$email_tpl = replace_macros($tpl, array(
|
||||
'$sitename' => $a->config['sitename'],
|
||||
'$siteurl' => $a->get_baseurl(),
|
||||
|
@ -490,7 +490,7 @@ function item_post(&$a) {
|
|||
if(($user['notify-flags'] & NOTIFY_WALL) && ($contact_record != $author)) {
|
||||
require_once('bbcode.php');
|
||||
$from = $author['name'];
|
||||
$tpl = load_view_file('view/wall_received_eml.tpl');
|
||||
$tpl = get_intltext_template('wall_received_eml.tpl');
|
||||
$email_tpl = replace_macros($tpl, array(
|
||||
'$sitename' => $a->config['sitename'],
|
||||
'$siteurl' => $a->get_baseurl(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue