"; foreach ($blocks as $block) { $html .= make_form(make_link("blocks/update")); $html .= ""; $html .= ""; $html .= "Title"; $html .= "Area"; $html .= "Priority"; $html .= "Pages"; $html .= "Delete"; $html .= ""; $html .= ""; $html .= ""; $html .= ""; $html .= "\n"; $html .= ""; $html .= " "; $html .= "\n"; $html .= "\n"; } $html .= make_form(make_link("blocks/add")); $html .= ""; $html .= "Title"; $html .= "Area"; $html .= "Priority"; $html .= "Pages"; $html .= ""; $html .= ""; $html .= ""; $html .= ""; $html .= "\n"; $html .= ""; $html .= ""; $page->set_title("Blocks"); $page->set_heading("Blocks"); $page->add_block(new NavBlock()); $page->add_block(new Block("Block Editor", $html)); } }