Eventhistory Overview: Use id attribues as the name attribute is deprecated

refs #8615
This commit is contained in:
Johannes Meyer 2015-08-06 11:52:35 +02:00
parent 153f3ba2f9
commit ea3e0bc013
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ if (! $this->compact): ?>
<tr class="state <?= $stateName; ?>">
<td class="state">
<?php if ($history->getIteratorPosition() % $limit === 0): ?>
<a name="page-<?= $history->getIteratorPosition() / $limit + 1; ?>"></a>
<a id="page-<?= $history->getIteratorPosition() / $limit + 1; ?>"></a>
<?php endif ?>
<strong><?= $this->escape($title); ?></strong>
<br>
@ -124,7 +124,7 @@ if (! $this->compact): ?>
'page' => $page + 1,
),
array(
'name' => 'load-more',
'id' => 'load-more',
'class' => 'pull-right load-more'
)
); ?>