public function onImageInfoBoxBuilding(ImageInfoBoxBuildingEvent $event) { global $config; if (!$config->get_bool("tageditcloud_disable") && $this->can_tag($event->image)) { $event->add_part($this->build_tag_map($event->image), 40); } }
public function onImageInfoBoxBuilding(ImageInfoBoxBuildingEvent $event) { global $user; $artistName = $this->get_artistName_by_imageID($event->image->id); if (!$user->is_anonymous()) { $event->add_part($this->theme->get_author_editor_html($artistName), 42); } }
public function onImageInfoBoxBuilding(ImageInfoBoxBuildingEvent $event) { global $user, $config; $adminonly = $config->get_bool("image_viewcounter_adminonly"); // todo0 if ($adminonly == false || $adminonly && $user->is_admin()) { $event->add_part("<tr><th>Views:</th><td>" . $this->get_view_count($event->image->id) . "</th></tr>", 38); } }
public function onImageInfoBoxBuilding(ImageInfoBoxBuildingEvent $event) { if ($this->can_rate()) { $event->add_part($this->theme->get_rater_html($event->image->id, $event->image->rating), 80); } }
public function onImageInfoBoxBuilding(ImageInfoBoxBuildingEvent $event) { $event->add_part($this->theme->get_parent_editor_html($event->image), 45); }
public function onImageInfoBoxBuilding(ImageInfoBoxBuildingEvent $event) { $event->add_part($this->theme->get_user_editor_html($event->image), 39); $event->add_part($this->theme->get_tag_editor_html($event->image), 40); $event->add_part($this->theme->get_source_editor_html($event->image), 41); $event->add_part($this->theme->get_lock_editor_html($event->image), 42); }