textFieldTag("query", $this->h($this->params()->query), ['size' => '40']) ?> submitTag($this->t('buttons.search')) ?>

t('.pending') ?>

hiddenFieldTag("reason", "") ?> pending_posts as $p) : ?>
buttonToFunction($this->t('buttons.select.all'), "$$('.p').each(function (i) {i.checked = true; highlight_row(i)})") ?> buttonToFunction($this->t('buttons.select.invert'), "$$('.p').each(function (i) {i.checked = !i.checked; highlight_row(i)})") ?> submitTag($this->t('buttons.approve')) ?> submitTag($this->t('buttons.delete'), ['onclick' => "var reason = prompt('".$this->t('.prompt_reason')."'); if (reason != null) {\$('reason').value = reason; return true} else {return false}"]) ?>
linkTo($this->imageTag($p->preview_url(), ['width' => $p->preview_dimensions()[0], 'height' => $p->preview_dimensions()[1]]), ['post#show', 'id' => $p->id]) ?>
  • t(['.uploaded_by_when_html', 'u' => $this->linkTo($p->author(), ['user#show', 'id' => $p->user->id]), 't_ago' => $this->t(['time.x_ago', 't' => $this->timeAgoInWords($p->created_at)]), 'mod' => $this->linkTo($this->t('.mod'), ['#moderate', 'query' => 'user:'.$p->author()])]) ?>
  • t('.rating') ?>: pretty_rating() ?>
  • parent_id) : ?>
  • t('.parent') ?>: linkTo($p->parent_id, ['action' => 'moderate', 'query' => 'parent:'.$p->parent_id]) ?>
  • t('.tags') ?>: h($p->cached_tags) ?>
  • t('.score') ?>: score ?>
  • flag_detail) : ?>
  • t('.reason') ?>: h($p->flag_detail->reason) ?> (flag_detail->user_id): ?>automatic flaglinkTo($this->h($p->flag_detail->author()), ['user#show', 'id' => $p->flag_detail->user_id]) ?>)
  • t('.size') ?>: numberToHumanSize($p->file_size) ?>, width ?>xheight ?>

t('.flagged') ?>

hiddenFieldTag("reason2", "") ?> flagged_posts as $p) : ?>
buttonToFunction($this->t('buttons.select.all'), "$$('.f').each(function (i) {i.checked = true; highlight_row(i)})") ?> buttonToFunction($this->t('buttons.select.invert'), "$$('.f').each(function (i) {i.checked = !i.checked; highlight_row(i)})") ?> submitTag($this->t('buttons.approve')) ?> submitTag($this->t('buttons.delete'), ['onclick' => "var reason = prompt('".$this->t('.prompt_reason')."'); if (reason != null) {\$('reason2').value = reason; return true} else {return false}"]) ?>
linkTo($this->imageTag($p->preview_url(), ['width' => $p->preview_dimensions()[0], 'height' => $p->preview_dimensions()[1]]), ['post#show', 'id' => $p->id]) ?>
  • t(['.uploaded_by_when_html', 'u' => $this->linkTo($p->author(), ['user#show', 'id' => $p->user->id]), 't_ago' => $this->t(['time.x_ago', 't' => $this->timeAgoInWords($p->created_at)]), 'mod' => $this->linkTo($this->t('.mod'), ['#moderate', 'query' => 'user:'.$p->author()])]) ?>
  • t('.rating') ?>: pretty_rating() ?>
  • parent_id) : ?>
  • t('.parent') ?>: linkTo($p->parent_id, ['action' => 'moderate', 'query' => 'parent:'.$p->parent_id]) ?>
  • t('.tags') ?>: h($p->cached_tags) ?>
  • t('.score') ?>: score ?> (vote linkToFunction($this->t('.down'), "Post.vote(-1, {$p->id}, {})") ?>)
  • flag_detail) : ?>
  • t('.reason') ?>: h($p->flag_detail->reason) ?> (flag_detail->user_id): ?>automatic flaglinkTo($this->h($p->flag_detail->author()), ['user#show', 'id' => $p->flag_detail->user_id]) ?>)
  • t('.size') ?>: numberToHumanSize($p->file_size) ?>, width ?>xheight ?>
partial('footer') ?>