Пример #1
0
 public static void setTheme(String name, String licenseKey, String logoString) {
   Properties props = (Properties) themesMap.get(name);
   if (props != null) {
     props.put("licenseKey", licenseKey);
     props.put("logoString", logoString);
     setTheme(props);
     if (myTheme != null) {
       AbstractTheme.setInternalName(name);
     }
   }
 }
Пример #2
0
 public static void setTheme(String name) {
   setTheme((Properties) themesMap.get(name));
   if (myTheme != null) {
     AbstractTheme.setInternalName(name);
   }
 }