aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-27 14:17:42 -0800
committerFriendika <info@friendika.com>2011-02-27 14:17:42 -0800
commit9102fb3a6f5f205fc9d178ae2ce656674b1ba106 (patch)
tree433ec74d7045227b6e035aec5f214cf8fc2c47f3 /mod/profile.php
parentb41b0fcba93ad1a393531cb18ae5e6957e284754 (diff)
downloadvolse-hubzilla-9102fb3a6f5f205fc9d178ae2ce656674b1ba106.tar.gz
volse-hubzilla-9102fb3a6f5f205fc9d178ae2ce656674b1ba106.tar.bz2
volse-hubzilla-9102fb3a6f5f205fc9d178ae2ce656674b1ba106.zip
autodiscover community pages for the directory
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 15a3a861f..827530bc8 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -18,6 +18,9 @@ function profile_init(&$a) {
profile_load($a,$which,$profile);
+ if((x($a->profile,'page-flags')) && ($a->profile['page-flags'] & PAGE_COMMUNITY)) {
+ $a->page['htmlhead'] .= '<meta name="friendika.community" content="true" />';
+ }
if(x($a->profile,'openidserver'))
$a->page['htmlhead'] .= '<link rel="openid.server" href="' . $a->profile['openidserver'] . '" />' . "\r\n";
if(x($a->profile,'openid')) {