aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_request.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-18 16:38:48 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-18 16:38:48 -0700
commit3876cab8eac1364e7074e8da9aeb83badb3b65b3 (patch)
treecc6eb62935872a0afdc8cab55d7f45bf9ef0c45c /mod/dfrn_request.php
parentac824fe83e67950f9303d13d574ff00b57dd5727 (diff)
downloadvolse-hubzilla-3876cab8eac1364e7074e8da9aeb83badb3b65b3.tar.gz
volse-hubzilla-3876cab8eac1364e7074e8da9aeb83badb3b65b3.tar.bz2
volse-hubzilla-3876cab8eac1364e7074e8da9aeb83badb3b65b3.zip
sorting out the last(?) quirks in group pages.
Diffstat (limited to 'mod/dfrn_request.php')
-rw-r--r--mod/dfrn_request.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php
index 0fbd164c0..7a3060ff4 100644
--- a/mod/dfrn_request.php
+++ b/mod/dfrn_request.php
@@ -472,9 +472,11 @@ function dfrn_request_content(&$a) {
else {
// Normal web request. Display our user's introduction form.
-
- $o = load_view_file("view/dfrn_request.tpl");
- $o = replace_macros($o,array('$nickname' => $a->argv[1]));
+ if($a->profile['page-flags'] == PAGE_NORMAL)
+ $tpl = load_view_file('view/dfrn_request.tpl');
+ else
+ $tpl = load_view_file('view/auto_request.tpl');
+ $o .= replace_macros($tpl,array('$nickname' => $a->argv[1]));
return $o;
}