From 67bf364b04638e8889555745a0450967d3301578 Mon Sep 17 00:00:00 2001 From: billz Date: Sun, 19 Mar 2023 16:44:18 +0100 Subject: [PATCH] Add function getTooltip() --- includes/functions.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/includes/functions.php b/includes/functions.php index 2971a329..6ab8a40a 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -792,3 +792,14 @@ function get_public_ip() return $public_ip[0]; } +/* Returns a standardized tooltip + * + * @return string $tooltip + */ +function getTooltip($msg, $id, $visible = true) +{ + ($visible) ? $opt = 'visible' : $opt = 'invisible'; + $tooltip = ''; + return $tooltip; +} +