mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
localisation path for all view templates
This commit is contained in:
parent
124129e2a0
commit
d5a13b1e4c
28 changed files with 113 additions and 100 deletions
|
@ -103,7 +103,7 @@ function dfrn_notify_post(&$a) {
|
|||
|
||||
require_once('bbcode.php');
|
||||
if($importer['notify-flags'] & NOTIFY_MAIL) {
|
||||
$tpl = file_get_contents('view/mail_received_eml.tpl');
|
||||
$tpl = load_view_file('view/mail_received_eml.tpl');
|
||||
$email_tpl = replace_macros($tpl, array(
|
||||
'$sitename' => $a->config['sitename'],
|
||||
'$siteurl' => $a->get_baseurl(),
|
||||
|
@ -241,7 +241,7 @@ function dfrn_notify_post(&$a) {
|
|||
if(($importer['notify-flags'] & NOTIFY_COMMENT) && (! $importer['self'])) {
|
||||
require_once('bbcode.php');
|
||||
$from = stripslashes($datarray['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(),
|
||||
|
@ -307,7 +307,7 @@ function dfrn_notify_post(&$a) {
|
|||
continue;
|
||||
require_once('bbcode.php');
|
||||
$from = stripslashes($datarray['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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue