private List<String> getZipCharsets() { String[] charsetConfig = ServerConfigurationService.getStrings("content.zip.expand.charsets"); if (charsetConfig == null) { charsetConfig = new String[0]; } List<String> charsets = new ArrayList<>(Arrays.asList(charsetConfig)); // Add UTF-8 as fallback charsets.add("UTF-8"); return charsets; }
/** ** Return orientation of given locale ** ** @param loc Locale to obtain orientation ** @return String with two possible values "rtl" or "ltr" ** @author jjmerono **/ public String getOrientation(Locale loc) { String [] locales = ServerConfigurationService.getStrings("locales.rtl"); if (locales==null) { locales = new String[]{"ar","dv","fa","ha","he","iw","ji","ps","ur","yi"}; } return ArrayUtil.contains(locales,loc.getLanguage())?"rtl":"ltr"; }
String[] morepatterns = null; try { morepatterns = ServerConfigurationService.getStrings("login.browser.user.agent"); } catch (Exception ex) {
String moreInlineTypes[] = ServerConfigurationService.getStrings("content.mime.inline");
public static List<String> getPortalTermOrder(Set <String> tabsMoreTerms) { String[] termOrder = ServerConfigurationService.getStrings("portal.term.order"); List<String> tabsMoreSortedTermList = new ArrayList<String>();
String[] insecureTools = ServerConfigurationService.getStrings("velocity.csrf.insecure.tools"); if (toolId != null && insecureTools != null)
String[] insecureTools = ServerConfigurationService.getStrings("velocity.csrf.insecure.tools"); if (toolId != null && insecureTools != null)
"version.sakai", "?"); String server = ServerConfigurationService.getServerId(); String[] bottomNav = ServerConfigurationService.getStrings("bottomnav"); String[] poweredByUrl = ServerConfigurationService .getStrings("powered.url"); String[] poweredByImage = ServerConfigurationService .getStrings("powered.img"); String[] poweredByAltText = ServerConfigurationService .getStrings("powered.alt");
"version.sakai", "?"); String server = ServerConfigurationService.getServerId(); String[] bottomNav = ServerConfigurationService.getStrings("bottomnav"); String[] poweredByUrl = ServerConfigurationService .getStrings("powered.url"); String[] poweredByImage = ServerConfigurationService .getStrings("powered.img"); String[] poweredByAltText = ServerConfigurationService .getStrings("powered.alt");
"?"); String server = ServerConfigurationService.getServerId(); String[] bottomNav = ServerConfigurationService.getStrings("bottomnav"); String[] poweredByUrl = ServerConfigurationService.getStrings("powered.url"); String[] poweredByImage = ServerConfigurationService .getStrings("powered.img"); String[] poweredByAltText = ServerConfigurationService .getStrings("powered.alt");
"?"); String server = ServerConfigurationService.getServerId(); String[] bottomNav = ServerConfigurationService.getStrings("bottomnav"); String[] poweredByUrl = ServerConfigurationService.getStrings("powered.url"); String[] poweredByImage = ServerConfigurationService .getStrings("powered.img"); String[] poweredByAltText = ServerConfigurationService .getStrings("powered.alt");
String[] logos = ServerConfigurationService.getStrings("citations.logo"); String logoHTML = ""; if (logos != null){