diff --git a/front/multiEditCore.php b/front/multiEditCore.php index 2380517f..4dd4fbeb 100755 --- a/front/multiEditCore.php +++ b/front/multiEditCore.php @@ -175,7 +175,7 @@ } - } else if (elementType === 'input'){ + } else if (elementType === 'input' || elementType === 'textarea'){ // Add classes specifically for checkboxes inputType === 'checkbox' ? inputClass = 'checkbox' : inputClass = 'form-control'; diff --git a/front/plugins/newdev_template/config.json b/front/plugins/newdev_template/config.json index 3e040776..1416dcec 100755 --- a/front/plugins/newdev_template/config.json +++ b/front/plugins/newdev_template/config.json @@ -522,7 +522,7 @@ "description": [ { "language_code": "en_us", - "string": "The MAC address of the device. Uneditable - Autodetected." + "string": "The MAC address of the device. Uneditable - Autodetected. Database column name: devMac." } ] }, @@ -554,7 +554,7 @@ "description": [ { "language_code": "en_us", - "string": "The last known IP address of the device. Uneditable - Autodetected." + "string": "The last known IP address of the device. Uneditable - Autodetected. Database column name: devLastIP." } ] }, @@ -590,7 +590,7 @@ "description": [ { "language_code": "en_us", - "string": "The name of the device. If the value is set to (unknown) or (name not found) the application will try to discover the name of the device." + "string": "The name of the device. If the value is set to (unknown) or (name not found) the application will try to discover the name of the device. Database column name: devName." } ] }, @@ -661,7 +661,7 @@ "description": [ { "language_code": "en_us", - "string": "The icon associated with the device. Check the documentation on icons for more details." + "string": "The icon associated with the device. Check the documentation on icons for more details. Database column name: devIcon." } ] }, @@ -705,7 +705,7 @@ "description": [ { "language_code": "en_us", - "string": "The owner of the device." + "string": "The owner of the device. Database column name: devOwner." } ] }, @@ -754,7 +754,7 @@ "description": [ { "language_code": "en_us", - "string": "The type of the device. Custom Network device types from the NETWORK_DEVICE_TYPES setting are not automatically added, you need to add it via the + button onthe device itself." + "string": "The type of the device. Custom Network device types from the NETWORK_DEVICE_TYPES setting are not automatically added, you need to add it via the + button onthe device itself. Database column name: devType." } ] }, @@ -786,7 +786,7 @@ "description": [ { "language_code": "en_us", - "string": "The vendor of the device. If set to empty or (unknown) the app will try to auto-detect it." + "string": "The vendor of the device. If set to empty or (unknown) the app will try to auto-detect it. Database column name: devVendor." } ] }, @@ -821,7 +821,7 @@ "description": [ { "language_code": "en_us", - "string": "Indicates whether the device is marked as a favorite." + "string": "Indicates whether the device is marked as a favorite. Database column name: devFavorite." } ] }, @@ -865,7 +865,7 @@ "description": [ { "language_code": "en_us", - "string": "The group to which the device belongs." + "string": "The group to which the device belongs. Database column name: devGroup." } ] }, @@ -909,7 +909,7 @@ "description": [ { "language_code": "en_us", - "string": "The location of the device." + "string": "The location of the device. Database column name: devLocation." } ] }, @@ -940,7 +940,7 @@ "description": [ { "language_code": "en_us", - "string": "Additional comments or notes about the device." + "string": "Additional comments or notes about the device. Database column name: devComments." } ] }, @@ -976,7 +976,7 @@ "description": [ { "language_code": "en_us", - "string": "The date and time of the first connection with the device. Uneditable - Autodetected." + "string": "The date and time of the first connection with the device. Uneditable - Autodetected. Database column name: devFirstConnection." } ] }, @@ -1012,7 +1012,7 @@ "description": [ { "language_code": "en_us", - "string": "The date and time of the last seen connection with the device. Uneditable - Autodetected." + "string": "The date and time of the last seen connection with the device. Uneditable - Autodetected. Database column name: devLastConnection." } ] }, @@ -1047,7 +1047,7 @@ "description": [ { "language_code": "en_us", - "string": "Indicates whether the device has a static IP address." + "string": "Indicates whether the device has a static IP address. Database column name: devStaticIP." } ] }, @@ -1082,7 +1082,7 @@ "description": [ { "language_code": "en_us", - "string": "Select if the device should be scanned." + "string": "Select if the device should be scanned. Database column name: devScan." } ] }, @@ -1117,7 +1117,7 @@ "description": [ { "language_code": "en_us", - "string": "Indicates whether events related to the device shouldbe logged." + "string": "Indicates whether events related to the device shouldbe logged. Database column name: devLogEvents." } ] }, @@ -1152,7 +1152,7 @@ "description": [ { "language_code": "en_us", - "string": "Indicates whether events related to the device should trigger alerts. The default value of the Alert Events checkbox. Down and New Device notifications are always sent unless unselected in NTFPRCS_INCLUDED_SECTIONS." + "string": "Indicates whether events related to the device should trigger alerts. The default value of the Alert Events checkbox. Down and New Device notifications are always sent unless unselected in NTFPRCS_INCLUDED_SECTIONS. Database column name: devAlertEvents." } ] }, @@ -1187,7 +1187,7 @@ "description": [ { "language_code": "en_us", - "string": "Indicates whether an alert should be triggered when the device goes down. The device has to be down for longer than the time set in the Alert Down After NTFPRCS_alert_down_time setting." + "string": "Indicates whether an alert should be triggered when the device goes down. The device has to be down for longer than the time set in the Alert Down After NTFPRCS_alert_down_time setting. Database column name: devAlertDown." } ] }, @@ -1227,7 +1227,7 @@ "description": [ { "language_code": "en_us", - "string": "Enter number of hours for which repeated notifications should be ignored for. If you select 0 then you get notified on all events." + "string": "Enter number of hours for which repeated notifications should be ignored for. If you select 0 then you get notified on all events. Database column name: devSkipRepeated." } ] }, @@ -1263,7 +1263,7 @@ "description": [ { "language_code": "en_us", - "string": "The date and time of the last notification sent for the device. Uneditable - Autodetected." + "string": "The date and time of the last notification sent for the device. Uneditable - Autodetected. Database column name: devLastNotification." } ] }, @@ -1298,7 +1298,7 @@ "description": [ { "language_code": "en_us", - "string": "Indicates whether the device should be marked as present after detected in a scan." + "string": "Indicates whether the device was present in a scan. Database column name: devPresentLastScan." } ] }, @@ -1333,7 +1333,7 @@ "description": [ { "language_code": "en_us", - "string": "Indicates whether the device is considered a new device. The default value of the New Device checkbox. If checked this will show the New status for the device and include it in lists when the New Devices filter is active. Doesn't affect notifications." + "string": "Indicates whether the device is considered a new device. The default value of the New Device checkbox. If checked this will show the New status for the device and include it in lists when the New Devices filter is active. Doesn't affect notifications. Database column name: devIsNew." } ] }, @@ -1368,7 +1368,7 @@ "description": [ { "language_code": "en_us", - "string": "Indicates whether the device is archived. If you archive a device and the device is offline it will be hidden from My Devices." + "string": "Indicates whether the device is archived. If you archive a device and the device is offline it will be hidden from My Devices. Database column name: devIsArchived." } ] }, @@ -1396,7 +1396,7 @@ { "name": "value", "type": "sql", - "value": "SELECT '❌None' as name, '' as id UNION SELECT devName as name, devMac as id FROM Devices WHERE EXISTS (SELECT 1 FROM Settings WHERE setKey = 'NETWORK_DEVICE_TYPES' AND LOWER(setValue) LIKE '%' || LOWER(devType) || '%' AND devType <> '')" + "value": "SELECT '❌None' as name, '' as id UNION SELECT devName as name, devMac as id FROM Devices WHERE devIsArchived == 0 AND EXISTS (SELECT 1 FROM Settings WHERE setKey = 'NETWORK_DEVICE_TYPES' AND LOWER(setValue) LIKE '%' || LOWER(devType) || '%' AND devType <> '')" }, { "name": "target_macs", @@ -1417,7 +1417,7 @@ "description": [ { "language_code": "en_us", - "string": "The MAC address of the Parent network node." + "string": "The MAC address of the Parent network node. Database column name: devParentMAC." } ] }, @@ -1451,7 +1451,7 @@ "description": [ { "language_code": "en_us", - "string": "Defines the relationship between this device and its parent. Selecting nic links it as a network interface, allowing the parent’s online status to be evaluated using its devReqNicsOnline (“Require NICs Online”) setting. Some relationship types may hide the device from lists; see the UI_hide_rel_types setting for details." + "string": "Defines the relationship between this device and its parent. Selecting nic links it as a network interface, allowing the parent’s online status to be evaluated using its devReqNicsOnline (“Require NICs Online”) setting. Some relationship types may hide the device from lists; see the UI_hide_rel_types setting for details. Database column name: devParentRelType." } ] }, @@ -1482,7 +1482,7 @@ "description": [ { "language_code": "en_us", - "string": "The port number of the network node." + "string": "The port number of the network node. Database column name: devParentPort." } ] }, @@ -1510,7 +1510,7 @@ "description": [ { "language_code": "en_us", - "string": "Children nodes assigned to this device. Navigate to the child device directly to edit the relationship and details." + "string": "Children nodes assigned to this device. Navigate to the child device directly to edit the relationship and details. Database column name: N/A (evaluated dynamically)." } ] }, @@ -1541,7 +1541,7 @@ "description": [ { "language_code": "en_us", - "string": "The network SSID." + "string": "The network SSID. Database column name: devSSID." } ] }, @@ -1584,7 +1584,7 @@ "description": [ { "language_code": "en_us", - "string": "The network site." + "string": "The network site. Database column name: devSite." } ] }, @@ -1620,7 +1620,7 @@ "description": [ { "language_code": "en_us", - "string": "The name of the Sync Node. Uneditable - Auto-populated via the Sync plugin if enabled." + "string": "The name of the Sync Node. Uneditable - Auto-populated via the Sync plugin if enabled. Database column name: devSyncHubNode." } ] }, @@ -1726,7 +1726,7 @@ "description": [ { "language_code": "en_us", - "string": "Custom device properties to store additional data or to perform an action on the device. Check the documentation on Custom Properties for additional details." + "string": "Custom device properties to store additional data or to perform an action on the device. Check the documentation on Custom Properties for additional details. Database column name: devCustomProps." } ] }, @@ -1762,7 +1762,7 @@ "description": [ { "language_code": "en_us", - "string": "Fully Qualified Domain Name - Autodetected and Uneditable. Can be auto-refreshed by enabling the REFRESH_FQDN setting." + "string": "Fully Qualified Domain Name - Autodetected and Uneditable. Can be auto-refreshed by enabling the REFRESH_FQDN setting. Database column name: devFQDN." } ] }, @@ -1797,7 +1797,7 @@ "description": [ { "language_code": "en_us", - "string": "Indicates whether this device should be considered online only if all associated NICs (devices with the nic relationship type) are online. If disabled, the device is considered online if any NIC is online." + "string": "Indicates whether this device should be considered online only if all associated NICs (devices with the nic relationship type) are online. If disabled, the device is considered online if any NIC is online. Database column name: devReqNicsOnline." } ] }, @@ -1825,7 +1825,7 @@ "description": [ { "language_code": "en_us", - "string": "Children nodes with the nic Relationship Type. Navigate to the child device directly to edit the relationship and details." + "string": "Children nodes with the nic Relationship Type. Navigate to the child device directly to edit the relationship and details. Database column name: N/A (evaluated dynamically)." } ] }