Copy this code and paste it in your HTML
function remove_menus () {
if( (current_user_can
('install_themes')) ) { $restricted = array(__
('Links'));
} else
{$restricted = array(__
('Dashboard'), __
('Posts'), __
('Media'), __
('Links'), __
('Pages'), __
('Appearance'), __
('Tools'), __
('Settings'), __
('Comments'), __
('Plugins'));
} if(in_array($value[0] != NULL?
$value[0]:"" , $restricted)){unset($menu[key($menu)]);
} }
}
add_action('admin_menu', 'remove_menus');