]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/templates/contacts-template.tpl
Merge pull request #12502 from annando/no-gs-import
[friendica.git] / view / theme / frio / templates / contacts-template.tpl
index c6a9865a016f2ca5986112c3abdc664bb3042020..5c41c74e25aa8a6ae4ffc817d6a71bea283b9aee 100644 (file)
@@ -1,8 +1,4 @@
 
-<script type="text/javascript">
-       var dropContact = "{{$contact_drop_confirm}}";
-</script>
-
 {{$tabs nofilter}}
 
 <div id="contacts" class="generic-page-wrapper">
@@ -29,7 +25,8 @@
 
        {{* we need the form container to make batch actions work *}}
        <form name="batch_actions_submit" action="{{$baseurl}}/contact/batch/" method="POST">
-               <input type="hidden" name="redirect_url" value="{{$cmd}}"/>
+               <input type="hidden" name="redirect_url" value="{{$cmd}}" />
+               <input type="hidden" name="form_security_token" value="{{$form_security_token}}" />
 
                {{* we put here a hidden input element. This is needed to transmit the batch actions with javascript*}}
                <input type="hidden" class="batch-action no-input fakelist" name="batch_submit" value="{{$l}}">
                </ul>
                <div class="clear"></div>
                <div id="contact-list">
-                       {{* format each contact with the contact_template.tpl *}}
+                       {{* format each contact with the contact/entry.tpl *}}
                        <ul id="viewcontact_wrapper" class="viewcontact_wrapper media-list">
                        {{foreach $contacts as $contact}}
-                               <li>{{include file="contact_template.tpl"}}</li>
+                               <li>{{include file="contact/entry.tpl"}}</li>
                        {{/foreach}}
                        </ul>
                </div>