index.php000066600000000026152133023440006363 0ustar00// nothing to see herefields/number-slider/builder-option-min-max.php000066600000000743152141020630015575 0ustar00
fields/number-slider/frontend.php000066600000000637152141020630013116 0ustar00 value="" min="" max="" step="">
fields/number-slider/builder-preview.php000066600000000767152141020630014410 0ustar00
emails/general-queries.php000066600000000475152141020630011623 0ustar00 body, .body { background-color: ; } .header img { max-width: ; } emails/general-body.php000066600000000551152141020630011076 0ustar00
emails/general-body-plain.php000066600000000454152141020630012201 0ustar00 ' . esc_html( wp_specialchars_decode( get_bloginfo( 'name' ) ) ) . '' ); ?> emails/summary-body.php000066600000007107152141020630011162 0ustar00
pro ) : ?>

emails/general-header.php000066600000002340152141020630011367 0ustar00 <?php echo \esc_html( $title ); ?>
alt="" />
emails/summary-body-plain.php000066600000003371152141020630012262 0ustar00pro ) { echo \esc_html__( 'Let’s see how your forms performed in the past week.', 'wpforms' ) . "\n\n"; } else { echo \esc_html__( 'Let’s see how your forms performed.', 'wpforms-lite' ) . "\n\n"; echo \esc_html__( 'Below is the total number of submissions for each form, however actual entries are not stored in WPForms Lite. To generate detailed reports and view future entries inside your WordPress dashboard, consider upgrading to Pro.', 'wpforms-lite' ) . "\n\n\n"; } echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n"; echo \esc_html__( 'Form', 'wpforms-lite' ) . ' | ' . esc_html__( 'Entries', 'wpforms-lite' ) . "\n\n"; echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n"; foreach ( $entries as $row ) { echo ( isset( $row['title'] ) ? \esc_html( $row['title'] ) : '' ) . ' | ' . ( isset( $row['count'] ) ? \absint( $row['count'] ) : '' ) . "\n\n"; } if ( empty( $entries ) ) { echo \esc_html__( 'It appears you do not have any form entries yet.', 'wpforms-lite' ) . "\n\n"; } echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n\n"; if ( ! empty( $info_block['title'] ) ) { echo \esc_html( $info_block['title'] ) . "\n\n"; } if ( ! empty( $info_block['content'] ) ) { echo \wp_kses_post( $info_block['content'] ) . "\n\n"; } if ( ! empty( $info_block['button'] ) && ! empty( $info_block['url'] ) ) { echo \esc_html( $info_block['button'] ) . ': ' . \esc_url( $info_block['url'] ) . "\n\n"; } emails/general-style.php000066600000001102152141020630011272 0ustar00 body, .body { background-color: ; } .header img { max-width: ; } panel/header_stickybar.tpl.php000066600000003361152141420210012454 0ustar00
parent->args['hide_expand'] ? ' style="display: none;"' : '' ?>>
parent->args['hide_save'] ) { ?> parent->args['hide_reset'] ) { ?> parent->args['opt_name'] . '[defaults-section]', false, array( 'id' => 'redux-defaults-section' ) ); ?> parent->args['opt_name'] . '[defaults]', false, array( 'id' => 'redux-defaults' ) ); ?>
 
notification_bar(); ?>
panel/header.tpl.php000066600000006477152141420210010414 0ustar00parent->dev_mode_forced ) { $is_debug = false; $is_localhost = false; $debug_bit = ''; if ( Redux_Helpers::isWpDebug() ) { $is_debug = true; $debug_bit = __( 'WP_DEBUG is enabled', 'redux-framework' ); } $localhost_bit = ''; if ( Redux_Helpers::isLocalHost() ) { $is_localhost = true; $localhost_bit = __( 'you are working in a localhost environment', 'redux-framework' ); } $conjunction_bit = ''; if ( $is_localhost && $is_debug ) { $conjunction_bit = ' ' . __( 'and', 'redux-framework' ) . ' '; } $tip_msg = __( 'This has been automatically enabled because', 'redux-framework' ) . ' ' . $debug_bit . $conjunction_bit . $localhost_bit . '.'; } else { $tip_msg = __( 'If you are not a developer, your theme/plugin author shipped with developer mode enabled. Contact them directly to fix it.', 'redux-framework' ); } ?>
parent->args['display_name'] ) ) { ?>
parent->args['dev_mode'] ) && $this->parent->args['dev_mode'] ) { ?>
parent->args['forced_dev_mode_off']) && $this->parent->args['forced_dev_mode_off'] == true ) { ?>

parent->args['display_name'] ); ?>

