| Server IP : 38.190.208.107 / Your IP : 216.73.217.61 Web Server : nginx/1.28.1 System : Linux ht2026040333114 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 User : www ( 1000) PHP Version : 8.2.28 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv,eval,assert,passthru,system,exec,shell_exec,popen,proc_open MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/wp.3/wp-content/plugins/js_composer/include/templates/editors/popups/ai/ |
Upload File : |
<?php
/**
* AI modal template.
*/
if ( ! defined( 'ABSPATH' ) ) {
die( '-1' );
}
?>
<div class="vc_modal modal-backdrop vc_modal-popup-container" id="vc_ui-helper-modal-ai">
<div class="vc_ui-font-open-sans vc_media-xs vc_modal-popup-content" >
<div class="vc_ui-panel-window-inner">
<?php
$is_license_activated = false;
if ( function_exists( 'vc_license' ) ) {
$is_license_activated = vc_license()->isActivated();
}
vc_include_template('editors/popups/vc_ui-header.tpl.php', [
'title' => esc_html__( 'WPBakery AI (Beta)', 'js_composer' ),
'controls' => [ 'close' ],
'header_css_class' => 'vc_ui-post-settings-header-container',
'header_tabs_template' => '',
'is_ai_token_usage' => $is_license_activated,
]);
?>
<div class="vc_ui-helper-modal-ai-placeholder vc_ui-helper-modal-ai-promo vc_ui-helper-popup-promo vc_ui-hidden">
<div class="vc_ui-helper-popup-promo--inner">
<?php
vc_include_template( 'editors/popups/ai/happy-ai-logo.tpl.php' );
?>
<p class="vc_description"><?php esc_html_e( 'WPBakery AI is now generating the content …', 'js_composer' ); ?></p>
<p class="vc_description"><?php esc_html_e( 'large content generation can take up to several minutes', 'js_composer' ); ?>: <span class="vc_ai-timer">00:00</span></p>
</div>
</div>
<div class="vc_ui-helper-modal-ai-preloader">
<div class="vc_ui-wp-spinner vc_ui-wp-spinner-dark vc_ui-wp-spinner-lg"></div>
</div>
<!-- param window footer-->
<?php
vc_include_template('editors/popups/vc_ui-footer.tpl.php', [
'controls' => [
[
'name' => 'close',
'label' => esc_html__( 'Close', 'js_composer' ),
],
[
'name' => 'save',
'label' => esc_html__( 'Insert', 'js_composer' ),
'css_classes' => 'vc_ui-button-fw',
'style' => 'action',
],
],
]);
?>
</div>
</div>
</div>
<?php
// Add HTML after Form.
do_action( 'wpb_add_after_settings_form' );