Location: PHPKode > projects > iLP System > Release 2.2/upload/_backend/lib/templates/tpl.users.events.add.php
<?php
/**
 * iLP System Template: Formuarlüberprüfung für das Erstellen eines Ereignisses
 * 
 * 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 () {
		$("#addeventform").validate({
			onfocusout: false,
			onkeyup: false,
			showErrors: function (errorMap, errorList) {
				$("#errorMessage").show();
				this.defaultShowErrors();
			},
			errorContainer: "#errorMessage",
			errorLabelContainer: "#errorMessage ul",
			wrapper: "li",
			rules: {
				addevent_points: {
					required: true,
					number: true
				}
			},
			messages: {
            	addevent_points: "<label for=\'addevent_points\'><img src=\'../images/icons/group_add.png\' alt=\'icon\' /> <strong>'.$lang['users']['events']['add']['points'].':<\/strong> '.$lang['error']['number'].'<\/label>"
            }
		});
	});
</script>';
?>
Return current item: iLP System