diff options
author | friendica <info@friendica.com> | 2014-01-09 19:00:06 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-09 19:00:06 -0800 |
commit | 49882f2be4ef9d1b28c72f8101fe9b15d7176ff6 (patch) | |
tree | 6a6c180ed37609a191a14e0657639388a21c2c93 /mod | |
parent | 170d4c9c68486d875f3b7f9574bb0b00524b5f33 (diff) | |
download | volse-hubzilla-49882f2be4ef9d1b28c72f8101fe9b15d7176ff6.tar.gz volse-hubzilla-49882f2be4ef9d1b28c72f8101fe9b15d7176ff6.tar.bz2 volse-hubzilla-49882f2be4ef9d1b28c72f8101fe9b15d7176ff6.zip |
add cloud link to profile_tabs and Comanchify the sucker
Diffstat (limited to 'mod')
-rw-r--r-- | mod/cloud.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/cloud.php b/mod/cloud.php index a72d0f108..29218f84e 100644 --- a/mod/cloud.php +++ b/mod/cloud.php @@ -32,6 +32,21 @@ function cloud_init(&$a) { require_once('include/reddav.php'); + $which = null; + if(argc() > 1) + $which = argv(1); + + $profile = 0; + $channel = $a->get_channel(); + + $a->page['htmlhead'] .= '<link rel="alternate" type="application/atom+xml" href="' . $a->get_baseurl() . '/feed/' . $which .'" />' . "\r\n" ; + + if($which) + profile_load($a,$which,$profile); + + + + $auth = new RedBasicAuth(); $ob_hash = get_observer_hash(); |