File Editor
Directories:
.. (Back)
Files:
block-navigation-option.php
indeterminate-progress.php
license.php
modal-prompt.php
page-fixed-tabbar.php
page-help.php
page-tabbar.php
page-title.php
section-subtitle.php
section-title.php
status-circular.php
status-critical.php
status-detail.php
status-tooltip.php
status-warning.php
unsubscribe.php
Create New File
Create
Edit File: page-fixed-tabbar.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Expects $tabs to be defined as an array of wfTab instances */ ?> <div class="wf-row"> <div class="wf-col-xs-12"> <div class="wp-header-end"></div> <ul class="wf-hidden-xs wf-page-fixed-tabs" role="tablist"> <li class="wordfence-lock-icon wordfence-icon32"></li> <?php foreach ($tabs as $t): ?> <?php $a = $t->a; if (!preg_match('/^https?:\/\//i', $a)) { $a = '#top#' . urlencode($a); } ?> <li class="wf-tab<?php if ($t->active) { echo ' wf-active'; } ?>" id="wf-tab-<?php echo esc_attr($t->id); ?>" data-target="<?php echo esc_attr($t->id); ?>" data-page-title="<?php echo esc_attr($t->pageTitle); ?>"><a role="tab" href="<?php echo esc_attr($a); ?>" aria-selected="<?php echo json_encode((bool)$t->active) ?>"><?php echo esc_html($t->tabTitle); ?></a></li> <?php endforeach; ?> </ul> <ul class="wf-nav wf-nav-pills wf-visible-xs"> <li class="wf-navbar-brand wordfence-lock-icon wordfence-icon32"></li> <li class="wf-dropdown"> <a href="#" id="wordfenceTopTabsMobile" class="wf-dropdown-toggle wf-mobile-dropdown" data-toggle="wf-dropdown" role="button"><span id="wordfenceTopTabsMobileTitle">Go to</span> <span class="wf-caret"></span></a> <ul class="wf-dropdown-menu"> <?php foreach ($tabs as $t): ?> <?php $a = $t->a; if (!preg_match('/^https?:\/\//i', $a)) { $a = '#top#' . urlencode($a); } ?> <li id="wf-tab-mobile-<?php echo esc_attr($t->id); ?>"><a href="<?php echo esc_attr($a); ?>"><?php echo esc_html($t->tabTitle); ?></a></li> <?php endforeach; ?> </ul> </li> </ul> </div> </div>
Save Changes
Rename File
Rename