forked from friendica/friendica-addons
don't show a "more" link
This commit is contained in:
parent
0a7bcac9c2
commit
6408be3225
|
@ -136,14 +136,9 @@ function page_profile_advanced($a,&$b) {
|
||||||
foreach($contacts as $contact) {
|
foreach($contacts as $contact) {
|
||||||
$page .= micropro($contact,false,'page-profile-advanced');
|
$page .= micropro($contact,false,'page-profile-advanced');
|
||||||
$total_shown ++;
|
$total_shown ++;
|
||||||
if(($show_total) && ($total_shown == $show_total)) {
|
if($total_shown == $show_total)
|
||||||
$more = true;
|
break;
|
||||||
$page .= '<div id="hide-comments-page-widget" class="fakelink" onclick="showHideComments(\'page-widget\');" >' . t('show more')
|
|
||||||
. '</div><div id="collapsed-comments-page-widget" style="display: none;" ><ul>';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if($more)
|
|
||||||
$page .= '</div>';
|
|
||||||
$page .= '</div></div><div class="clear"></div>';
|
$page .= '</div></div><div class="clear"></div>';
|
||||||
|
|
||||||
if(count($contacts) > 0)
|
if(count($contacts) > 0)
|
||||||
|
|
Loading…
Reference in a new issue