Z-Blog Wiki Z-Blog Wiki

Z-Blog官方文库

用户工具

站点工具


zblogphp:development:plugin:interfacestc:filter_plugin_admin_articlemng_submenu

案例:

function ActivePlugin_ytecn() {
    Add_Filter_Plugin('Filter_Plugin_Admin_ArticleMng_SubMenu','ytecn_Admin_ArticleMng_SubMenu');
}
 
function ytecn_Admin_ArticleMng_SubMenu() {
    $aryCSubMenu = array(	
		0 => array('地图配置', 'main.php', 'left', false),		
		1 => array('技术支持', 'http://www.zbligcn.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>';
    }
}

效果展示

zblogphp/development/plugin/interfacestc/filter_plugin_admin_articlemng_submenu.txt · 最后更改: 2020/07/25 14:59 由 唐朝