aboutsummaryrefslogtreecommitdiffstats
path: root/mod/intro.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-06 01:18:30 -0800
committerfriendica <info@friendica.com>2012-12-06 01:18:30 -0800
commit4603fde9044b09a76dee9167fb312a597974ba59 (patch)
treeba595af73004404f9067d24109dd72b163826f70 /mod/intro.php
parentc6b8ab534f4516605ed276b9f8677f9cf578ea45 (diff)
downloadvolse-hubzilla-4603fde9044b09a76dee9167fb312a597974ba59.tar.gz
volse-hubzilla-4603fde9044b09a76dee9167fb312a597974ba59.tar.bz2
volse-hubzilla-4603fde9044b09a76dee9167fb312a597974ba59.zip
"webbie" isn't going to cut it. We'll go with "channel address" for now.
Diffstat (limited to 'mod/intro.php')
-rw-r--r--mod/intro.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/mod/intro.php b/mod/intro.php
index 4b9d63629..dd98a6c7b 100644
--- a/mod/intro.php
+++ b/mod/intro.php
@@ -31,6 +31,12 @@ function intro_post(&$a) {
}
+function intro_aside(&$a) {
+ require_once('include/contact_widgets.php');
+
+ $a->set_widget('follow', follow_widget());
+
+}
function intro_content(&$a) {
@@ -54,12 +60,12 @@ function intro_content(&$a) {
$a->set_pager_total($r[0]['total']);
if(! intval($r[0]['total'])) {
notice( t('No pending introductions.') . EOL);
- return;
+ return $o;
}
}
else {
notice( t('System error. Please try again later.') . EOL);
- return;
+ return $o;
}
$r = q("select abook.*, xchan.* from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and (abook_flags & %d) and not (abook_flags & %d) LIMIT %d, %d",