Device - Edit: Increase width of Keys and Settings input fields.
This commit is contained in:
@@ -1716,22 +1716,22 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo "<td align='left'>\n";
|
echo "<td align='left'>\n";
|
||||||
echo " <input class='formfld' type='text' name='device_keys[".$x."][device_key_value]' style='width: 120px;' maxlength='255' value=\"".escape($row['device_key_value'])."\"/>\n";
|
echo " <input class='formfld' type='text' name='device_keys[".$x."][device_key_value]' style='width: 220px;' maxlength='255' value=\"".escape($row['device_key_value'])."\"/>\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
|
|
||||||
if (permission_exists('device_key_extension')) {
|
if (permission_exists('device_key_extension')) {
|
||||||
echo "<td align='left'>\n";
|
echo "<td align='left'>\n";
|
||||||
echo " <input class='formfld' type='text' name='device_keys[".$x."][device_key_extension]' style='width: 75px;' maxlength='255' value=\"".escape($row['device_key_extension'])."\"/>\n";
|
echo " <input class='formfld' type='text' name='device_keys[".$x."][device_key_extension]' style='width: 110px;' maxlength='255' value=\"".escape($row['device_key_extension'])."\"/>\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<td align='left'>\n";
|
echo "<td align='left'>\n";
|
||||||
echo " <input class='formfld' type='text' name='device_keys[".$x."][device_key_label]' style='width: 75px;' maxlength='255' value=\"".escape($row['device_key_label'])."\"/>\n";
|
echo " <input class='formfld' type='text' name='device_keys[".$x."][device_key_label]' style='width: 220px;' maxlength='255' value=\"".escape($row['device_key_label'])."\"/>\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
|
|
||||||
if (permission_exists('device_key_icon')) {
|
if (permission_exists('device_key_icon')) {
|
||||||
echo "<td align='left'>\n";
|
echo "<td align='left'>\n";
|
||||||
echo " <input class='formfld' type='text' name='device_keys[".$x."][device_key_icon]' style='width: 75px;' maxlength='255' value=\"".escape($row['device_key_icon'])."\"/>\n";
|
echo " <input class='formfld' type='text' name='device_keys[".$x."][device_key_icon]' style='width: 110px;' maxlength='255' value=\"".escape($row['device_key_icon'])."\"/>\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1799,11 +1799,11 @@
|
|||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
|
|
||||||
echo "<td align='left'>\n";
|
echo "<td align='left'>\n";
|
||||||
echo " <input class='formfld' type='text' name='device_settings[".$x."][device_setting_subcategory]' style='width: 120px;' maxlength='255' value=\"".escape($row['device_setting_subcategory'] ?? '')."\"/>\n";
|
echo " <input class='formfld' type='text' name='device_settings[".$x."][device_setting_subcategory]' style='width: 220px;' maxlength='255' value=\"".escape($row['device_setting_subcategory'] ?? '')."\"/>\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
|
|
||||||
echo "<td align='left'>\n";
|
echo "<td align='left'>\n";
|
||||||
echo " <input class='formfld' type='text' name='device_settings[".$x."][device_setting_value]' style='width: 120px;' maxlength='255' value=\"".escape($row['device_setting_value'])."\"/>\n";
|
echo " <input class='formfld' type='text' name='device_settings[".$x."][device_setting_value]' style='width: 220px;' maxlength='255' value=\"".escape($row['device_setting_value'])."\"/>\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
|
|
||||||
echo "<td align='left'>\n";
|
echo "<td align='left'>\n";
|
||||||
@@ -1814,7 +1814,7 @@
|
|||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
|
|
||||||
echo "<td align='left'>\n";
|
echo "<td align='left'>\n";
|
||||||
echo " <input class='formfld' type='text' name='device_settings[".$x."][device_setting_description]' style='width: 150px;' maxlength='255' value=\"".escape($row['device_setting_description'])."\"/>\n";
|
echo " <input class='formfld' type='text' name='device_settings[".$x."][device_setting_description]' style='width: 220px;' maxlength='255' value=\"".escape($row['device_setting_description'])."\"/>\n";
|
||||||
echo "</td>\n";
|
echo "</td>\n";
|
||||||
|
|
||||||
if (is_array($device_settings) && @sizeof($device_settings) > 1 && permission_exists('device_setting_delete')) {
|
if (is_array($device_settings) && @sizeof($device_settings) > 1 && permission_exists('device_setting_delete')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user