/** * 填写时所需的HTML控件 */ function ctl_fill($act) { global $_LANG, $tpl; /* 所属模块 */ $attrib = array('style' => 'width:153px'); $append = array('value' => '', 'text' => $_LANG['ddl_sel']); $tpl['formc_module'] = ddl_module('parent_id', $tpl['privilege']['module_id'], $append, $attrib); }
/** * 填写时所需的HTML控件 */ function ctl_fill($act) { global $_LANG, $tpl; /* 所属模块 */ $attrib = array('style' => 'width:154px'); $append = array('value' => '1', 'text' => $_LANG['ddl_top_module']); $tpl['formc_pmodule'] = ddl_module('parent_id', $_GET['parent_id'], $append, $attrib); }