localisation path for all view templates
This commit is contained in:
parent
124129e2a0
commit
d5a13b1e4c
28 changed files with 113 additions and 100 deletions
|
@ -175,7 +175,7 @@ function item_post(&$a) {
|
|||
if(($user['notify-flags'] & NOTIFY_COMMENT) && ($contact_record != $author)) {
|
||||
require_once('bbcode.php');
|
||||
$from = $author['name'];
|
||||
$tpl = file_get_contents('view/cmnt_received_eml.tpl');
|
||||
$tpl = load_view_file('view/cmnt_received_eml.tpl');
|
||||
$email_tpl = replace_macros($tpl, array(
|
||||
'$sitename' => $a->config['sitename'],
|
||||
'$siteurl' => $a->get_baseurl(),
|
||||
|
@ -195,7 +195,7 @@ function item_post(&$a) {
|
|||
if(($user['notify-flags'] & NOTIFY_WALL) && ($contact_record != $author)) {
|
||||
require_once('bbcode.php');
|
||||
$from = $author['name'];
|
||||
$tpl = file_get_contents('view/wall_received_eml.tpl');
|
||||
$tpl = load_view_file('view/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