Fix invalid icon names passed to the icon view helper

This commit is contained in:
Johannes Meyer 2015-02-27 14:45:47 +01:00
parent 96c132908d
commit 74dfa6e72a
2 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
'</a>' '</a>'
); ?></p> ); ?></p>
<?php elseif ($requiresExternalAuth): ?> <?php elseif ($requiresExternalAuth): ?>
<p class="info-box"><?= $this->icon('icon-info'); ?><?= $this->translate( <p class="info-box"><?= $this->icon('info'); ?><?= $this->translate(
'You\'re currently not authenticated using any of the web server\'s authentication mechanisms.' 'You\'re currently not authenticated using any of the web server\'s authentication mechanisms.'
. ' Make sure you\'ll configure such, otherwise you\'ll not be able to login.' . ' Make sure you\'ll configure such, otherwise you\'ll not be able to login.'
); ?></p> ); ?></p>

View File

@ -323,7 +323,7 @@ class FilterEditor extends AbstractWidget
$this->preservedUrl()->with('addFilter', $filter->getId()), $this->preservedUrl()->with('addFilter', $filter->getId()),
null, null,
array( array(
'icon' => 'icon-plus', 'icon' => 'plus',
'title' => t('Add another filter') 'title' => t('Add another filter')
) )
); );
@ -336,7 +336,7 @@ class FilterEditor extends AbstractWidget
$this->preservedUrl()->with('stripFilter', $filter->getId()), $this->preservedUrl()->with('stripFilter', $filter->getId()),
null, null,
array( array(
'icon' => 'icon-minus', 'icon' => 'minus',
'title' => t('Strip this filter') 'title' => t('Strip this filter')
) )
); );
@ -349,7 +349,7 @@ class FilterEditor extends AbstractWidget
$this->preservedUrl()->without('addFilter'), $this->preservedUrl()->without('addFilter'),
null, null,
array( array(
'icon' => 'icon-cancel', 'icon' => 'cancel',
'title' => t('Cancel this operation') 'title' => t('Cancel this operation')
) )
); );