summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorFelix Favre <gnomus@gnomus.de>2014-12-07 16:38:45 +0100
committerFelix Favre <gnomus@gnomus.de>2014-12-07 16:38:45 +0100
commit09e65d1a8435f6cbdbeaba34440fc752964d2e1f (patch)
tree6093b2086a38a5287e5c04cf95045dafbf24feb7 /includes
parent9e0cc40e6d272aa0216fe785f7eb9175537b5e97 (diff)
parent663526246b9349141b96880a2cdfa90340c447ba (diff)
Merge branch 'master' of github.com:engelsystem/engelsystem
Diffstat (limited to 'includes')
-rw-r--r--includes/view/User_view.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/includes/view/User_view.php b/includes/view/User_view.php
index 90cdb498..f2d14a64 100644
--- a/includes/view/User_view.php
+++ b/includes/view/User_view.php
@@ -185,9 +185,10 @@ function User_view($user_source, $admin_user_privilege, $freeloader, $user_angel
buttons(array(
$admin_user_privilege ? button(page_link_to('admin_user') . '&id=' . $user_source['UID'], glyph("edit") . _("edit")) : '',
! $user_source['Gekommen'] ? button(page_link_to('admin_arrive') . '&arrived=' . $user_source['UID'], _("arrived")) : '',
- $its_me ? button(page_link_to_absolute('ical') . '&key=' . $user_source['api_key'], glyph('calendar') . _("iCal Export")) : '',
- $its_me ? button(page_link_to_absolute('shifts_json_export') . '&key=' . $user_source['api_key'], glyph('export') . _("JSON Export")) : '',
- $its_me ? button(page_link_to_absolute('user_myshifts') . '&reset', glyph('repeat') . _('Reset API key')) : ''
+ $its_me ? button(page_link_to('user_settings'), glyph('list-alt') . _("Settings")) : '',
+ $its_me ? button(page_link_to('ical') . '&key=' . $user_source['api_key'], glyph('calendar') . _("iCal Export")) : '',
+ $its_me ? button(page_link_to('shifts_json_export') . '&key=' . $user_source['api_key'], glyph('export') . _("JSON Export")) : '',
+ $its_me ? button(page_link_to('user_myshifts') . '&reset', glyph('repeat') . _('Reset API key')) : ''
))
))
)),