Location: PHPKode > projects > iLP System > Release 2.2/upload/_backend/lib/templates/tpl.search.form.php
<?php
/**
 * iLP System Template: FormularŸberprŸfung fŸr die Gegenstandssuche (Backend)
 * 
 * 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 () {
	$("#itemsearch").validate({
		onfocusout: false,
		onkeyup: false,
		showErrors: function (errorMap, errorList) {
			$("#errorMessage").show();
			this.defaultShowErrors();
		},
		errorContainer: "#errorMessage",
		errorLabelContainer: "#errorMessage ul",
		wrapper: "li",
		rules: {
			searchitem_term: {
				required: true
			}
		},
		messages: {
			searchitem_term: "<label for=\'searchitem_term\'><img src=\'../images/icons/magnifier.png\' alt=\'icon\' /> '.$lang['error']['notempty'].'<\/label>"
		}
	});
	
	$("#searchField input").liveSearch({
		url: "../lib/lib.search.live.php?term="
	});
});
</script>';
?>
Return current item: iLP System