function requirement_menu_print($page)
{
    $menu_items = array(lang_get('req_link') => 'requirement_page.php', lang_get('req_folder_view') => "requirement_associations_page.php", lang_get('req_add_rec_link') => 'requirement_add_page.php?type=R', lang_get('req_add_file_link') => 'requirement_add_page.php?type=F', lang_get('req_notification') => 'requirement_notification_page.php', lang_get('traceability_matrix_report') => 'requirement_traceability_matrix_page.php');
    //lang_get('req_add_folder') => 'requirement_add_folder.php',
    //lang_get('req_search') => 'requirement_search.php' );
    html_print_sub_menu($page, $menu_items);
}
function test_menu_print($page)
{
    $screen_link = lang_get('screen_link');
    $field_link = lang_get('field_link');
    $add_field_link = lang_get('add_field');
    $function_link = lang_get('function_link');
    $test_link = lang_get('test_link');
    $test_add_link = lang_get('test_add_link');
    $test_workflow_link = lang_get('test_workflow_link');
    /*
        $menu_items = array(
    		$function_link => 'function_page.php',
                $test_link => 'test_page.php',
                $test_add_link => 'test_add_page.php',
                $test_workflow_link => 'test_workflow_page.php',
    		$screen_link => 'screen_page.php',
    		$field_link => 'field_page.php',
    		$add_field_link => 'field_add_page.php',
                );
    */
    $menu_items = array($test_link => 'test_page.php', $test_add_link => 'test_add_page.php', $test_workflow_link => 'test_workflow_page.php');
    html_print_sub_menu($page, $menu_items);
}
function admin_user_print($page, $project_id, $user_id)
{
    $menu = array();
    $user_menu = array();
    $manager_menu = array();
    $admin_menu = array();
    #user menu
    $user_menu = array(lang_get('my_account') => "user_edit_my_account_page.php", lang_get('all_users') => 'user_manage_page.php');
    # manager menu
    if (user_has_rights($project_id, $user_id, MANAGER)) {
        $manager_menu = array();
    }
    # admin menu
    if (user_has_rights($project_id, $user_id, ADMIN)) {
        $admin_menu = array(lang_get('add_new_user') => 'user_add_page.php');
    }
    $menu = array_merge($menu, $user_menu, $manager_menu, $admin_menu);
    html_print_sub_menu($page, $menu);
}
function bug_menu_print($page)
{
    $bug_link = lang_get('bug_view_link');
    $bug_add_link = lang_get('bug_add_link');
    $menu_items = array($bug_link => 'bug_page.php', $bug_add_link => 'bug_add_page.php');
    html_print_sub_menu($page, $menu_items);
}