summaryrefslogtreecommitdiff
path: root/app/Template/user_view
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/user_view')
-rw-r--r--app/Template/user_view/layout.php4
-rw-r--r--app/Template/user_view/share.php4
-rw-r--r--app/Template/user_view/show.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/user_view/layout.php b/app/Template/user_view/layout.php
index 4f0eca94..c126ad89 100644
--- a/app/Template/user_view/layout.php
+++ b/app/Template/user_view/layout.php
@@ -3,7 +3,7 @@
<?php if ($this->user->hasAccess('UserCreationController', 'show')): ?>
<ul>
<li>
- <i class="fa fa-user fa-fw"></i><?= $this->url->link(t('All users'), 'UserListController', 'show') ?>
+ <?= $this->url->icon('user', t('All users'), 'UserListController', 'show') ?>
</li>
<li>
<?= $this->modal->medium('plus', t('New local user'), 'UserCreationController', 'show') ?>
@@ -15,7 +15,7 @@
<?= $this->modal->medium('upload', t('Import'), 'UserImportController', 'show') ?>
</li>
<li>
- <i class="fa fa-users fa-fw"></i><?= $this->url->link(t('View all groups'), 'GroupListController', 'index') ?>
+ <?= $this->url->icon('users', t('View all groups'), 'GroupListController', 'index') ?>
</li>
</ul>
<?php endif ?>
diff --git a/app/Template/user_view/share.php b/app/Template/user_view/share.php
index 570b766e..614f058a 100644
--- a/app/Template/user_view/share.php
+++ b/app/Template/user_view/share.php
@@ -5,8 +5,8 @@
<?php if (! empty($user['token'])): ?>
<div class="listing">
<ul class="no-bullet">
- <li><strong><i class="fa fa-rss-square"></i> <?= $this->url->link(t('RSS feed'), 'FeedController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
- <li><strong><i class="fa fa-calendar"></i> <?= $this->url->link(t('iCal feed'), 'ICalendarController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
+ <li><strong><?= $this->url->icon('rss-square', t('RSS feed'), 'FeedController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
+ <li><strong><?= $this->url->icon('calendar', t('iCal feed'), 'ICalendarController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
</ul>
</div>
<?= $this->url->link(t('Disable public access'), 'UserViewController', 'share', array('user_id' => $user['id'], 'switch' => 'disable'), true, 'btn btn-red') ?>
diff --git a/app/Template/user_view/show.php b/app/Template/user_view/show.php
index 2f5a73af..456f57ac 100644
--- a/app/Template/user_view/show.php
+++ b/app/Template/user_view/show.php
@@ -42,8 +42,8 @@
<div class="listing">
<ul class="no-bullet">
- <li><strong><i class="fa fa-rss-square"></i> <?= $this->url->link(t('RSS feed'), 'FeedController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
- <li><strong><i class="fa fa-calendar"></i> <?= $this->url->link(t('iCal feed'), 'ICalendarController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
+ <li><strong><?= $this->url->icon('rss-square', t('RSS feed'), 'FeedController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
+ <li><strong><?= $this->url->icon('calendar', t('iCal feed'), 'ICalendarController', 'user', array('token' => $user['token']), false, '', '', true) ?></strong></li>
</ul>
</div>
<?php endif ?>