first commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
defined("ABSPATH") or die("");
|
||||
|
||||
/**
|
||||
* Dialog Confirm Progress Template
|
||||
*
|
||||
* Variables
|
||||
*
|
||||
* @var array<string, mixed> $tplData
|
||||
* @var string $function_name
|
||||
* @var string $progress_text
|
||||
*/
|
||||
$id = $tplData["id"];
|
||||
$function_name = $tplData["function_name"];
|
||||
$progress_text = $tplData["progress_text"];
|
||||
?>
|
||||
|
||||
<div class='dupli-dlg-confirm-progress' id="<?php echo esc_attr($id) ?>-progress">
|
||||
<br/><br/>
|
||||
<i class='fa fa-circle-notch fa-spin fa-lg fa-fw'></i> <?php echo esc_html($progress_text) ?></div>
|
||||
<script>
|
||||
function <?php echo esc_js($function_name) ?>(obj)
|
||||
{
|
||||
(function($,obj){
|
||||
console.log($('#<?php echo esc_attr($id) ?>'));
|
||||
// Set object for reuse
|
||||
var e = $(obj);
|
||||
// Check and set progress
|
||||
if($('#<?php echo esc_attr($id) ?>-progress')) $('#<?php echo esc_attr($id) ?>-progress').show();
|
||||
// Check and set confirm button
|
||||
if($('#<?php echo esc_attr($id) ?>-confirm')) $('#<?php echo esc_attr($id) ?>-confirm').attr('disabled', 'true');
|
||||
// Check and set cancel button
|
||||
if($('#<?php echo esc_attr($id) ?>-cancel')) $('#<?php echo esc_attr($id) ?>-cancel').attr('disabled', 'true');
|
||||
}(window.jQuery, obj));
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Duplicator
|
||||
* @copyright (c) 2022, Snap Creek LLC
|
||||
*/
|
||||
|
||||
defined("ABSPATH") or die("");
|
||||
|
||||
?>
|
||||
<p>
|
||||
<?php esc_html_e('The brandable area allows for a loose set of html and custom styling. Below is a general guide.', 'duplicator-pro'); ?>
|
||||
</p>
|
||||
<p>
|
||||
- <b><?php esc_html_e('Embed Image:', 'duplicator-pro'); ?></b><br/> <img src="/wp-content/uploads/image.png /><br/><br/>
|
||||
- <b><?php esc_html_e('Text Only:', 'duplicator-pro'); ?></b><br/> <?php esc_html_e('My Installer Name', 'duplicator-pro'); ?><br/><br/>
|
||||
- <b><?php esc_html_e('Text & Font-Awesome:', 'duplicator-pro'); ?></b><br/> <i class="fa fa-cube"></i>
|
||||
<?php esc_html_e('My Company', 'duplicator-pro'); ?>
|
||||
</p>
|
||||
<p>
|
||||
<small>
|
||||
<?php
|
||||
wp_kses(
|
||||
sprintf(
|
||||
_x(
|
||||
'Note: %1$sFont-Awesome 4.7%2$s is the referenced library',
|
||||
'1: opening anchor tag, 2: closing anchor tag',
|
||||
'duplicator-pro'
|
||||
),
|
||||
"<a href='http://fontawesome.io/icons/' target='_blank'>",
|
||||
"</a>"
|
||||
),
|
||||
['a' => ['href' => []]]
|
||||
);
|
||||
?>
|
||||
</small>
|
||||
</p>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Duplicator
|
||||
* @copyright (c) 2022, Snap Creek LLC
|
||||
*/
|
||||
|
||||
defined("ABSPATH") or die("");
|
||||
?>
|
||||
<i class="fa fa-exclamation-triangle fa-sm"></i>
|
||||
<?php
|
||||
esc_html_e('No selections made! Please select an action from the "Bulk Actions" drop down menu!', 'duplicator-pro');
|
||||
?>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Duplicator
|
||||
* @copyright (c) 2022, Snap Creek LLC
|
||||
*/
|
||||
|
||||
defined("ABSPATH") or die("");
|
||||
?>
|
||||
<i class="fa fa-exclamation-triangle fa-sm"></i>
|
||||
<?php
|
||||
esc_html_e('No selections made! Please select at least one Backup to delete!', 'duplicator-pro');
|
||||
?>
|
||||
Reference in New Issue
Block a user