Esempio n. 1
0
 function setup()
 {
     $this->smarty->assign('themes', theme_list());
     $this->smarty->assign('lang_list', lang_list());
     $static_list = array();
     foreach (static_getlist() as $id) {
         $static_list[$id] = static_parse($id);
     }
     $this->smarty->assign('static_list', $static_list);
 }
Esempio n. 2
0
 function main()
 {
     global $fp_config;
     // $this->smarty->assign_by_ref('enabledpages', plugin_getoptions('blockparser'));
     $this->smarty->assign('statics', $assign = static_getlist());
 }
Esempio n. 3
0
 function main()
 {
     parent::main();
     $this->smarty->assign('statics', $assign = static_getlist());
     return 0;
 }