parent->args['display_version'] ) ) { ?> parent->args['display_version'] ); ?>
panel/menu_container.tpl.php000066600000002760152141420210012161 0ustar00
    parent->sections as $k => $section ) { $title = isset ( $section[ 'title' ] ) ? $section[ 'title' ] : ''; $skip_sec = false; foreach ( $this->parent->hidden_perm_sections as $num => $section_title ) { if ( $section_title == $title ) { $skip_sec = true; } } if ( isset ( $section[ 'customizer_only' ] ) && $section[ 'customizer_only' ] == true ) { continue; } if ( false == $skip_sec ) { echo $this->parent->section_menu ( $k, $section ); $skip_sec = false; } } /** * action 'redux-page-after-sections-menu-{opt_name}' * * @param object $this ReduxFramework */ do_action ( "redux-page-after-sections-menu-{$this->parent->args[ 'opt_name' ]}", $this ); /** * action 'redux/page/{opt_name}/menu/after' * * @param object $this ReduxFramework */ do_action ( "redux/page/{$this->parent->args[ 'opt_name' ]}/menu/after", $this ); ?>
panel/content.tpl.php000066600000007176152141420210010633 0ustar00 get_template( 'header.tpl.php' ); ?> parent->args['intro_text'] ) ) { ?>
parent->args['intro_text'] ); ?>
get_template( 'menu_container.tpl.php' ); ?>
get_template( 'header_stickybar.tpl.php' ); ?>
 
