= $this->formTag([], ['method' => 'get'], function(){ ?>
= $this->textFieldTag("query", $this->params()->query) ?>
= $this->submitTag($this->t('.search')) ?>
= $this->submitTag($this->t('tag_implication.index.search')) ?>
= $this->formTag(['action' => "update"], function() { ?>
|
= $this->t('.alias') ?> |
= $this->t('.to') ?> |
= $this->t('.reason') ?> |
is_mod_or_higher()) : ?>
= $this->buttonToFunction($this->t('.pending'), "$$('.pending').each(function(x) {x.checked = true})") ?>
= $this->submitTag($this->t('.approve')) ?>
= $this->buttonToFunction($this->t('.delete'), "$('reason-box').show(); $('reason').focus()") ?>
= $this->buttonToFunction($this->t('.add'), "$('add-box').show().scrollTo(); $('tag_alias_name').focus()") ?>
= $this->t('.reason') ?>
= $this->textFieldTag("reason", "", ['size' => 40]) ?>
= $this->submitTag($this->t('.delete')) ?>
|
aliases as $a) : ?>
is_pending ? 'class="pending"' : null ?>> |
= $this->linkTo($this->h($a->name), ['controller' => "post", 'action' => "index", 'tags' => $a->name]) ?> (= ($tag = Tag::where(['name' => $a->name])->first()) ? $tag->post_count : 0 ?>) |
= $this->linkTo($this->h($a->alias_name()), ['controller' => "post", 'action' => "index", 'tags' => $a->alias_name()]) ?> (= ($tag = Tag::find($a->alias_id)) ? $tag->post_count : 0 ?>) |
= $this->h($a->reason) ?> |
= $this->formTag(['action' => "create"], function() { ?>
= $this->t('.add_new.title') ?>
= $this->t('.add_new.info') ?>
is_anonymous()) : ?>
= $this->hiddenFieldTag("tag_alias[creator_id]", current_user()->id) ?>
|
= $this->textField('tag_alias', 'name', ['size' => 40]) ?> |
|
= $this->textField('tag_alias', 'alias', ['size' => 40]) ?> |
|
= $this->textArea('tag_alias', 'reason', ['size' => "40x2"]) ?> |
= $this->submitTag($this->t('.add_new.submit')) ?> |
= $this->willPaginate($this->aliases) ?>
= $this->partial("/tag/footer") ?>