$button->title('Serve one theme/tone to your entire site.'); $button->tap('Turn off multi-theme'); $action_output = $button->button_tertiary('power'); $instruction = 'Multi-theme allows you to choose a unique setting for every group of pages listed here.'; $label_output = 'Apply to selection'; // Get book sections $list = new GrlxList(); $list->draggable(false); $heading_list[] = array('value' => 'Select', 'class' => null); $heading_list[] = array('value' => 'Group', 'class' => 'nudge'); $heading_list[] = array('value' => 'Theme/tone', 'class' => 'nudge'); $list->row_class('theme'); $list->headings($heading_list); $list_output = $list->format_headings(); $book = new GrlxComicBook(); $book->getMarkerList(); // Chapters if ($book->markerList) { $i = 0; foreach ($book->markerList as $marker_id => $info) { $i++; $row_select = '<input type="checkbox" name="sel[book_page-' . $marker_id . ']" />'; $row_chapter = $info['type'] . ' ' . $i . ' <span class="title">' . $info['title'] . '</span>'; $row_theme = $theme->toneSelectList[$info['tone_id']]['title']; $group_list[] = array($row_select, $row_chapter, $row_theme); } } // Book archives if ($book->info) { $row_select = '<input type="checkbox" name="sel[book-' . $book->info['id'] . ']" />'; $row_book = 'Archives <span class="title">' . $book->info['title'] . '</span>';