Edit User: Use CSS (instead) to hide Enabled field when editing own User account.
This commit is contained in:
parent
b9be6da703
commit
8de06a9fbe
|
|
@ -952,8 +952,7 @@
|
|||
echo " </tr>";
|
||||
}
|
||||
|
||||
if ($user_uuid != $_SESSION['user_uuid']) {
|
||||
echo "<tr>\n";
|
||||
echo "<tr ".($user_uuid == $_SESSION['user_uuid'] ? "style='display: none;'" : null).">\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-enabled']."\n";
|
||||
echo "</td>\n";
|
||||
|
|
@ -966,7 +965,6 @@
|
|||
echo $text['description-enabled']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
|
||||
echo " <tr>";
|
||||
echo " <td colspan='2' align='right' style='white-space: nowrap;'>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue