device_vendor & device_mac_address are a must

This commit is contained in:
luis daniel lucio quiroz
2015-04-23 16:39:49 +00:00
parent e0c0be31ca
commit 830238631c

View File

@@ -21,6 +21,7 @@
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
Luis Daniel Lucio Quiroz <dlucio@okay.com.mx>
*/
require_once "root.php";
require_once "resources/require.php";
@@ -450,7 +451,7 @@ require_once "resources/require.php";
echo " ".$text['label-device_mac_address']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_mac_address' id='device_mac_address' maxlength='255' value=\"$device_mac_address\">\n";
echo " <input class='formfld' type='text' name='device_mac_address' id='device_mac_address' maxlength='255' value=\"$device_mac_address\" required=\"required\">\n";
echo " <div style='display: none;' id='duplicate_mac_response'></div>\n";
echo " <div style='display: none;' id='duplicate_mac_found'></div>\n";
echo "<br />\n";
@@ -1054,7 +1055,7 @@ require_once "resources/require.php";
echo " ".$text['label-device_vendor']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_vendor' maxlength='255' value=\"$device_vendor\">\n";
echo " <input class='formfld' type='text' name='device_vendor' maxlength='255' value=\"$device_vendor\" required=\"required\">\n";
echo "<br />\n";
echo $text['description-device_vendor']."\n";
echo "</td>\n";
@@ -1159,4 +1160,4 @@ require_once "resources/require.php";
//show the footer
require_once "resources/footer.php";
?>
?>