Location: PHPKode > projects > iLP System > Release 2.2/upload/_backend/lib/templates/tpl.users.list.edit.php
<?php
/**
 * iLP System Template: Formuarlüberprüfung für das Bearbeiten eines Gegenstandes
 * 
 * Autor:		Florian "ApoY2k" Peschka
 * Projekt:		iLP System
 * Paket:		apoy2k.ilp.wrynn.lib.tpl
 * Lizenz:		CreativeCommons (by-nc-sa)
 * Kontakt:		hide@address.com
 * Version:		2.1.1
 */
echo '<script type="text/javascript">
	$(document).ready(function () {
		$("#edititemForm").validate({
			onfocusout: false,
			onkeyup: false,
			showErrors: function (errorMap, errorList) {
				$("#errorMessage").show();
				this.defaultShowErrors();
			},
			errorContainer: "#errorMessage",
			errorLabelContainer: "#errorMessage ul",
			wrapper: "li",
			rules: {
				edititem_new_id: {
					required: true,
					number: true
				},
				edititem_value: {
					required: true,
					number: true
				}
			},
			messages: {
            	edititem_new_id: "<label for=\'edititem_new_id\'><img src=\'../images/icons/arrow_refresh.png\' alt=\'icon\' /> <strong>'.$lang['page']['itemid'].':<\/strong> '.$lang['error']['number'].'<\/label>",
            	edititem_value: "<label for=\'edititem_value\'><img src=\'../images/icons/arrow_refresh.png\' alt=\'icon\' /> <strong>'.$lang['users']['list']['edit']['value'].':<\/strong> '.$lang['error']['number'].'<\/label>"
            }
		});
	});
</script>';
?>
Return current item: iLP System