"; return $html; } public function display_rotate_error(Page $page, /*string*/ $title, /*string*/ $message) { $page->set_title("Rotate Image"); $page->set_heading("Rotate Image"); $page->add_block(new NavBlock()); $page->add_block(new Block($title, $message)); } public function display_rotate_page(Page $page, /*int*/ $image_id) { global $config; $default_deg = $config->get_int('rotate_default_deg'); $image = Image::by_id($image_id); $thumbnail = $this->build_thumb_html($image, null); $html = "

Rotate Image ID ".$image_id."
".$thumbnail."

Please note: You will have to refresh the image page, or empty your browser cache.

Enter the degrees to rotate the image of, counterclockwise.


" .make_form(make_link('rotate/'.$image_id), 'POST', $multipart=True,'form_rotate')."
Degrees
"; $page->set_title("Rotate Image"); $page->set_heading("Rotate Image"); $page->add_block(new NavBlock()); $page->add_block(new Block("Rotate Image", $html, "main", 20)); } } ?>