GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
gravityview-navigation.php
Go to the documentation of this file.
1 <?php
2 /**
3  * Display the tab navigation for the Settings metabox
4  *
5  * @package GravityView
6  * @subpackage Gravityview/admin/metaboxes/views
7  * @since 1.8
8  *
9  * @global GravityView_Metabox_Tab[] $metaboxes
10  * @global WP_Post $post
11  */
12 
13 ?>
14 <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
15  <?php
16 
17  foreach( $metaboxes as $metabox ) {
18  $class = !isset( $class ) ? 'nav-tab-active' : '';
19  ?>
20  <li class="ui-state-default">
21  <a class="nav-tab ui-tabs-anchor <?php echo $class; ?>" href="#<?php echo esc_attr( $metabox->id ); ?>">
22  <span class="<?php echo $metabox->icon_class_name; ?>"></span>&nbsp;
23  <?php echo esc_html( $metabox->title ); ?>
24  </a>
25  </li>
26  <?php
27  }
28  ?>
29 </ul>
$class
scale description ul