Commit 40d5756e authored by Anastasios Kalogeropoulos's avatar Anastasios Kalogeropoulos
Browse files

birthday calendar added

parent b3817d0e
......@@ -163,15 +163,6 @@ birthdayCalendar.set(Calendar.YEAR, 1970);
</aui:col>
<aui:fieldset column="<%= true %>">
<aui:col width="<%= 50 %>">
<aui:input label="I confirm that I am over 16 years old." id="myCheckbox" name="myCheckbox" type="checkbox" >
<aui:validator errorMessage="Please confirm your age!" name="required"/>
</aui:input>
</aui:col>
</aui:fieldset>
<aui:col width="<%= 50 %>">
<c:if test="<%= PropsValues.LOGIN_CREATE_ACCOUNT_ALLOW_CUSTOM_PASSWORD %>">
<aui:input label="password" name="password1" size="30" type="password" value="" />
......@@ -182,7 +173,26 @@ birthdayCalendar.set(Calendar.YEAR, 1970);
</aui:validator>
</aui:input>
</c:if>
<c:choose>
<c:when test="<%= PrefsPropsUtil.getBoolean(company.getCompanyId(), PropsKeys.FIELD_ENABLE_COM_LIFERAY_PORTAL_KERNEL_MODEL_CONTACT_BIRTHDAY) %>">
<aui:input name="birthday" value="<%= birthdayCalendar %>" />
</c:when>
<c:otherwise>
<aui:input name="birthdayMonth" type="hidden" value="<%= Calendar.JANUARY %>" />
<aui:input name="birthdayDay" type="hidden" value="1" />
<aui:input name="birthdayYear" type="hidden" value="1970" />
</c:otherwise>
</c:choose>
<aui:fieldset column="<%= true %>">
<aui:col width="<%= 50 %>">
<aui:input label="I confirm that I am over 16 years old." id="myCheckbox" name="myCheckbox" type="checkbox" >
<aui:validator errorMessage="Please confirm your age!" name="required"/>
</aui:input>
</aui:col>
</aui:fieldset>
<c:if test="<%= PrefsPropsUtil.getBoolean(company.getCompanyId(), PropsKeys.FIELD_ENABLE_COM_LIFERAY_PORTAL_KERNEL_MODEL_CONTACT_MALE) %>">
<aui:select label="gender" name="male">
<aui:option label="male" value="1" />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment