aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_request.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-09-22 18:00:19 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-09-22 18:00:19 -0700
commitd5a13b1e4c0f35445aa539ff6b3779062907a9cb (patch)
tree1cc8fd26bb33981c2ab676a20aadec9d93b865ce /mod/dfrn_request.php
parent124129e2a06a6ae82c283c8c10b7c3c7d0a0fdae (diff)
downloadvolse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.tar.gz
volse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.tar.bz2
volse-hubzilla-d5a13b1e4c0f35445aa539ff6b3779062907a9cb.zip
localisation path for all view templates
Diffstat (limited to 'mod/dfrn_request.php')
-rw-r--r--mod/dfrn_request.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php
index a22492fe6..1458ba8e4 100644
--- a/mod/dfrn_request.php
+++ b/mod/dfrn_request.php
@@ -356,7 +356,7 @@ function dfrn_request_content(&$a) {
$dfrn_url = notags(trim(hex2bin($_GET['dfrn_url'])));
$aes_allow = (((x($_GET,'aes_allow')) && ($_GET['aes_allow'] == 1)) ? 1 : 0);
$confirm_key = (x($_GET,'confirm_key') ? $_GET['confirm_key'] : "");
- $o .= file_get_contents("view/dfrn_req_confirm.tpl");
+ $o .= load_view_file("view/dfrn_req_confirm.tpl");
$o = replace_macros($o,array(
'$dfrn_url' => $dfrn_url,
'$aes_allow' => (($aes_allow) ? '<input type="hidden" name="aes_allow" value="1" />' : "" ),
@@ -388,7 +388,7 @@ function dfrn_request_content(&$a) {
if(count($r)) {
if($r[0]['notify-flags'] & NOTIFY_INTRO) {
- $email_tpl = file_get_contents('view/request_notify_eml.tpl');
+ $email_tpl = load_view_file('view/request_notify_eml.tpl');
$email = replace_macros($email_tpl, array(
'$requestor' => ((strlen(stripslashes($r[0]['name']))) ? stripslashes($r[0]['name']) : t('[Name Withheld]')),
'$url' => stripslashes($r[0]['url']),
@@ -416,7 +416,7 @@ function dfrn_request_content(&$a) {
// Normal web request. Display our user's introduction form.
- $o = file_get_contents("view/dfrn_request.tpl");
+ $o = load_view_file("view/dfrn_request.tpl");
$o = replace_macros($o,array('$nickname' => $a->argv[1]));
return $o;
}