GRAYBYTE WORDPRESS FILE MANAGER2135

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//storage-item.php
<?php
use BackWPup\Utils\BackWPupHelpers;
/**
 * @var string  $name         The name of the service.
 * @var string  $slug         The slug of the service, also icon file name.
 * @var string  $identifier   Optional. The identifier for the input.
 * @var bool    $active       Optional. True to set the service as active. Default: false.
 * @var bool    $full_width   Optional. True to make the button full width. Default: false.
 * @var string  $prefix       Optional. The prefix for the input name. Default: "".
 * @var string  $label        Optional. The label for the input. Default: $name.
 * @var string  $job_id       Optional. The job ID. Default: null.
 * @var int     $total_active Optional. The total number of active storage.s
 */

# Defaults
$name = $name ?? "";
$prefix = $prefix ?? "";
$slug = $slug ?? "FOLDER";
$active = $active ?? false;
$label = $label ?? $name;
$full_width = $full_width ?? false;
$with_back = $with_back ?? false;
$identifier = $identifier ?? 'destination-'.$slug;
$total_active = $total_active ?? 1;

# Classes
$base_style = "flex items-center gap-2 p-2 pr-4 border rounded";
$contextual_style = "has-[:checked]:border-secondary-base has-[:checked]:bg-secondary-lighter border-transparent bg-white 
hover:bg-grey-200";
$full_width_class = isset($full_width) && $full_width ? "w-full" : "";
$js_trigger_class = '';
$configure_btn_class = BackWPupHelpers::clsx( 'js-backwpup-toggle-storage' , 'flex items-center gap-2 border rounded', 'ml-2 border-transparent bg-white hover:bg-grey-200' ) ;
# JS
$configure_btn_content = "storage-$slug";

if( $active && $total_active > 1 ) {
	$js_trigger_class = 'js-backwpup-unselect-storage';
}

?>
<button data-job-id="<?php echo esc_attr( $job_id ); ?>"
        data-storage="<?php echo esc_attr( $slug ); ?>"
        data-label="<?php echo esc_html( $label ); ?>"
        class="<?php echo BackWPupHelpers::clsx( $js_trigger_class, $base_style, $contextual_style, $full_width_class ); ?>"
>
  <input id='<?php echo esc_attr( $identifier ); ?>' value="<?php echo esc_attr( $slug); ?>"
         type="checkbox" name="<?php echo esc_attr( $name ); ?>" class="sr-only" <?php checked( $active ); ?>>
  <span class="p-2 border border-grey-500 rounded">
    <?php include untrailingslashit(BackWPup::get_plugin_data('plugindir'))."/assets/img/storage/$slug.svg"; ?>
  </span>
  <label class="text-base font-title"><?php echo esc_html( $label ); ?></label>
</button>
<button data-content="<?php echo esc_attr( $configure_btn_content ); ?>"
        data-job-id="<?php echo esc_attr( $job_id ); ?>"
        data-storage="<?php echo esc_attr( $slug ); ?>"
        class="<?php echo $configure_btn_class ?>"
>
    <?php
        BackWPupHelpers::component( 'tooltip', [
            "content" => __( 'Configure', 'backwpup'),
            "icon_name" => 'settings',
            "icon_size" => 'large',
            "position" => 'left',
            'parent_classes' => 'p-3'
        ]);
    ?>
</button>

[ 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