Last active
August 29, 2015 14:02
-
-
Save rotty3000/f7a3e54e7dc294ee362f to your computer and use it in GitHub Desktop.
portal-web/docroot/html/portlet/admin/server.jspf remove captcha
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -371,31 +371,10 @@ serverURL.setParameter("tabs3", tabs3); | |
} | |
%> | |
<liferay-ui:search-iterator searchContainer="<%= searchContainer %>" /> | |
</c:when> | |
- <c:when test='<%= tabs2.equals("captcha") %>'> | |
- <liferay-ui:error key="reCaptchaPrivateKey" message="the-recaptcha-private-key-is-not-valid" /> | |
- <liferay-ui:error key="reCaptchaPublicKey" message="the-recaptcha-public-key-is-not-valid" /> | |
- | |
- <aui:fieldset> | |
- <aui:input helpMessage='<%= LanguageUtil.format(pageContext, "recaptcha-help", "https://www.google.com/recaptcha/admin/create", false) %>' label="enable-recaptcha" name="reCaptchaEnabled" type="checkbox" value="<%= PrefsPropsUtil.getString(PropsKeys.CAPTCHA_ENGINE_IMPL, PropsValues.CAPTCHA_ENGINE_IMPL).equals(ReCaptchaImpl.class.getName()) %>" /> | |
- | |
- <aui:input cssClass="lfr-input-text-container" label="recaptcha-public-key" name="reCaptchaPublicKey" type="text" value="<%= PrefsPropsUtil.getString(PropsKeys.CAPTCHA_ENGINE_RECAPTCHA_KEY_PUBLIC, PropsValues.CAPTCHA_ENGINE_RECAPTCHA_KEY_PUBLIC) %>" /> | |
- | |
- <aui:input cssClass="lfr-input-text-container" label="recaptcha-private-key" name="reCaptchaPrivateKey" type="text" value="<%= PrefsPropsUtil.getString(PropsKeys.CAPTCHA_ENGINE_RECAPTCHA_KEY_PRIVATE, PropsValues.CAPTCHA_ENGINE_RECAPTCHA_KEY_PRIVATE) %>" /> | |
- </aui:fieldset> | |
- | |
- <aui:button-row> | |
- | |
- <% | |
- String taglibUpdateCaptcha = renderResponse.getNamespace() + "saveServer('updateCaptcha');"; | |
- %> | |
- | |
- <aui:button onClick="<%= taglibUpdateCaptcha %>" value="save" /> | |
- </aui:button-row> | |
- </c:when> | |
<c:when test='<%= tabs2.equals("data-migration") %>'> | |
<% | |
List<ConvertProcess> convertProcesses = new ArrayList<ConvertProcess>(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment