Location: PHPKode > projects > iLP System > Release 2.2/upload/_backend/lib/templates/tpl.users.create.form.php
<?php
/**
 * iLP System Template: Formuarlüberprüfung für das Erstellen eines Benutzers
 * 
 * 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 () {
		$("#createuserform").validate({
			onfocusout: false,
			onkeyup: false,
			showErrors: function (errorMap, errorList) {
				$("#errorMessage").show();
				this.defaultShowErrors();
			},
			errorContainer: "#errorMessage",
			errorLabelContainer: "#errorMessage ul",
			wrapper: "li",
			rules: {
				createuser_login: {
					required: true
				},
				createuser_email: {
					required: true
				},
				createuser_char_name: {
					required: true
				}
			},
			messages: {
            	createuser_login: "<label for=\'createuser_login\'><img src=\'../images/icons/user_add.png\' alt=\'icon\' /> <strong>'.$lang['search']['user']['settings']['username'].':<\/strong> '.$lang['error']['notempty'].'<\/label>",
            	createuser_email: "<label for=\'createuser_email\'><img src=\'../images/icons/user_add.png\' alt=\'icon\' /> <strong>'.$lang['search']['user']['settings']['email'].':<\/strong> '.$lang['error']['notempty'].'<\/label>",
            	createuser_char_name: "<label for=\'createuser_char_name\'><img src=\'../images/icons/user_add.png\' alt=\'icon\' /> <strong>'.$lang['users']['create']['char']['name'].':<\/strong> '.$lang['error']['notempty'].'<\/label>"
            }
		});
	});
</script>';
?>
Return current item: iLP System