forked from friendica/friendica-addons
only sparklify the links, not the photos as they aren't linked
This commit is contained in:
parent
18c59bd2e7
commit
a60d66c70a
|
@ -65,7 +65,7 @@ function page_page_end($a,&$b) {
|
||||||
$more = false;
|
$more = false;
|
||||||
|
|
||||||
foreach($contacts as $contact) {
|
foreach($contacts as $contact) {
|
||||||
$page .= '<li style="list-style-type: none;" class="tool sparkle"><img height="20" width="20" src="' . $contact['micro'] .'" alt="' . $contact['url'] . '" /> <a href="'.$a->get_baseurl().'/redir/'.$contact["id"].'" title="' . $contact['url'] . '" class="label sparkle" target="external-link">'.
|
$page .= '<li style="list-style-type: none;" class="tool"><img height="20" width="20" src="' . $contact['micro'] .'" alt="' . $contact['url'] . '" /> <a href="'.$a->get_baseurl().'/redir/'.$contact["id"].'" title="' . $contact['url'] . '" class="label sparkle" target="external-link">'.
|
||||||
$contact["name"]."</a></li>";
|
$contact["name"]."</a></li>";
|
||||||
$total_shown ++;
|
$total_shown ++;
|
||||||
if($total_shown == 6) {
|
if($total_shown == 6) {
|
||||||
|
@ -99,7 +99,7 @@ function page_network_mod_init($a,$b) {
|
||||||
$more = false;
|
$more = false;
|
||||||
|
|
||||||
foreach($contacts as $contact) {
|
foreach($contacts as $contact) {
|
||||||
$page .= '<li style="list-style-type: none;" class="tool sparkle"><img height="20" width="20" src="' . $contact['micro'] .'" alt="' . $contact['url'] . '" /> <a href="'.$a->get_baseurl().'/redir/'.$contact["id"].'" title="' . $contact['url'] . '" class="label sparkle" target="external-link">'.
|
$page .= '<li style="list-style-type: none;" class="tool"><img height="20" width="20" src="' . $contact['micro'] .'" alt="' . $contact['url'] . '" /> <a href="'.$a->get_baseurl().'/redir/'.$contact["id"].'" title="' . $contact['url'] . '" class="label sparkle" target="external-link">'.
|
||||||
$contact["name"]."</a></li>";
|
$contact["name"]."</a></li>";
|
||||||
$total_shown ++;
|
$total_shown ++;
|
||||||
if(($show_total) && ($total_shown == $show_total)) {
|
if(($show_total) && ($total_shown == $show_total)) {
|
||||||
|
|
Loading…
Reference in a new issue