Location: PHPKode > projects > iLP System > Release 2.2/upload/_backend/lib/templates/tpl.events.create.form.php
<?php
/**
 * iLP System Template: Formularüberprüfung für das Hinzufügen 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 () {
		$("#createevent_date").datepicker({
			dateFormat: \'yy-mm-dd\',
			dayNamesMin: [\''.$lang['date']['su'].'\', \''.$lang['date']['mo'].'\', \''.$lang['date']['tu'].'\', \''.$lang['date']['we'].'\', \''.$lang['date']['th'].'\', \''.$lang['date']['fr'].'\', \''.$lang['date']['sa'].'\'],
			monthNames: [\''.$lang['date']['january'].'\', \''.$lang['date']['february'].'\', \''.$lang['date']['march'].'\', \''.$lang['date']['april'].'\', \''.$lang['date']['may'].'\', \''.$lang['date']['june'].'\', \''.$lang['date']['july'].'\', \''.$lang['date']['august'].'\', \''.$lang['date']['september'].'\', \''.$lang['date']['october'].'\', \''.$lang['date']['november'].'\', \''.$lang['date']['december'].'\']
		});

		$("#createeventform").validate({
			onfocusout: false,
			onkeyup: false,
			showErrors: function (errorMap, errorList) {
				$("#errorMessage").show();
				this.defaultShowErrors();
			},
			errorContainer: "#errorMessage",
			errorLabelContainer: "#errorMessage ul",
			wrapper: "li",
			rules: {
				editevent_date: {
					required: true
				}
			},
			messages: {
            	createevent_date: "<label for=\'createevent_date\'><img src=\'../images/icons/date_add.png\' alt=\'icon\' /> <strong>'.$lang['events']['details']['date'].':<\/strong> '.$lang['error']['notempty'].'<\/label>"
            }
		});
	});
</script>';
?>
Return current item: iLP System