| @@ -1,7 +1,11 @@ | ||
| 1 | 1 | <div class="betterdocs-list-grid-icon tabs-nav"> |
| 2 | 2 | <a |
| 3 | - class="<?php echo esc_attr( $helper::is_active( 'list', $active_tab ) ); ?> icon-wrap icon-wrap-1" | |
| 3 | + class="<?php | |
| 4 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 5 | + exit; | |
| 6 | +} | |
| 7 | +echo esc_attr( $helper::is_active( 'list', $active_tab ) ); ?> icon-wrap icon-wrap-1" | |
| 4 | 8 | href="<?php echo esc_attr( esc_url( $url ) ); ?>&mode=list" data-toggle-target=".tab-content-1"> |
| 5 | 9 | <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"> |
| 6 | 10 | <path d="M3 12H21M3 6H21M3 18H21" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| 7 | 11 | </svg> |