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 = "
";
$page->set_title("Image Bans");
$page->set_heading("Image Bans");
$page->add_block(new NavBlock());
$page->add_block(new Block("Edit Image Bans", $html));
}
/*
* Display a link to delete an image
*
* $image_id = the image to delete
*/
public function get_buttons_html($image) {
$html = "
";
return $html;
}
}
?>