2024-08-24 18:23:27 +00:00
|
|
|
{{*
|
|
|
|
* Copyright (C) 2010-2024, the Friendica project
|
|
|
|
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*}}
|
2013-12-17 10:19:06 +00:00
|
|
|
|
2015-10-18 15:12:48 +00:00
|
|
|
<h2>{{$header}}{{if $total}} ({{$total}}){{/if}}</h2>
|
2013-04-23 11:47:57 +00:00
|
|
|
|
|
|
|
{{if $finding}}<h4>{{$finding}}</h4>{{/if}}
|
|
|
|
|
|
|
|
<div id="contacts-search-wrapper">
|
2021-05-19 21:47:15 +00:00
|
|
|
<form id="contacts-search-form" action="{{$cmd}}" method="get">
|
2018-12-14 03:35:51 +00:00
|
|
|
<span class="contacts-search-desc">{{$desc nofilter}}</span>
|
2018-12-14 03:28:12 +00:00
|
|
|
<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="{{$search}}" />
|
|
|
|
<input type="submit" name="submit" id="contacts-search-submit" value="{{$submit}}" />
|
2013-04-23 11:47:57 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div id="contacts-search-end"></div>
|
|
|
|
|
2018-12-14 03:35:51 +00:00
|
|
|
{{$tabs nofilter}}
|
2013-04-23 11:47:57 +00:00
|
|
|
|
2018-10-13 11:29:56 +00:00
|
|
|
<form action="{{$baseurl}}/contact/batch/" method="POST">
|
2024-08-06 21:35:59 +00:00
|
|
|
<input type="hidden" name="command" value="{{$cmd}}" />
|
|
|
|
<input type="hidden" name="parameter" value="{{$parameter}}" />
|
2021-09-06 16:23:15 +00:00
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}" />
|
2013-04-23 11:47:57 +00:00
|
|
|
{{foreach $contacts as $contact}}
|
2022-11-06 16:41:10 +00:00
|
|
|
{{include file="contact/entry.tpl"}}
|
2013-04-23 11:47:57 +00:00
|
|
|
{{/foreach}}
|
|
|
|
<div id="contact-edit-end"></div>
|
2014-09-06 09:49:31 +00:00
|
|
|
<div id="contacts-actions">
|
2013-12-17 10:19:06 +00:00
|
|
|
{{foreach $batch_actions as $n=>$l}}
|
2018-12-14 03:28:12 +00:00
|
|
|
<input class="batch-action" name="{{$n}}" value="{{$l}}" type="submit">
|
2013-12-17 10:19:06 +00:00
|
|
|
{{/foreach}}
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<script>
|
|
|
|
$(document).ready(function() {
|
|
|
|
// javascript dialog to batch actions
|
|
|
|
$(".batch-action").click(function(e){
|
|
|
|
if (confirm($(this).attr('value')+" ?")) {
|
|
|
|
return true;
|
|
|
|
} else {
|
|
|
|
e.preventDefault();
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
2013-04-23 11:47:57 +00:00
|
|
|
|
2018-12-14 03:35:51 +00:00
|
|
|
{{$paginate nofilter}}
|
2013-04-23 11:47:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|