/** * Gets the header text for the report mail.<p> * * @param locale the locale * @return the localized text */ public static String getReportHeader(Locale locale) { return getMessage("inactiveusers.report.header", locale); }
OpenCms.getLocaleManager(); String header = CmsInactiveUserMessages.getReportHeader(locale); String subject = CmsInactiveUserMessages.getReportSubject(locale); CmsHtmlMail mail = new CmsHtmlMail();
boolean locked = null != userObj.getAdditionalInfo().get(KEY_ACCOUNT_LOCKED); if (locked) { displayError(CmsInactiveUserMessages.getLockoutText(A_CmsUI.get().getLocale()), false); return;
/** * Gets the subject for the report mail.<p> * * @param locale the locale * * @return the localized text */ public static String getReportSubject(Locale locale) { return getMessage("inactiveusers.report.subject", locale); }
/** * Text to display for the lockout screen.<p> * * @param locale the locale * * @return the localized text */ public static String getLockoutText(Locale locale) { return getMessage("inactiveusers.lockout.text", locale); }