From ddaf235167f4595b622f7a3bcb323e99da387139 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Thu, 10 Sep 2015 22:02:46 -0400 Subject: [PATCH] Manage users no longer has inline styling --- admin/manage_users.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/admin/manage_users.php b/admin/manage_users.php index 3db01136..598b000b 100644 --- a/admin/manage_users.php +++ b/admin/manage_users.php @@ -247,24 +247,24 @@ while ($myuser = hesk_dbFetchAssoc($res)) { if (isset($hesk_settings['users_online'][$myuser['id']])) { - $myuser['name'] = ' ' . $myuser['name']; + $myuser['name'] = ' ' . $myuser['name']; } else { - $myuser['name'] = ' ' . $myuser['name']; + $myuser['name'] = ' ' . $myuser['name']; } } /* To edit yourself go to "Profile" page, not here. */ if ($myuser['id'] == $_SESSION['id']) { - $edit_code = ''; + $edit_code = ''; } elseif ($myuser['id'] == 1) { $edit_code = ' '; } else { - $edit_code = ''; + $edit_code = ''; } if ($myuser['isadmin']) @@ -282,7 +282,7 @@ while ($myuser = hesk_dbFetchAssoc($res)) $remove_code = ' '; } else { - $remove_code = ' '; + $remove_code = ' '; } /* Is auto assign enabled? */ @@ -290,11 +290,11 @@ while ($myuser = hesk_dbFetchAssoc($res)) { if ($myuser['autoassign']) { - $autoassign_code = ''; + $autoassign_code = ''; } else { - $autoassign_code = ''; + $autoassign_code = ''; } } else @@ -306,9 +306,9 @@ while ($myuser = hesk_dbFetchAssoc($res)) if ($myuser['id'] != $_SESSION['id'] && $myuser['id'] != 1) { /* Is the user active? */ if ($myuser['active']) { - $activeMarkup = ''; + $activeMarkup = ''; } else { - $activeMarkup = ''; + $activeMarkup = ''; } } @@ -345,7 +345,7 @@ EOC; '.$hesklang['online'].'     '.$hesklang['offline']; + echo '    '.$hesklang['online'].'     '.$hesklang['offline']; }?>