| @@ -1,6 +1,20 @@ | ||
| 1 | -<?php | |
| 2 | -/** | |
| 3 | - * Start from page template | |
| 4 | - */ | |
| 5 | -?> | |
| 6 | -<div class="jet-form-page <?php echo $hidden_class; ?>" data-page="<?php echo $this->page; ?>"> | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Start from page template | |
| 4 | + * | |
| 5 | + * @var Form_Break $this | |
| 6 | + */ | |
| 7 | + | |
| 8 | +use Jet_Form_Builder\Form_Break; | |
| 9 | + | |
| 10 | +// If this file is called directly, abort. | |
| 11 | +if ( ! defined( 'WPINC' ) ) { | |
| 12 | + die; | |
| 13 | +} | |
| 14 | + | |
| 15 | +printf( | |
| 16 | + '<div class="jet-form-builder-page %1$s" data-page="%2$s" data-page-offset="%3$s">', | |
| 17 | + esc_attr( $hidden_class ), | |
| 18 | + esc_attr( $this->get_current() ), | |
| 19 | + absint( $this->get_page_offset() ) | |
| 20 | +); | |