Location: PHPKode > projects > iLP System > Release 2.2/upload/_backend/lib/templates/tpl.eventtypes.edit.form.php
<?php
/**
 * iLP System Template: Formularüberprüfung für das Bearbeiten einer Ereignisart
 * 
 * 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 () {
		$("#edittypeform").validate({
			onfocusout: false,
			onkeyup: false,
			showErrors: function (errorMap, errorList) {
				$("#errorMessage").show();
				this.defaultShowErrors();
			},
			errorContainer: "#errorMessage",
			errorLabelContainer: "#errorMessage ul",
			wrapper: "li",
			rules: {
				edittype_name: {
					required: true
				}
			},
			messages: {
            	edittype_name: "<label for=\'edittype_name\'><img src=\'../images/icons/calendar_edit.png\' alt=\'icon\' /> <strong>'.$lang['types']['add']['name'].':<\/strong> '.$lang['error']['notempty'].'<\/label>"
            }
		});
	});
</script>';
?>
Return current item: iLP System