Commit realizado el 12:13:52 08-04-2024
This commit is contained in:
26
wp-content/plugins/cf7-hubspot/templates/crm-entry-box.php
Normal file
26
wp-content/plugins/cf7-hubspot/templates/crm-entry-box.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
$comments=false;
|
||||
if( is_array($log_entry) && count($log_entry)>0){
|
||||
$log=$this->verify_log($log_entry);
|
||||
$comments=true;
|
||||
echo $this->format_log_msg($log);
|
||||
}
|
||||
if(isset($_GET['vx_debug'])){
|
||||
?>
|
||||
<input type="hidden" name="vx_debug" value="<?php echo esc_attr($_REQUEST['vx_debug']); ?>">
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<div class="box_btns_div">
|
||||
<button class="button" type="submit" name="<?php echo esc_attr($this->id) ?>_send_btn" value="yes"><?php echo esc_html__("Send to Hubspot",'contact-form-hubspot-crm')?></button>
|
||||
<?php
|
||||
if($comments ){
|
||||
?>
|
||||
<a href="<?php echo esc_url($log_url); ?>" class="button"><?php echo esc_html__("Go to Logs",'contact-form-hubspot-crm')?></a>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
Reference in New Issue
Block a user