]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/contacts-template.tpl
Posts per author/server on the community pages (#13764)
[friendica.git] / view / templates / contacts-template.tpl
index de03c0e72a24b7306883ea436ed3be7251e5125f..680c84f567a8db0a001748fe1af8b05caa1e3b90 100644 (file)
@@ -18,7 +18,7 @@
        <input type="hidden" name="redirect_url" value="{{$cmd}}" />
        <input type="hidden" name="form_security_token" value="{{$form_security_token}}" />
 {{foreach $contacts as $contact}}
-       {{include file="contact_template.tpl"}}
+       {{include file="contact/entry.tpl"}}
 {{/foreach}}
 <div id="contact-edit-end"></div>
 <div id="contacts-actions">
      return false;
     }
   });
-  // add javascript confirm dialog to "drop" links. Plain html url have "?confirm=1" to show confirmation form, we need to remove it
-  $(".drop").each(function() {
-   $(this).attr('href', $(this).attr('href').replace("confirm=1","") );
-   $(this).click(function(e){
-    if (confirm("{{$contact_drop_confirm}}")) {
-     return true;
-    } else {
-     e.preventDefault();
-     return false;
-    }
-   });
-   
-  });
  });
  </script>