Пример #1
0
 protected function base_html()
 {
     $this->description_html();
     $this->input_html();
     echo " ";
     if (Struts::config('use_struts_skin')) {
         $this->label_html();
     }
 }
Пример #2
0
 public function do_options_html()
 {
     if (!Struts::config('use_struts_skin')) {
         do_settings_sections($this->name());
         return;
     }
     foreach ($this->sections() as $section) {
         $section->to_html();
     }
     foreach ($this->stranded_options() as $option) {
         $option->to_html();
     }
 }
Пример #3
0
 public static function load_config(array $config)
 {
     self::$_config = $config;
 }
Пример #4
0
 public static function load_config(array $config)
 {
     self::$_config = $config;
     $locale = get_locale();
     load_textdomain('struts', get_template_directory() . '/includes/struts/languages/' . $locale . '.mo');
 }