array( 'id' => 'pack-process', 'title' => get_theme_mod('flowchart_tab_1_title', 'PACK Process Flowchart'), 'image' => get_theme_mod('flowchart_tab_1_image', get_template_directory_uri() . '/assets/images/pack-process flow-chart.png'), 'note' => get_theme_mod('flowchart_tab_1_note', 'Note 1: Blue procedures denote liquid-cooled project operations; Turquoise procedures indicate universal processes (Air-cooled PACK units require turquoise procedures only). 2.Operations marked with [★] denote critical processes; those marked with [▲] indicate inspection operations.') ), 2 => array( 'id' => 'enclosure-manufacturing', 'title' => get_theme_mod('flowchart_tab_2_title', 'Enclosure Manufacturing Process Flow Diagram'), 'image' => get_theme_mod('flowchart_tab_2_image', get_template_directory_uri() . '/assets/images/cabinet-process flow-chart.png'), 'note' => get_theme_mod('flowchart_tab_2_note', '') // 第二个tab没有文案 ), 3 => array( 'id' => 'module-manufacturing', 'title' => get_theme_mod('flowchart_tab_3_title', 'Module Manufacturing Process Flow Diagram'), 'image' => get_theme_mod('flowchart_tab_3_image', get_template_directory_uri() . '/assets/images/module-process flow.png'), 'note' => get_theme_mod('flowchart_tab_3_note', 'Note: [★] denotes Critical Processes; [▲] denotes Inspection Processes.') ) ); // 获取第一个tab作为默认显示 $first_tab = $flowchart_tabs[1]; ?>