• post->image() && $this->post->can_be_seen_by(current_user())) : ?> post->get_file_jpeg() ?>
  • post->tags()) && !current_user()->is_contributor_or_higher()) : $file_sample = $this->post->get_file_sample(current_user()); echo $this->linkTo(($this->post->has_sample() ? $this->t('.download.larger') : $this->t('.download.normal')) . ' ' . $this->numberToHumanSize($file_sample['size']), $file_sample['url'], array( 'class' => $this->post->has_sample() ? "original-file-changed":"original-file-unchanged", 'id' => 'highres')); else: echo $this->linkTo(($this->post->has_sample() ? $this->t('.download.larger') : $this->t('.download.image')) . ' (' . $this->numberToHumanSize($file_jpeg['size']) . ')', $file_jpeg['url'], array( 'class' => ($this->post->has_sample() ? "original-file-changed":"original-file-unchanged"), 'id' => 'highres')); endif ?>
  • post->has_jpeg()) : ?> post->get_file_image() ?>
  • linkTo($this->t('.download.normal').' '.strtoupper($file_image['ext']).' ('.$this->numberToHumanSize($file_image['size']).')', $file_image['url'], array( 'class' => 'original-file-unchanged', 'id' => 'png')); ?>
  • linkTo('Options ■', '#', ['class' => 'submenu-button']) ?>
    • linkToFunction($this->t('buttons.edit'), "$('comments').hide(); $('edit').show().scrollTo(); $('post_tags').focus(); Cookie.put('show_defaults_to_edit', 1);") ?>
    • post->image() && $this->post->can_be_seen_by(current_user())) : ?> post->has_jpeg()) : ?> post->get_file_image() ?>
    • linkTo($this->t('.download.normal').' '.strtoupper($file_image['ext']).' ('.$this->numberToHumanSize($file_image['size']).')', $file_image['url'], array( 'class' => 'original-file-unchanged', 'id' => 'png')); ?>
    • post->can_user_delete(current_user())) : ?>
    • linkTo($this->t('.delete'), array('#delete', 'id' => $this->post->id)) ?>
    • post->is_deleted() && current_user()->is_janitor_or_higher()) : ?>
    • linkTo($this->t('.undelete'), array('#undelete', 'id' => $this->post->id)) ?>
    • post->is_flagged() && !$this->post->is_deleted()) : ?>
    • linkToFunction($this->t('.flag'), "Post.flag(".$this->post->id.", function() { window.location.reload(); })", array('level' => 'member')) ?>
    • post->is_deleted() && $this->post->image() && !$this->post->is_note_locked()) : ?> disable_old_note_creation) : ?>
    • t(['.notes_create_notice', 'notes_help' => $this->linkTo('Notes help', 'help#notes'), 'close' => $this->linkToFunction('close', 'Note.toggleCreateNotice()')]) ?>
      linkToFunction($this->t('.add_notes'), "Note.toggleCreateNotice()", array('level' => 'member')) ?>
    • linkToFunction($this->t('.add_notes'), "Note.create(".$this->post->id.")", array('level' => 'member')) ?>
    • linkToFunction($this->t('.favorites.add'), "Post.vote(".$this->post->id.", 3); return false") ?>
    • linkToFunction($this->t('.favorites.remove'), "Post.vote(".$this->post->id.", 0); return false") ?>
    • post->is_pending() && current_user()->is_janitor_or_higher()) : ?>
    • linkToFunction($this->t('.approve._'), "if (confirm('".$this->t('.approve.confirm')."')) {Post.approve(".$this->post->id.")}") ?>
    • post->is_deleted()) : ?>
    • t('.add_to_pool') ?>
    • post->is_deleted()) : ?>
    • linkTo($this->t('.set_avatar'), array('user#set_avatar', 'id' => $this->post->id)) ?>
    • linkTo($this->t('.history'), array('history#index', 'search' => 'post:'.$this->post->id)) ?>