案例:
function ActivePlugin_ytecn() { Add_Filter_Plugin('Filter_Plugin_Admin_CommentMng_SubMenu','ytecn_admin_commentmng_submenu'); } function ytecn_admin_commentmng_submenu() { $aryCSubMenu = array( 0 => array('未审核', 'main.php', 'left', false), 1 => array('技术支持', 'http://www.zblogcn.com/', 'right', true) ); foreach($aryCSubMenu as $k => $v){ echo '<a href="'.$v[1].'" '.($v[3]==true?'target="_blank"':'').'><span class="m-'.$v[2].'">'.$v[0].'</span></a>'; } }