filter admin
This commit is contained in:
parent
7878f972e5
commit
fff6c3b086
@ -10,4 +10,14 @@
|
||||
* @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
|
||||
* @link http://zwiicms.fr/
|
||||
*/
|
||||
$(".userDelete").on("click",(function(){var _this=$(this);return message="<?php echo helper::translate('Confirmer la suppression de cet utilisateur');?>",core.confirm(message,(function(){$(location).attr("href",_this.attr("href"))}))}));
|
||||
$(document).ready((function () {
|
||||
$(".userDelete").on("click", (function () {
|
||||
var _this = $(this);
|
||||
return message = "<?php echo helper::translate('Confirmer la suppression de cet utilisateur');?>", core.confirm(message, (function () {
|
||||
$(location).attr("href", _this.attr("href"))
|
||||
}))
|
||||
}));
|
||||
$("#userFilterGroup, #userFilterFirstName, #userFilterLastName").change(function() {
|
||||
$("#userFilterUserForm").submit();
|
||||
});
|
||||
}));
|
@ -64,12 +64,6 @@
|
||||
'selected' => isset($_POST['userFilterLastName']) ? $_POST['userFilterLastName'] : 'all',
|
||||
]); ?>
|
||||
</div>
|
||||
<div class="col2 offset1">
|
||||
<?php echo template::submit('userFilterSubmit', [
|
||||
'value' => 'Filtrer',
|
||||
'uniqueSubmission' => true
|
||||
]); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user