aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhabeascodice <habeascodice@federated.social>2014-09-28 19:33:37 -0700
committerhabeascodice <habeascodice@federated.social>2014-09-28 19:33:37 -0700
commitc07643e407aab16ecabfdf5f641166583e02ec36 (patch)
tree008b73b3a2c9c649cc3492113534a6cfe3731e7e
parent5f58603158e6da52547e4ef88c38f6804917ab82 (diff)
downloadvolse-hubzilla-c07643e407aab16ecabfdf5f641166583e02ec36.tar.gz
volse-hubzilla-c07643e407aab16ecabfdf5f641166583e02ec36.tar.bz2
volse-hubzilla-c07643e407aab16ecabfdf5f641166583e02ec36.zip
Allows extra content to be inserted at end of profile_photo page. Needed for openclipatar addon.
-rw-r--r--mod/profile_photo.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/profile_photo.php b/mod/profile_photo.php
index c587b9606..aad9c9d16 100644
--- a/mod/profile_photo.php
+++ b/mod/profile_photo.php
@@ -364,7 +364,9 @@ function profile_photo_content(&$a) {
// FIXME - yuk
'$select' => sprintf('%s %s', t('or'), ($newuser) ? '<a href="' . $a->get_baseurl() . '">' . t('skip this step') . '</a>' : '<a href="'. $a->get_baseurl() . '/photos/' . $a->channel['channel_address'] . '">' . t('select a photo from your photo albums') . '</a>')
));
-
+
+ call_hooks('profile_photo_content_end', $o);
+
return $o;
}
else {