diff options
author | Friendika <info@friendika.com> | 2011-04-12 01:31:55 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-12 01:31:55 -0700 |
commit | 61915a524debe3db08a07f0adb86033ee894be28 (patch) | |
tree | 6eddd43d6e6994bf2571b868ba0f4db515eb520e /boot.php | |
parent | 6da84027afa18633ac5d5dacce99bb244be2aa7b (diff) | |
download | volse-hubzilla-61915a524debe3db08a07f0adb86033ee894be28.tar.gz volse-hubzilla-61915a524debe3db08a07f0adb86033ee894be28.tar.bz2 volse-hubzilla-61915a524debe3db08a07f0adb86033ee894be28.zip |
first cut at group chooser UI
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -2076,10 +2076,14 @@ function micropro($contact, $redirect = false, $class = '') { $sparkle = ' sparkle'; } } - + $click = ((x($contact,'click')) ? ' onclick="' . $contact['click'] . '" ' : ''); + if($click) + $url = ''; return '<div class="contact-block-div' . $class . '"><a class="contact-block-link' . $class . $sparkle - . '" href="' . $url . '" ><img class="contact-block-img' . $class . $sparkle . '" src="' . $contact['micro'] - . '" title="' . $contact['name'] . ' [' . $contact['url'] . ']" alt="' . $contact['name'] . '" /></a></div>' . "\r\n"; + . (($click) ? ' fakelink' : '') . '" ' + . (($url) ? '" href="' . $url . '"' : '') . $click . ' ><img class="contact-block-img' . $class . $sparkle . '" src="' + . $contact['micro'] . '" title="' . $contact['name'] . ' [' . $contact['url'] . ']" alt="' . $contact['name'] + . '" /></a></div>' . "\r\n"; }} |