$form_output .= $form->paint(); $form_output .= $palette_output; $form_output .= $styles_output; $form_output .= $slot_output; $form_output .= $form->close_form(); } else { $form_output = <<<EOL \t<div class="panel"> \t\t<h3>No tone options</h3> \t\t<p>This theme does not contain panel-editable options. You’ll have to edit the CSS directly.</p> \t</div> EOL; } $view->page_title("Theme: {$theme_info['title']}"); $view->tooltype('tone'); $view->prepend_stylesheet('spectrum.css'); $view->headline("Theme <span>{$theme_info['title']}</span>"); $link->url('site.theme-manager.php'); $link->tap('Back to list'); $action_output = $link->text_link('back'); $view->action($action_output); $view->meta_css('theme'); $view->meta_preview('<img src="http://placehold.it/500x100/ccc/000.png&text=preview_image" />'); $view->meta_info_list($meta_list); $meta_output = $view->format_meta() . '<hr />'; /***** * Display */ $output = $view->open_view(); $output .= $view->view_header(); $output .= $alert_output;