PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
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 / shared / form-nav.php

form-nav.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More trunk, at classes/views/shared/form-nav.php

33 lines 666 B
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
6 FrmFormsHelper::form_switcher( $form );
7 ?>
8
9 <ul class="frm_form_nav">
10 <?php
11
12 foreach ( $nav_items as $nav_item ) {
13 if ( ! current_user_can( $nav_item['permission'] ) ) {
14 continue;
15 }
16
17 ?>
18 <li>
19 <a href="<?php echo esc_url( $nav_item['link'] ); ?>"
20 <?php FrmAppHelper::select_current_page( $nav_item['page'], $current_page, $nav_item['current'] ); ?>
21 <?php
22 if ( isset( $nav_item['atts'] ) ) {
23 FrmAppHelper::array_to_html_params( $nav_item['atts'], true );
24 }
25 ?>>
26 <?php echo esc_html( $nav_item['label'] ); ?>
27 </a>
28 </li>
29 <?php
30 }
31 ?>
32 </ul>
33