missed block
This commit is contained in:
parent
f53a2d6da9
commit
813d6c453c
1 changed files with 2 additions and 1 deletions
|
@ -165,10 +165,11 @@ EOT;
|
||||||
intval($_SESSION['uid'])
|
intval($_SESSION['uid'])
|
||||||
);
|
);
|
||||||
if(count($r)) {
|
if(count($r)) {
|
||||||
foreach($r as $rr)
|
foreach($r as $rr) {
|
||||||
$selected = (($group_id == $rr['id']) ? ' class="group-selected" ' : '');
|
$selected = (($group_id == $rr['id']) ? ' class="group-selected" ' : '');
|
||||||
$o .= ' <li class="sidebar-group-li">' . (($edit) ? "<a href=\"group/{$rr['id']}\" title=\"" . t('Edit') . "\" ><img src=\"images/spencil.gif\" alt=\"" . t('Edit') . "\"></a> " : "") . "<a href=\"$each/{$rr['id']}\" $selected >{$rr['name']}</a></li>\r\n";
|
$o .= ' <li class="sidebar-group-li">' . (($edit) ? "<a href=\"group/{$rr['id']}\" title=\"" . t('Edit') . "\" ><img src=\"images/spencil.gif\" alt=\"" . t('Edit') . "\"></a> " : "") . "<a href=\"$each/{$rr['id']}\" $selected >{$rr['name']}</a></li>\r\n";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$o .= " </ul>\r\n </div>\r\n</div>";
|
$o .= " </ul>\r\n </div>\r\n</div>";
|
||||||
|
|
||||||
return $o;
|
return $o;
|
||||||
|
|
Loading…
Reference in a new issue