1、给后台顶部导航栏添加菜单
PHP
function ActivePlugin_tc_cs() { Add_Filter_Plugin('Filter_Plugin_Admin_TopMenu','ytecn_Admin_TopMenu');}function ytecn_Admin_TopMenu(&$m) { global $zbp; $m[]=MakeTopMenu('root', '插件配置',$zbp->host."zb_users/plugin/ytecn/main.php",'',"topmenu_pjonip","icon-grid-1x2-fill");}
2、给后台左侧导航栏添加菜单
PHP
function ActivePlugin_tc_cs() { Add_Filter_Plugin('Filter_Plugin_Admin_LeftMenu','ytecn_Admin_LeftMenu');}function ytecn_Admin_LeftMenu(&$m){ global $zbp; $m['nav_ytecn'] = MakeLeftMenu("root", '插件配置', $zbp->host . "zb_users/plugin/ytecn/main.php", "nav_ytecn", "aAppCentre", "", "icon-zblog-appcenter");}