Check for Updates
";
$page->add_block(new Block("Update", $html));
}
public function display_update_todo(Page $page, $log, $branches) {
$h_log = html_escape($log);
$updates = "
";
$options = "";
foreach($branches as $name => $nice) {
$options .= "";
}
$branches = "
";
$page->set_title("Updates Available");
$page->set_heading("Updates Available");
$page->add_block(new NavBlock());
$page->add_block(new Block("Updates For Current Branch", $updates));
$page->add_block(new Block("Available Branches", $branches));
}
public function display_update_log(Page $page, $log) {
$h_log = html_escape($log);
$html = "
";
$page->set_title("Update Log");
$page->set_heading("Update Log");
$page->add_block(new NavBlock());
$page->add_block(new Block("Update Log", $html));
}
}
?>