Device Vendors: Search to the right.

This commit is contained in:
Nate 2019-11-07 23:38:12 -07:00
parent 9f828b6a47
commit 54831263bc
1 changed files with 3 additions and 3 deletions

View File

@ -124,6 +124,9 @@
echo " <div class='heading'><b>".$text['title-device_vendors']." (".$num_rows.")</b></div>\n";
echo " <div class='actions'>\n";
echo button::create(['type'=>'button','label'=>$text['button-back'],'icon'=>$_SESSION['theme']['button_icon_back'],'style'=>'margin-right: 15px;','link'=>'devices.php']);
if (permission_exists('device_vendor_restore')) {
echo button::create(['type'=>'button','label'=>$text['button-restore'],'icon'=>$_SESSION['theme']['button_icon_reset'],'style'=>'margin-right: 15px;','link'=>'device_vendor_restore.php']);
}
if (permission_exists('device_vendor_add')) {
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$_SESSION['theme']['button_icon_add'],'link'=>'device_vendor_edit.php']);
}
@ -140,9 +143,6 @@
if ($paging_controls_mini != '') {
echo "<span style='margin-left: 15px;'>".$paging_controls_mini."</span>";
}
if (permission_exists('device_vendor_restore')) {
echo button::create(['type'=>'button','label'=>$text['button-restore'],'icon'=>$_SESSION['theme']['button_icon_reset'],'style'=>'margin-left: 15px;','link'=>'device_vendor_restore.php']);
}
echo " </form>\n";
echo " </div>\n";
echo " <div style='clear: both;'></div>\n";