Skip to content

Commit

Permalink
Small Cosmetic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
phpipam committed Jul 13, 2016
1 parent 31611e3 commit 48ae2d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/admin/devices/index.php
Expand Up @@ -39,7 +39,7 @@
<?php
/* first check if they exist! */
if($devices===false) {
$Result->show("warn alert-absolute", _('No devices configured').'!', false);
$Result->show("warning", _('No devices configured').'!', false);
}
/* Print them out */
else {
Expand Down
2 changes: 2 additions & 0 deletions app/admin/users/print-all.php
Expand Up @@ -93,7 +93,9 @@

# powerDNS
if($user['role']=="Administrator") {
if ($User->settings->enablePowerDNS==1) {
print "<td><span class='badge badge1 badge5 alert-success'>"._("Yes")."</span></td>";
}
print "<td><span class='badge badge1 badge5 alert-success'>"._("Yes")."</span></td>";
}
else {
Expand Down
2 changes: 1 addition & 1 deletion app/tools/devices/all-devices.php
Expand Up @@ -59,7 +59,7 @@
print "</thead>";

// no devices
if(sizeof(@$devices) == 0) {
if($devices===false) {
$colspan = 8 + $colspanCustom;
print "<tr>";
print " <td colspan='$colspan'>".$Result->show('info', _('No results')."!", false, false, true)."</td>";
Expand Down

0 comments on commit 48ae2d1

Please sign in to comment.