Skip to content

Commit

Permalink
0.5.4 rev 3484
Browse files Browse the repository at this point in the history
  • Loading branch information
nightflyza committed May 16, 2014
1 parent 4180f7c commit 98b2bbe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.4 rev 3483
0.5.4 rev 3484
9 changes: 8 additions & 1 deletion api/libs/api.teskman.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ function em_EmployeeShowForm() {
$cells.= wf_TableCell(web_bool_led($eachemployee['active']));
$cells.= wf_TableCell($eachemployee['appointment']);
$cells.= wf_TableCell($eachemployee['mobile']);
$cells.= wf_TableCell($eachemployee['admlogin']);
$admlogin=$eachemployee['admlogin'];
if (!empty($admlogin)) {
if (file_exists(USERS_PATH.$admlogin)) {
$admlogin= wf_Link('?module=permissions&edit='.$admlogin, web_profile_icon().' '.$admlogin, false);

}
}
$cells.= wf_TableCell($admlogin);
$actions= wf_JSAlert('?module=employee&delete='.$eachemployee['id'], web_delete_icon(), 'Removing this may lead to irreparable results');
$actions.= wf_JSAlert('?module=employee&edit='.$eachemployee['id'], web_edit_icon(), 'Are you serious');
$cells.= wf_TableCell($actions);
Expand Down

0 comments on commit 98b2bbe

Please sign in to comment.