) * * Do not remove this notice. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ class taggerTheme extends Themelet { public function build_tagger (Page $page, $event) { // Initialization code $base_href = get_base_href(); // TODO: AJAX test and fallback. $page->add_html_header(""); $page->add_block(new Block(null, "","main",1000)); // Tagger block $page->add_block( new Block( null, $this->html($event->get_image()), "main")); } private function html(Image $image) { global $config; $i_image_id = int_escape($image->id); $h_source = html_escape($image->source); $h_query = isset($_GET['search'])? $h_query= "search=".url_escape($_GET['search']) : ""; $delay = $config->get_string("ext_tagger_search_delay","250"); $url_form = make_link("tag_edit/set"); // TODO: option for initial Tagger window placement. $html = <<< EOD EOD; return $html; } }