Location: PHPKode > projects > iLP System > Release 2.2/upload/lib/templates/tpl.list.reqitem.php
<?php
/**
 * iLP System Template: FormularŸberprŸfung fŸr das Anfragen einer GegenstandsŠnderung
 * 
 * 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 () {
		$("#reqitemForm").validate({
			onfocusout: false,
			onkeyup: false,
			showErrors: function (errorMap, errorList) {
				$("#errorMessage").show();
				this.defaultShowErrors();
			},
			errorContainer: "#errorMessage",
			errorLabelContainer: "#errorMessage ul",
			wrapper: "li",
			rules: {
				reqitem_item_id: {
					required: true,
					number: true
				},
				reqitem_msg: {
					required: true
				}
			},
			messages: {
            	reqitem_item_id: "<label for=\'reqitem_item_id\'><img src=\'images/icons/email.png\' alt=\'icon\' /> <strong>'.$lang['page']['itemid'].':<\/strong> '.$lang['error']['number'].'<\/label>",
            	reqitem_msg: "<label for=\'reqitem_msg\'><img src=\'images/icons/email.png\' alt=\'icon\' /> <strong>'.$lang['list']['req']['message'].':<\/strong> '.$lang['error']['notempty'].'<\/label>"
            }
		});
	});
</script>';
?>
Return current item: iLP System