GRAYBYTE WORDPRESS FILE MANAGER7751

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/backwpup/components/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/backwpup/components//tooltip.php
<?php
use BackWPup\Utils\BackWPupHelpers;
/**
 * @var string  $content      The tooltip content. Default: "".
 * @var string  $position     Optionnal. The tooltip position. Values: "left" or "center". Default: "left".
 * @var string  $icon_name    Optionnal. The tooltip icon name. Must match a file in /components/icons. Default: "info".
 * @var string  $icon_size    Optionnal. The tooltip icon size. Values: see Icon component. Default: "medium".
 * @var string  $parent_classes  Optionnal. The tooltip parent classes. Values: any class. Default: null.
 */

# Defaults
$icon_name = $icon_name ?? "info";
$icon_size = $icon_size ?? "medium";
$data = $data ?? [];

# Position
$position = $position ?? "bottom";

$tooltip_class = 'left-1/2 -translate-x-1/2 bottom-full mb-2';
$tooltip_arrow = 'left-1/2 transform -translate-x-1/2 top-full border-t-gray-900 dark:border-t-gray-700';

if ( $position === 'right' ) {
    $tooltip_class = 'left-full top-1/2 -translate-y-1/2 ml-2';
    $tooltip_arrow = 'top-1/2 transform -translate-y-1/2 right-full border-r-gray-900 dark:border-r-gray-700';
}
if ( $position === 'left' ) {
    $tooltip_class = 'right-full top-1/2 -translate-y-1/2 mr-2';
    $tooltip_arrow = 'top-1/2 transform -translate-y-1/2 left-full border-l-gray-900 dark:border-l-gray-700';
}
if ( $position === 'bottom' ) {
    $tooltip_class = 'left-1/2 -translate-x-1/2 top-full mt-2';
    $tooltip_arrow = 'left-1/2 transform -translate-x-1/2 bottom-full border-b-gray-900 dark:border-b-gray-700';
}

$classes = isset($class) ? $class : '';
$parent_classes = $parent_classes ?? '';

# CSS
$tooltip_classes = BackWPupHelpers::clsx(
    $tooltip_class,
    'absolute invisible inline-block group-hover:opacity-100 group-hover:visible bg-gray-800 text-white text-xs rounded z-10 transform',
    'p-2 text-xs font-normal opacity-0 font-body bg-gray-900 rounded-lg shadow-md tooltip dark:bg-gray-700 min-w-[130px] text-center max-w-[200px]'
);

$tooltip_arrow_classes = BackWPupHelpers::clsx(
    $tooltip_arrow,
    'absolute w-0 h-0 border-6 border-solid border-transparent'
);

$parent_classes = BackWPupHelpers::clsx(
  "group relative pointer-events-auto",
  $parent_classes
);
?>
<span class="<?php echo $parent_classes; ?>">
  <span class="text-primary-darker cursor-pointer">
    <?php BackWPupHelpers::component("icon", ["name" => $icon_name, "size" => $icon_size, "data" => $data, "class" => $classes]); ?>
  </span>
  <span data-tooltip-position="<?php echo esc_attr( $position); ?>" class="<?php echo esc_attr( $tooltip_classes ); ?>">
    <?php echo $content ?? ''; ?>
      <span class="<?php echo esc_attr( $tooltip_arrow_classes ); ?>"></span>
  </span>
</span>

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:29
giriqfky / giriqfky
0755
alerts
--
July 10 2025 04:32:37
giriqfky / giriqfky
0755
app
--
July 10 2025 04:32:37
giriqfky / giriqfky
0755
containers
--
July 10 2025 04:32:37
giriqfky / giriqfky
0755
form
--
July 10 2025 04:32:37
giriqfky / giriqfky
0755
icons
--
July 10 2025 04:32:37
giriqfky / giriqfky
0755
navigation
--
July 10 2025 04:32:37
giriqfky / giriqfky
0755
onboarding
--
July 10 2025 04:32:37
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:37
giriqfky / giriqfky
0644
closable-heading.php
0.545 KB
February 04 2025 14:50:44
giriqfky / giriqfky
0644
file-line.php
1.723 KB
February 04 2025 14:50:44
giriqfky / giriqfky
0644
first-congrats.php
0.897 KB
March 13 2025 16:05:40
giriqfky / giriqfky
0644
heading-desc.php
0.38 KB
February 04 2025 14:50:44
giriqfky / giriqfky
0644
heading.php
2.095 KB
April 07 2025 18:31:08
giriqfky / giriqfky
0644
icon.php
1.477 KB
April 07 2025 18:31:08
giriqfky / giriqfky
0644
job-item.php
4.122 KB
April 29 2025 17:34:12
giriqfky / giriqfky
0644
next-scheduled-backup.php
2.931 KB
April 07 2025 18:31:08
giriqfky / giriqfky
0644
progress-bar.php
0.485 KB
February 04 2025 14:50:44
giriqfky / giriqfky
0644
progress-box.php
1.803 KB
March 13 2025 16:05:40
giriqfky / giriqfky
0644
selector-file-db.php
2.793 KB
April 23 2025 14:14:02
giriqfky / giriqfky
0644
separator.php
0.03 KB
February 04 2025 14:50:44
giriqfky / giriqfky
0644
storage-item.php
2.895 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
storage-list-compact.php
1.332 KB
April 07 2025 18:31:08
giriqfky / giriqfky
0644
storage-list.php
1.404 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
table-backups.php
0.893 KB
February 04 2025 14:50:44
giriqfky / giriqfky
0644
table-row-backups.php
4.791 KB
April 23 2025 14:14:02
giriqfky / giriqfky
0644
tags-item.php
0.468 KB
February 04 2025 14:50:44
giriqfky / giriqfky
0644
tooltip.php
2.618 KB
April 07 2025 18:31:08
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF