diff --git a/lam/lib/types/dhcp.inc b/lam/lib/types/dhcp.inc index 5142e777..c8d6808b 100644 --- a/lam/lib/types/dhcp.inc +++ b/lam/lib/types/dhcp.inc @@ -196,15 +196,34 @@ class lamDHCPList extends lamList { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; - // add/delete/PDF buttons - echo ("type . "\" type=\"submit\" name=\"new\" value=\"" . $this->labels['newEntry'] . "\">\n"); - if (!$createOnly) { - echo ("type . "\" type=\"submit\" name=\"del\" value=\"" . $this->labels['deleteEntry'] . "\">\n"); + if (checkIfWriteAccessIsAllowed()) { + // add/delete buttons + echo ("\n"); + if (!$createOnly) { + echo ("\n"); + } + echo "  "; + echo ("\n"); + echo "   "; + ?> + + type . "\" type=\"submit\" name=\"dhcpDefaults\" value=\"" . $this->labels['dhcpDefaults'] . "\">\n"); echo "\n"; - $this->listShowOUSelection(); + $this->listShowOUSelection(); + echo ""; + echo ' '; + echo '' . _('Change settings') . ''; + echo ''; echo "
\n"; diff --git a/lam/style/600_type_dhcp.css b/lam/style/600_type_dhcp.css index 96b204a2..45f94197 100644 --- a/lam/style/600_type_dhcp.css +++ b/lam/style/600_type_dhcp.css @@ -42,7 +42,7 @@ table.dhcpnav input { /* color for active page digit */ td.dhcpnav-activepage { - color:#CCFF33; + color: red; } /* table preferences */