Devices: Add view permission to Key Profiles button.

This commit is contained in:
Nate Jones
2015-02-15 00:40:39 +00:00
parent 4587b2ab59
commit 4a04d94bb7
+3 -1
View File
@@ -58,7 +58,9 @@ else {
echo " </td>\n"; echo " </td>\n";
echo " <td align='right' nowrap='nowrap' valign='top'>\n"; echo " <td align='right' nowrap='nowrap' valign='top'>\n";
echo " <form method='get' action=''>\n"; echo " <form method='get' action=''>\n";
echo " <input type='button' class='btn' value='".$text['button-profiles']."' onclick=\"document.location.href='device_profiles.php';\">"; if (permission_exists('device_profile_view')) {
echo " <input type='button' class='btn' value='".$text['button-profiles']."' onclick=\"document.location.href='device_profiles.php';\">";
}
echo " <input type='text' class='txt' style='width: 150px' name='search' value='$search'>"; echo " <input type='text' class='txt' style='width: 150px' name='search' value='$search'>";
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>"; echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>";
echo " </form>\n"; echo " </form>\n";