diff options
author | friendica <info@friendica.com> | 2012-12-30 15:28:13 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-12-30 15:28:13 -0800 |
commit | 8eee37e1fabc1bdfbc287e9fbd50cdf89a254f20 (patch) | |
tree | 7462a4ef586558e73f6ff50081f68ff126c88341 /include/text.php | |
parent | a8e16c48b199fc767ef990d171bf0778e9cdc3bc (diff) | |
download | volse-hubzilla-8eee37e1fabc1bdfbc287e9fbd50cdf89a254f20.tar.gz volse-hubzilla-8eee37e1fabc1bdfbc287e9fbd50cdf89a254f20.tar.bz2 volse-hubzilla-8eee37e1fabc1bdfbc287e9fbd50cdf89a254f20.zip |
more logging, some debugging of group membership page
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php index 36b465bea..c91803f30 100644 --- a/include/text.php +++ b/include/text.php @@ -598,10 +598,13 @@ function chanlink_cid($d) { if(! function_exists('micropro')) { function micropro($contact, $redirect = false, $class = '', $textmode = false) { - $url = chanlink_hash($contact['xchan_hash']); + if($contact['click']) + $url = '#'; + else + $url = chanlink_hash($contact['xchan_hash']); return replace_macros(get_markup_template(($textmode)?'micropro_txt.tpl':'micropro_img.tpl'),array( - '$click' => $click, + '$click' => (($contact['click']) ? $contact['click'] : ''), '$class' => $class, '$url' => $url, '$photo' => $contact['xchan_photo_s'], |