PluginProbe
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot / 4.9.3
BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ & Chatbot v4.9.3
4.9.3 4.9.2 4.9.1 4.9.0 4.8.2 4.8.1 4.8.0 4.7.0 4.6.2 4.6.1 4.6.0 4.5.6 4.5.5 4.5.4 4.5.3 4.5.2 4.5.1 4.5.0 4.4.1 4.4.0 3.3.4 3.4.0 3.4.1 3.4.2 3.5.0 All 201 releases
← All changes | views/admin/partials/tabs-nav.php +21 -17 3.4.2 → 4.9.3 View file →
@@ -1,19 +1,23 @@
1 1 <div class="betterdocs-list-grid-icon tabs-nav">
2 - <a
3 - class="<?php esc_attr_e( $helper::is_active( 'list', $active_tab ) );?> icon-wrap icon-wrap-1"
4 - href="<?php esc_attr_e( esc_url( $url ) );?>&mode=list" data-toggle-target=".tab-content-1">
5 - <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
6 - <path d="M3 12H21M3 6H21M3 18H21" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
7 - </svg>
8 - </a>
9 - <a
10 - class="<?php esc_attr_e( $helper::is_active( 'grid', $active_tab ) );?> icon-wrap icon-wrap-2"
11 - href="<?php esc_attr_e( esc_url( $url ) );?>&mode=grid" data-toggle-target=".tab-content-2">
12 - <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
13 - <path d="M10 3H3V10H10V3Z" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
14 - <path d="M21 3H14V10H21V3Z" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
15 - <path d="M21 14H14V21H21V14Z" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
16 - <path d="M10 14H3V21H10V14Z" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
17 - </svg>
18 - </a>
2 + <a
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"
8 + href="<?php echo esc_attr( esc_url( $url ) ); ?>&mode=list" data-toggle-target=".tab-content-1">
9 + <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
10 + <path d="M3 12H21M3 6H21M3 18H21" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
11 + </svg>
12 + </a>
13 + <a
14 + class="<?php echo esc_attr( $helper::is_active( 'grid', $active_tab ) ); ?> icon-wrap icon-wrap-2"
15 + href="<?php echo esc_attr( esc_url( $url ) ); ?>&mode=grid" data-toggle-target=".tab-content-2">
16 + <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
17 + <path d="M10 3H3V10H10V3Z" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
18 + <path d="M21 3H14V10H21V3Z" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
19 + <path d="M21 14H14V21H21V14Z" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
20 + <path d="M10 14H3V21H10V14Z" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
21 + </svg>
22 + </a>
19 23 </div>