예제 #1
0
}
/* ! Display * * * * * * * */
$view->page_title('Archives');
$view->tooltype('arcv');
$view->headline('Comic archive editor');
$form->input_hidden('book_id');
$form->value($book_id);
$book_info = $form->paint();
$view->group_css('arcv');
$view->group_h2('Behavior');
$view->group_instruction('Select how you want readers to navigate through your archives.');
$view->group_contents($behavior_output);
$content_output .= $view->format_group() . '<hr/>';
$view->group_h2('Layout');
$view->group_instruction('Select how you want to arrange information.');
$view->group_contents($layout_output);
$content_output .= $view->format_group() . '<hr/>';
$view->group_h2('Metadata');
$view->group_instruction('Select the types of information to display.');
$view->group_contents($meta_output);
$content_output .= $view->format_group() . '<hr/>';
$content_output .= $form->form_buttons();
$output = $view->open_view();
$output .= $view->view_header();
$output .= $alert_output;
$output .= $form->open_form();
$output .= $book_info;
$output .= $content_output;
$output .= $form->close_form();
$output .= $view->close_view();
print $output;
        }
    }
    $sl->setCurrent(0);
    $tone_select = $sl->buildSelect();
    $list->content($group_list);
    $list_output .= $list->format_content() . '<br/>';
}
$form->send_to($_SERVER['SCRIPT_NAME']);
$assign_output = $form->open_form();
$assign_output .= $list_output;
$assign_output .= '<div class="row form widelabel">';
$assign_output .= '<div><label>' . $label_output . '</label></div>';
$assign_output .= '<div>' . $tone_select . '</div>';
$assign_output .= '</div>';
$assign_output .= $form->form_buttons();
$assign_output .= $form->close_form();
// List of installed themes
if ($theme->outputList) {
    $all_themes_output = '<ul id="themes" class="small-block-grid-1 medium-block-grid-2 large-block-grid-3">';
    foreach ($theme->outputList as $id => $info) {
        if ($info['preview']) {
            $preview = '<img src="' . $info['preview'] . '" />';
        }
        if ($info['action']) {
            $box_css = ' off';
            $action = '<a class="' . $info['action'] . '" href="?' . $info['action'] . '=' . $info['directory'] . '">' . ucfirst($info['action']) . ' theme</a>';
        } else {
            $box_css = '';
            $action = null;
            $new = 0;
            $missing = 0;
예제 #3
0
    $home_output .= '<div><label for="home-id">Homepage</label></div>';
    $home_output .= '<div>' . $home_options . '</div>';
    $home_output .= '</div>';
    $home_output .= $form->form_buttons($edit_home);
}
$link->url('http://www.getgrawlix.com/docs/' . DOCS_VERSION . '/settings');
$link->tap('Read the docs');
$instruction = 'Use this panel to customize your overall site. ' . $link->external_link() . ' for details.';
$content_output = $form->open_form();
$view->page_title('Site settings');
$view->tooltype('config');
$view->headline('Site settings');
$view->group_css('config');
$view->group_h2('Basics');
$view->group_instruction($instruction);
$view->group_contents($form_output);
$content_output .= $view->format_group() . '<hr />';
$view->group_h2('Homepage');
$view->group_instruction($home_instruction);
$view->group_contents($home_output);
$content_output .= $view->format_group();
$content_output .= $form->close_form();
/*****
 * Display
 */
$output = $view->open_view();
$output .= $view->view_header();
$output .= $alert_output;
$output .= $content_output;
$output .= $view->close_view();
print $output;