示例#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);
   }
 }