asset = $asset; $this->thumbs = $thumbs; } protected function html_content() { echo '

Edit asset \'', $this->asset->getTitle(), '\' (', $this->asset->getFilename(), ')

'; $this->section_replace(); echo '
'; $this->section_key_info(); $this->section_asset_meta(); echo '
'; if (!empty($this->thumbs)) $this->section_thumbnails(); $this->section_linked_tags(); echo '
'; $this->section_crop_editor(); echo ' '; } protected function section_key_info() { $date_captured = $this->asset->getDateCaptured(); echo '

Key info

Title
URL slug
Date captured
Display priority
'; } protected function section_linked_tags() { echo '

Linked tags

    '; foreach ($this->asset->getTags() as $tag) echo '
  • ', $tag->tag, '
  • '; echo '
'; } protected function section_thumbnails() { echo '

Thumbnails

View:
Thumbnail
'; } protected function section_crop_editor() { if (!$this->asset->isImage()) return; echo ' '; } protected function section_asset_meta() { echo '

Asset meta data

'; } protected function section_replace() { echo '

Replace asset

File: Target:
'; } }