the banned hash * 'reason' => why the hash was banned * 'date' => when the ban started * ) */ public function display_image_hash_bans($page, $bans) { $h_bans = ""; foreach($bans as $ban) { $h_bans .= " {$ban['hash']} {$ban['reason']}
"; } $html = " $h_bans
HashReasonAction
"; $page->add_block(new Block("Edit Image Bans", $html)); } public function display_page($page) { $page->set_title("Image Ban"); $page->set_heading("Image Ban"); $page->add_block(new NavBlock()); } /* * Display a link to delete an image * * $image_id = the image to delete */ public function display_image_banner($page, $image_hash) { /* I'll fix this soon $i_image_hash = int_escape($image_hash); $html = "
"; $page->add_block(new Block("Image Ban", $html, "left")); */ } } ?>