forked from ZwiiCMS-Team/ZwiiCampus
user auto submit
This commit is contained in:
parent
a366f09bab
commit
3657def909
@ -444,7 +444,7 @@ class user extends common
|
|||||||
case "0":
|
case "0":
|
||||||
break;
|
break;
|
||||||
case "3":
|
case "3":
|
||||||
self::$courseGroups['30'] = 'Administrateur';
|
self::$courseGroups['3'] = 'Administrateur';
|
||||||
break;
|
break;
|
||||||
case "1":
|
case "1":
|
||||||
case "2":
|
case "2":
|
||||||
|
@ -10,4 +10,15 @@
|
|||||||
* @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
|
* @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
|
||||||
* @link http://zwiicms.fr/
|
* @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',
|
'selected' => isset($_POST['userFilterLastName']) ? $_POST['userFilterLastName'] : 'all',
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="col2 offset1">
|
|
||||||
<?php echo template::submit('userFilterSubmit', [
|
|
||||||
'value' => 'Filtrer',
|
|
||||||
'uniqueSubmission' => true
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user