mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update devices.php
This commit is contained in:
@@ -174,9 +174,6 @@
|
|||||||
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";
|
||||||
if (if_group("superadmin")) {
|
|
||||||
echo " <input type='button' class='btn' style='margin-right: 15px;' value='".$text['button-export']."' onclick=\"window.location.href='device_download.php'\">\n";
|
|
||||||
}
|
|
||||||
if (permission_exists('device_all')) {
|
if (permission_exists('device_all')) {
|
||||||
if ($_GET['show'] == 'all') {
|
if ($_GET['show'] == 'all') {
|
||||||
echo " <input type='hidden' name='show' value='all'>";
|
echo " <input type='hidden' name='show' value='all'>";
|
||||||
@@ -194,6 +191,9 @@
|
|||||||
if (permission_exists('device_imports')) {
|
if (permission_exists('device_imports')) {
|
||||||
echo "<input type='button' class='btn' alt='".$text['button-import']."' onclick=\"window.location='/app/device_imports/device_imports.php'\" value='".$text['button-import']."'>\n";
|
echo "<input type='button' class='btn' alt='".$text['button-import']."' onclick=\"window.location='/app/device_imports/device_imports.php'\" value='".$text['button-import']."'>\n";
|
||||||
}
|
}
|
||||||
|
if (if_group("superadmin")) {
|
||||||
|
echo " <input type='button' class='btn' style='margin-right: 15px;' value='".$text['button-export']."' onclick=\"window.location.href='device_download.php'\">\n";
|
||||||
|
}
|
||||||
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";
|
||||||
|
|||||||
Reference in New Issue
Block a user