mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 12:43:40 +00:00
tweaks to page plugin
This commit is contained in:
parent
2a193c4f09
commit
4f925a9e4a
2 changed files with 2 additions and 2 deletions
BIN
page.tgz
BIN
page.tgz
Binary file not shown.
|
@ -1,7 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* Name: Page
|
* Name: Page
|
||||||
* Description: Shows lists of community pages (improved performance over 'pages)
|
* Description: Shows lists of community pages (improved performance over 'pages')
|
||||||
* Version: 1.0
|
* Version: 1.0
|
||||||
* Author: Mike Macgirvin <mike@macgirvin.com>
|
* Author: Mike Macgirvin <mike@macgirvin.com>
|
||||||
* based on pages plugin by
|
* based on pages plugin by
|
||||||
|
@ -50,7 +50,7 @@ function page_page_end($a,&$b) {
|
||||||
$contacts = page_getpage($a->user['uid']);
|
$contacts = page_getpage($a->user['uid']);
|
||||||
|
|
||||||
foreach($contacts as $contact) {
|
foreach($contacts as $contact) {
|
||||||
$page .= '<li style="list-style-type: none;" class="tool"><img height="16" width="16" src="' . $contact['micro'] .'" alt="' . $contact['url'] . '" /> <a href="'.$a->get_baseurl().'/redir/'.$contact["id"].'" class="label" 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" target="external-link">'.
|
||||||
$contact["name"]."</a></li>";
|
$contact["name"]."</a></li>";
|
||||||
}
|
}
|
||||||
$page .= "</ul></div></div>";
|
$page .= "</ul></div></div>";
|
||||||
|
|
Loading…
Reference in a new issue