<commit_before><?php
/**
 * @var $this \Zend\View\Renderer\PhpRenderer
 */
$this->headTitle( $title = $this->translate( 'banner.list.set', 'banner' ) );
$view   = $this;
$rowSet = $this->rowSet();

if ( ! $this->format ): ?>
<h1><?= $title ?></h1>
<?php endif ?>
<?= $this->rowSet( $this->paginator, $rowSet::FLAG_LAYOUT_ALL )
         ->setColumnTranslatePrefix( 'banner.list.set.column' )
         ->setColumnTranslatePostfix( 'title' )
         ->setColumnTranslateTextDomain( 'banner' )
         ->setPage( $this->page )
         ->setColumns( array(
              'name'        => $rowSet::STRING,
              'tags'        => $rowSet::SET,
              'locales'     => $rowSet->column( $rowSet::SET, array(), 'locale.sub', '', 'locale' ),
              'actions'     => function ( $row ) use ( $view ) {
                $view->placeholder( 'listActions' )->set( '' );
                $view->placeholder( 'listActions' )->captureStart();
?>
<?php if ( $this->isAllowed( 'banner', 'edit' ) ): ?>
    <a class="action-button edit"
       title="<?= $view->translate( 'default.edit' ); ?>"
       href="<?= $this->url( 'Grid\Banner\Set\Edit', array(
           'locale' => (string) $view->locale(),
           'id'     => $row->id,
       ) ) ?>">&nbsp;</a>
<?php endif ?>
<?php if ( $this->isAllowed( 'banner', 'delete' ) ): ?>
    <a class="action-button delete"
       title="<?= $view->translate( 'default.delete' ); ?>"
       onclick="return js.require('js.ui.dialog').confirm(this);"
       href="<?= $this->url( 'Grid\Banner\Set\Delete', array(
           'locale' => (string) $view->locale(),
           'id'     => $row->id,
       )) ?>">&nbps;</a>
<?php endif ?>
<?php
                $view->placeholder( 'listActions' )->captureEnd();
                return (string) $view->placeholder( 'listActions' );
              },
          ) )
         ->render( $this->format );

if ( ! $this->format && $this->isAllowed( 'banner', 'create' ) ): ?>
<div class="more-links">
    <a class="button-appearance"
       href="<?= $this->url( 'Grid\Banner\Set\Create', array(
           'locale' => (string) $view->locale(),
       )) ?>">
        <?= $view->translate( 'default.createNew' ); ?>
    </a>
</div>
<?php endif ?><commit_msg>fix typo<commit_after><?php
/**
 * @var $this \Zend\View\Renderer\PhpRenderer
 */
$this->headTitle( $title = $this->translate( 'banner.list.set', 'banner' ) );
$view   = $this;
$rowSet = $this->rowSet();

if ( ! $this->format ): ?>
<h1><?= $title ?></h1>
<?php endif ?>
<?= $this->rowSet( $this->paginator, $rowSet::FLAG_LAYOUT_ALL )
         ->setColumnTranslatePrefix( 'banner.list.set.column' )
         ->setColumnTranslatePostfix( 'title' )
         ->setColumnTranslateTextDomain( 'banner' )
         ->setPage( $this->page )
         ->setColumns( array(
              'name'        => $rowSet::STRING,
              'tags'        => $rowSet::SET,
              'locales'     => $rowSet->column( $rowSet::SET, array(), 'locale.sub', '', 'locale' ),
              'actions'     => function ( $row ) use ( $view ) {
                $view->placeholder( 'listActions' )->set( '' );
                $view->placeholder( 'listActions' )->captureStart();
?>
<?php if ( $this->isAllowed( 'banner', 'edit' ) ): ?>
    <a class="action-button edit"
       title="<?= $view->translate( 'default.edit' ); ?>"
       href="<?= $this->url( 'Grid\Banner\Set\Edit', array(
           'locale' => (string) $view->locale(),
           'id'     => $row->id,
       ) ) ?>">&nbsp;</a>
<?php endif ?>
<?php if ( $this->isAllowed( 'banner', 'delete' ) ): ?>
    <a class="action-button delete"
       title="<?= $view->translate( 'default.delete' ); ?>"
       onclick="return js.require('js.ui.dialog').confirm(this);"
       href="<?= $this->url( 'Grid\Banner\Set\Delete', array(
           'locale' => (string) $view->locale(),
           'id'     => $row->id,
       )) ?>">&nbsp;</a>
<?php endif ?>
<?php
                $view->placeholder( 'listActions' )->captureEnd();
                return (string) $view->placeholder( 'listActions' );
              },
          ) )
         ->render( $this->format );

if ( ! $this->format && $this->isAllowed( 'banner', 'create' ) ): ?>
<div class="more-links">
    <a class="button-appearance"
       href="<?= $this->url( 'Grid\Banner\Set\Create', array(
           'locale' => (string) $view->locale(),
       )) ?>">
        <?= $view->translate( 'default.createNew' ); ?>
    </a>
</div>
<?php endif ?>
{'fraction_non_alphanumeric': 0.2326412145568207, 'fraction_numerical': 0.0008930564858227283, 'mean_word_length': 2.4146341463414633, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 147, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7035922', 'n_tokens_mistral': 1472, 'n_tokens_neox': 1479, 'n_words': 269}