parent->sections as $k => $section) { if ( isset( $section['customizer_only'] ) && $section['customizer_only'] == true ) { continue; } //$active = ( ( is_numeric($this->parent->current_tab) && $this->parent->current_tab == $k ) || ( !is_numeric($this->parent->current_tab) && $this->parent->current_tab === $k ) ) ? ' style="display: block;"' : ''; $section['class'] = isset( $section['class'] ) ? ' ' . $section['class'] : ''; echo '
'; //echo '
'; echo ''; foreach ($section['tab'] as $subkey => $subsection) { echo '
'; echo '
'; echo "hello ".$subkey; do_settings_sections( $this->parent->args['opt_name'] . $k . '_tab_' . $subkey . '_section_group' ); echo "
"; echo "
"; } echo "
"; } else { */ // Don't display in the $display = true; if ( isset( $_GET['page'] ) && $_GET['page'] == $this->parent->args['page_slug'] ) { if ( isset( $section['panel'] ) && $section['panel'] == "false" ) { $display = false; } } if ( $display ) { do_action( "redux/page/{$this->parent->args['opt_name']}/section/before", $section ); $this->output_section( $k ); do_action( "redux/page/{$this->parent->args['opt_name']}/section/after", $section ); } //} ?>
'; } /** * action 'redux/page-after-sections-{opt_name}' * * @deprecated * * @param object $this ReduxFramework */ do_action( "redux/page-after-sections-{$this->parent->args['opt_name']}", $this ); // REMOVE LATER /** * action 'redux/page/{opt_name}/sections/after' * * @param object $this ReduxFramework */ do_action( "redux/page/{$this->parent->args['opt_name']}/sections/after", $this ); ?>
get_template( 'footer.tpl.php' ); ?>
panel/footer.tpl.php000066600000005545152141420210010455 0ustar00 panel/container.tpl.php000066600000005611152141420210011133 0ustar00parent->args['open_expanded'] ) ? ' fully-expanded' : '' . ( ! empty( $this->parent->args['class'] ) ? ' ' . esc_attr( $this->parent->args['class'] ) : '' ); $nonce = wp_create_nonce( "redux_ajax_nonce" . $this->parent->args['opt_name'] ); ?>
parent->args['database'] == "network" && $this->parent->args['network_admin'] && is_network_admin() ? './edit.php?action=redux_' . $this->parent->args['opt_name'] : './options.php' ) ?>
parent->args['opt_name'] is sanitized in the Framework class, no need to re-sanitize it. ?> parent->args['opt_name'] is sanitized in the Framework class, no need to re-sanitize it. ?> parent->args['opt_name'] is sanitized in the Framework class, no need to re-sanitize it. ?> parent->no_panel ) ) { ?> init_settings_fields(); // Last tab? $this->parent->options['last_tab'] = ( isset( $_GET['tab'] ) && ! isset( $this->parent->transients['last_save_mode'] ) ) ? esc_attr( $_GET['tab'] ) : ''; ?> parent->args['opt_name'] is sanitized in the Framework class, no need to re-sanitize it. ?> get_template( 'content.tpl.php' ); ?>
parent->args['footer_text'] ) ) { ?> optin-template-simple.php000066600000001431152141441210011504 0ustar00options->get_optin_meta_value( $optin_id, 'wcf-input-fields-skins' ); ?>
' ) { echo esc_html__( 'Your cart is currently empty.', 'cartflows' ); } else { echo $checkout_html; } ?> class-contact.php000066600000004275152141473040010030 0ustar00name = esc_html__( 'Simple Contact Form', 'wpforms-lite' ); $this->slug = 'contact'; $this->description = esc_html__( 'Allow your users to contact you with this simple contact form. You can add and remove fields as needed.', 'wpforms-lite' ); $this->includes = ''; $this->icon = ''; $this->modal = ''; $this->core = true; $this->data = array( 'field_id' => '3', 'fields' => array( '0' => array( 'id' => '0', 'type' => 'name', 'format' => 'first-last', 'label' => esc_html__( 'Name', 'wpforms-lite' ), 'required' => '1', 'size' => 'medium', ), '1' => array( 'id' => '1', 'type' => 'email', 'label' => esc_html__( 'Email', 'wpforms-lite' ), 'required' => '1', 'size' => 'medium', ), '2' => array( 'id' => '2', 'type' => 'textarea', 'label' => esc_html__( 'Comment or Message', 'wpforms-lite' ), 'description' => '', 'required' => '1', 'size' => 'medium', 'placeholder' => '', 'css' => '', ), ), 'settings' => array( 'notification_enable' => '1', 'notifications' => array( '1' => array( 'email' => '{admin_email}', 'sender_address' => '{admin_email}', 'replyto' => '{field_id="1"}', 'message' => '{all_fields}', ), ), 'confirmations' => array( '1' => array( 'type' => 'message', 'message' => esc_html__( 'Thanks for contacting us! We will be in touch with you shortly.', 'wpforms-lite' ), 'message_scroll' => '1', ), ), 'honeypot' => '1', 'submit_text' => esc_html__( 'Submit', 'wpforms-lite' ), 'submit_text_processing' => esc_html__( 'Sending...', 'wpforms-lite' ), ), 'meta' => array( 'template' => $this->slug, ), ); } } new WPForms_Template_Contact; class-subscribe.php000066600000004126152141473040010351 0ustar00name = esc_html__( 'Newsletter Signup Form', 'wpforms-lite' ); $this->slug = 'subscribe'; $this->description = esc_html__( 'Add subscribers and grow your email list with this newsletter signup form. You can add and remove fields as needed.', 'wpforms-lite' ); $this->includes = ''; $this->icon = ''; $this->core = true; $this->modal = array( 'title' => esc_html__( 'Don't Forget', 'wpforms-lite' ), 'message' => esc_html__( 'Click the marketing tab to configure your newsletter service provider', 'wpforms-lite' ), ); $this->data = array( 'field_id' => '2', 'fields' => array( '0' => array( 'id' => '0', 'type' => 'name', 'label' => esc_html__( 'Name', 'wpforms-lite' ), 'required' => '1', 'size' => 'medium', ), '1' => array( 'id' => '1', 'type' => 'email', 'label' => esc_html__( 'Email', 'wpforms-lite' ), 'required' => '1', 'size' => 'medium', ), ), 'settings' => array( 'honeypot' => '1', 'confirmation_message_scroll' => '1', 'submit_text_processing' => esc_html__( 'Sending...', 'wpforms-lite' ), ), 'meta' => array( 'template' => $this->slug, ), ); } /** * Conditional to determine if the template informational modal screens * should display. * * @since 1.0.0 * * @param array $form_data Form data and settings. * * @return bool */ public function template_modal_conditional( $form_data ) { // If we do not have provider data, then we can assume a provider // method has not yet been configured, so we display the modal to // remind the user they need to set it up for the form to work // correctly. if ( empty( $form_data['providers'] ) ) { return true; } return false; } } new WPForms_Template_Subscribe(); class-blank.php000066600000001636152141473040007462 0ustar00name = esc_html__( 'Blank Form', 'wpforms-lite' ); $this->slug = 'blank'; $this->description = esc_html__( 'The blank form allows you to create any type of form using our drag & drop builder.', 'wpforms-lite' ); $this->includes = ''; $this->icon = ''; $this->modal = ''; $this->core = true; $this->data = array( 'field_id' => '1', 'fields' => array(), 'settings' => array( 'honeypot' => '1', 'confirmation_message_scroll' => '1', 'submit_text_processing' => esc_html__( 'Sending...', 'wpforms-lite' ), ), 'meta' => array( 'template' => $this->slug, ), ); } } new WPForms_Template_Blank; class-base.php000066600000010352152141473040007300 0ustar00init(); $type = $this->core ? '_core' : ''; add_filter( "wpforms_form_templates{$type}", array( $this, 'template_details' ), $this->priority ); add_filter( 'wpforms_create_form_args', array( $this, 'template_data' ), 10, 2 ); add_filter( 'wpforms_save_form_args', array( $this, 'template_replace' ), 10, 3 ); add_filter( 'wpforms_builder_template_active', array( $this, 'template_active' ), 10, 2 ); } /** * Let's get started. * * @since 1.0.0 */ public function init() { } /** * Add basic template details to the Add New Form admin screen. * * @since 1.0.0 * * @param array $templates * * @return array */ public function template_details( $templates ) { $templates[] = array( 'name' => $this->name, 'slug' => $this->slug, 'description' => $this->description, 'includes' => $this->includes, 'icon' => $this->icon, ); return $templates; } /** * Add template data when form is created. * * @since 1.0.0 * * @param array $args * @param array $data * * @return array */ public function template_data( $args, $data ) { if ( ! empty( $data ) && ! empty( $data['template'] ) ) { if ( $data['template'] === $this->slug ) { $args['post_content'] = wpforms_encode( $this->data ); } } return $args; } /** * Replace template on post update if triggered. * * @since 1.0.0 * * @param array $form * @param array $data * @param array $args * * @return array */ public function template_replace( $form, $data, $args ) { if ( ! empty( $args['template'] ) ) { if ( $args['template'] === $this->slug ) { $new = $this->data; $new['settings'] = ! empty( $form['post_content']['settings'] ) ? $form['post_content']['settings'] : array(); $form['post_content'] = wpforms_encode( $new ); } } return $form; } /** * Pass information about the active template back to the builder. * * @since 1.0.0 * * @param array $details * @param object $form * * @return array */ public function template_active( $details, $form ) { if ( empty( $form ) ) { return; } $form_data = wpforms_decode( $form->post_content ); if ( empty( $this->modal ) || empty( $form_data['meta']['template'] ) || $this->slug !== $form_data['meta']['template'] ) { return $details; } else { $display = $this->template_modal_conditional( $form_data ); } $template = array( 'name' => $this->name, 'slug' => $this->slug, 'description' => $this->description, 'includes' => $this->includes, 'icon' => $this->icon, 'modal' => $this->modal, 'modal_display' => $display, ); return $template; } /** * Conditional to determine if the template informational modal screens * should display. * * @since 1.0.0 * * @param array $form_data Form data and settings. * * @return bool */ public function template_modal_conditional( $form_data ) { return false; } } class-suggestion.php000066600000005156152141473040010563 0ustar00name = esc_html__( 'Suggestion Form', 'wpforms-lite' ); $this->slug = 'suggestion'; $this->description = esc_html__( 'Ask your users for suggestions with this simple form template. You can add and remove fields as needed.', 'wpforms-lite' ); $this->includes = ''; $this->icon = ''; $this->modal = ''; $this->core = true; $this->data = array( 'field_id' => '5', 'fields' => array( '0' => array( 'id' => '0', 'type' => 'name', 'label' => esc_html__( 'Name', 'wpforms-lite' ), 'required' => '1', 'size' => 'medium', ), '1' => array( 'id' => '1', 'type' => 'email', 'label' => esc_html__( 'Email', 'wpforms-lite' ), 'description' => esc_html__( 'Please enter your email, so we can follow up with you.', 'wpforms-lite' ), 'required' => '1', 'size' => 'medium', ), '2' => array( 'id' => '2', 'type' => 'radio', 'label' => esc_html__( 'Which department do you have a suggestion for?', 'wpforms-lite' ), 'choices' => array( '1' => array( 'label' => esc_html__( 'Sales', 'wpforms-lite' ), ), '2' => array( 'label' => esc_html__( 'Customer Support', 'wpforms-lite' ), ), '3' => array( 'label' => esc_html__( 'Product Development', 'wpforms-lite' ), ), '4' => array( 'label' => esc_html__( 'Other', 'wpforms-lite' ), ), ), 'required' => '1', ), '3' => array( 'id' => '3', 'type' => 'text', 'label' => esc_html__( 'Subject', 'wpforms-lite' ), 'required' => '1', 'size' => 'medium', ), '4' => array( 'id' => '4', 'type' => 'textarea', 'label' => esc_html__( 'Message', 'wpforms-lite' ), 'required' => '1', 'size' => 'medium', ), ), 'settings' => array( 'notifications' => array( '1' => array( 'replyto' => '{field_id="1"}', 'sender_name' => '{field_id="0"}', 'sender_address' => '{admin_email}', ), ), 'honeypot' => '1', 'confirmation_message_scroll' => '1', 'submit_text_processing' => esc_html__( 'Sending...', 'wpforms-lite' ), ), 'meta' => array( 'template' => $this->slug, ), ); } } new WPForms_Template_Suggestion;