PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 5.4.4
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v5.4.4
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / frm-forms / create-template-from-an-existing-form.php

create-template-from-an-existing-form.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 5.4.4, at classes/views/frm-forms/create-template-from-an-existing-form.php

36 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5 ?><li>
6 <h3><?php esc_html_e( 'Create a template from an existing form', 'formidable' ); ?></h3>
7 <div class="dropdown frm-fields">
8 <button type="button" class="frm-dropdown-toggle dropdown-toggle btn btn-default" id="frm-template-drop" data-toggle="dropdown" style="width:auto">
9 <?php esc_html_e( 'Select form for new template', 'formidable' ); ?>
10 <b class="caret"></b>
11 </button>
12 <ul class="frm-dropdown-menu" role="menu" aria-labelledby="frm-template-drop">
13 <?php
14 if ( empty( $forms ) ) {
15 ?>
16 <li class="frm_dropdown_li">
17 <?php esc_html_e( 'You have not created any forms yet.', 'formidable' ); ?>
18 </li>
19 <?php
20 } else {
21 foreach ( $forms as $form ) {
22 ?>
23 <li>
24 <a href="#" data-formid="<?php echo esc_attr( $form->id ); ?>" class="frm-build-template" data-fullname="<?php echo esc_attr( $form->name ); ?>" tabindex="-1">
25 <?php echo esc_html( empty( $form->name ) ? __( '(no title)', 'formidable' ) : FrmAppHelper::truncate( $form->name, 33 ) ); ?>
26 </a>
27 </li>
28 <?php
29 unset( $form );
30 }
31 }
32 ?>
33 </ul>
34 </div>
35 </li><?php
36