summaryrefslogtreecommitdiff
path: root/includes/pages/user_myshifts.php
diff options
context:
space:
mode:
authorJan-Philipp Litza <janphilipp@litza.de>2012-12-29 13:58:59 +0100
committerJan-Philipp Litza <janphilipp@litza.de>2012-12-29 13:58:59 +0100
commit7c7b2d3b54084319ed0d6392f9ea13e00173f011 (patch)
treed52b460356377be1339d4c2a1bed8639f9c14764 /includes/pages/user_myshifts.php
parent1867c884848b85c5766c7d2cbc30b353356d00a9 (diff)
polished code and display of shiftview and used more icons
Diffstat (limited to 'includes/pages/user_myshifts.php')
-rw-r--r--includes/pages/user_myshifts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/user_myshifts.php b/includes/pages/user_myshifts.php
index 353eac56..007a1681 100644
--- a/includes/pages/user_myshifts.php
+++ b/includes/pages/user_myshifts.php
@@ -97,9 +97,9 @@ function user_myshifts() {
$html .= '<td>' . $shift['Comment'] . '</td>';
$html .= '<td>';
if ($id == $user['UID'])
- $html .= '<a href="' . page_link_to('user_myshifts') . '&edit=' . $shift['id'] . '">' . Get_Text('edit') . '</a>';
+ $html .= img_button(page_link_to('user_myshifts') . '&edit=' . $shift['id'], 'pencil', 'edit');
if (($shift['start'] - time() > $LETZTES_AUSTRAGEN * 3600) || in_array('user_shifts_admin', $privileges))
- $html .= ' | <a href="' . page_link_to('user_myshifts') . (($id != $user['UID'])? '&id=' . $id : '') . '&cancel=' . $shift['id'] . '">' . Get_Text('sign_off') . '</a>';
+ $html .= img_button(page_link_to('user_myshifts') . (($id != $user['UID'])? '&id=' . $id : '') . '&cancel=' . $shift['id'], 'cross', 'sign_off');
$html .= '</td>';
$html .= '</tr>';
}