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); }
function main() { global $fp_config; // $this->smarty->assign_by_ref('enabledpages', plugin_getoptions('blockparser')); $this->smarty->assign('statics', $assign = static_getlist()); }
function main() { parent::main(); $this->smarty->assign('statics', $assign = static_getlist()); return 0; }