From bc1c7803e008e6d5653a2831ddfb6895a1d762a6 Mon Sep 17 00:00:00 2001 From: billz Date: Fri, 25 Oct 2024 01:19:19 -0700 Subject: [PATCH] Revise/fixup tooltips --- includes/functions.php | 11 ----------- templates/dhcp/general.php | 2 +- templates/hostapd/advanced.php | 2 +- templates/hostapd/basic.php | 5 ++--- templates/system/tools.php | 2 +- 5 files changed, 5 insertions(+), 17 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 36e709ce..863704c0 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -863,17 +863,6 @@ function get_public_ip() return $public_ip[0]; } -/* Returns a standardized tooltip - * - * @return string $tooltip - */ -function getTooltip($msg, $id, $visible = true, $data_html = false) -{ - ($visible) ? $opt1 = 'visible' : $opt1 = 'invisible'; - ($data_html) ? $opt2 = 'data-html="true"' : $opt2 = 'data-html="false"'; - echo ''; -} - // Load non default JS/ECMAScript in footer function loadFooterScripts($extraFooterScripts) { diff --git a/templates/dhcp/general.php b/templates/dhcp/general.php index d8ee6955..6eaea7cf 100644 --- a/templates/dhcp/general.php +++ b/templates/dhcp/general.php @@ -81,7 +81,7 @@
- + ">

nohook wpa_supplicant option for this interface in the DHCPCD configuration.") ?> diff --git a/templates/hostapd/advanced.php b/templates/hostapd/advanced.php index 0dda902a..1476d5d4 100644 --- a/templates/hostapd/advanced.php +++ b/templates/hostapd/advanced.php @@ -56,7 +56,7 @@

- + "> txpower option for the AP interface and the configured country."); ?>
diff --git a/templates/hostapd/basic.php b/templates/hostapd/basic.php index 9b4140c5..1845c829 100644 --- a/templates/hostapd/basic.php +++ b/templates/hostapd/basic.php @@ -18,10 +18,9 @@
- + "> -
">
-
+
diff --git a/templates/system/tools.php b/templates/system/tools.php index 0cbf3ea2..a30601db 100644 --- a/templates/system/tools.php +++ b/templates/system/tools.php @@ -23,7 +23,7 @@ - + ">