HEX
Server: Apache
System: Linux flamboyant-gauss.194-164-62-186.plesk.page 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: gamesamphora (10001)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/amphoragames.com/httpdocs/wp-content/plugins/backwpup/parts/sidebar/edit-title.php
<?php
use BackWPup\Utils\BackWPupHelpers;
$job_id = $job_id ?? null;
BackWPupHelpers::component("closable-heading", [
    'title' => __("Edit Title", 'backwpup'),
    'type' => 'sidebar'
  ]);
?>
<?php BackWPupHelpers::component("containers/scrollable-start", ["gap_size" => "small"]); ?>
<?php
BackWPupHelpers::component("form/text", [
"name" => "title",
"identifier" => "backwpup-job-title",
"label" => __("Edit the title of your scheduled backup", 'backwpup'),
"value" => esc_attr(BackWPup_Option::get($job_id, 'name')),
"required" => true,
]);
 ?>

<div id="js-backwpup-edit-title-warning" class="hidden">
<?php
BackWPupHelpers::component( 'alerts/info', [
  'type'    => 'alert',
  'font'    => 'small',
  'content' => __( 'Your scheduled backup needs a title.', 'backwpup' ),
]);
?>
</div>

<?php
BackWPupHelpers::component("form/hidden", [
'identifier' => 'backwpup-job-id',
"name" => "job_id",
"value" => $job_id,
]);

?>
<?php BackWPupHelpers::component("containers/scrollable-end"); ?>
<?php
BackWPupHelpers::component("form/button", [
  "type" => "primary",
  "label" => __("Save", 'backwpup'),
  "full_width" => true,
  "class" => "mt-4",
  "identifier" => 'js-backwpup-save-title'
]);
?>