mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 14:10:21 +00:00
Improved accessibility for "forumlist"
This commit is contained in:
parent
52e15fd889
commit
9f49993c9b
1 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ function forumlist_network_mod_init($a,$b) {
|
|||
|
||||
$forumlist .= '<div id="hide-forum-list" class="fakelink" onclick="openClose(\'forum-list\');" >'
|
||||
. t('show/hide') . '</div>'
|
||||
. '<div id="forum-list" style="display: none;">';
|
||||
. '<div role="menu" id="forum-list" style="display: none;">';
|
||||
|
||||
|
||||
$randomise = intval(get_pconfig(local_user(),'forumlist','randomise'));
|
||||
|
@ -74,7 +74,7 @@ function forumlist_network_mod_init($a,$b) {
|
|||
|
||||
if(count($contacts)) {
|
||||
foreach($contacts as $contact) {
|
||||
$forumlist .= '<div><a href="' . $a->get_baseurl() . '/redir/' . $contact["id"] . '" title="' . $contact['url'] . '" class="label sparkle" target="_blank"><img class="forumlist-img" height="20" width="20" src="' . $contact['micro'] .'" alt="' . $contact['url'] . '" /></a> <a href="' . $a->get_baseurl() . '/network?f=&cid=' . $contact['id'] . '" >' . $contact["name"]."</a></div>";
|
||||
$forumlist .= '<div role="menuitem"><a href="' . $a->get_baseurl() . '/redir/' . $contact["id"] . '" title="'.t('External link to forum').'" class="label sparkle" target="_blank"><img class="forumlist-img" height="20" width="20" src="' . $contact['micro'] .'" alt="'.t('External link to forum').'" /></a> <a href="' . $a->get_baseurl() . '/network?f=&cid=' . $contact['id'] . '" >' . $contact["name"]."</a></div>";
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue