]> git.mxchange.org Git - friendica-addons.git/commitdiff
don't show a "more" link
authorfriendica <info@friendica.com>
Sat, 30 Jun 2012 08:35:45 +0000 (01:35 -0700)
committerfriendica <info@friendica.com>
Sat, 30 Jun 2012 08:35:45 +0000 (01:35 -0700)
page.tgz
page/page.php

index b091a07d8b9865e60e241e9ae88ad9581afa8c95..4c9ef1cbb165ce1f2031350386ab9dc7922b8b37 100644 (file)
Binary files a/page.tgz and b/page.tgz differ
index 6b9242947717fd39cd1d28bae130db8020f473f9..c5cac76411f15ba325d714ad02433698f020601f 100755 (executable)
@@ -136,14 +136,9 @@ function page_profile_advanced($a,&$b) {
        foreach($contacts as $contact) {
                $page .= micropro($contact,false,'page-profile-advanced');
                $total_shown ++;
-               if(($show_total) && ($total_shown == $show_total)) {
-                       $more = true;
-                       $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($total_shown == $show_total)
+                       break;
        }
-       if($more)
-               $page .= '</div>';
        $page .= '</div></div><div class="clear"></div>';
 
        if(count($contacts) > 0)