Plugin Directory

Changeset 812365


Ignore:
Timestamp:
11/29/2013 11:24:13 AM (12 years ago)
Author:
wpkuf
Message:

bugdix: admin_url fix on the plugin settings tabs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-js-detect/trunk/wp-js-detect.php

    r812286 r812365  
    211211            <div id="icon-tools" class="icon32"><br/></div>
    212212            <h2><?php _e('Js Detect Settings','js-detect'); ?></h2>
    213             <a class="nav-tab <?php echo ( $tab == '' ) ? 'nav-tab-active' : ''; ?>"
    214                href="/wp-admin/admin.php?page=js-detect-settings"><?php _e('Plugin Settings','js-detect'); ?></a>
    215             <a class="nav-tab <?php echo ( $tab == 'css' ) ? 'nav-tab-active' : ''; ?>"
    216                href="/wp-admin/admin.php?page=js-detect-settings&tab=css"><?php _e('Plugin CSS','js-detect'); ?></a>
    217             <a class="nav-tab <?php echo ( $tab == 'contact' ) ? 'nav-tab-active' : ''; ?>"
    218                href="/wp-admin/admin.php?page=js-detect-settings&tab=contact"><?php _e('Contacts Me','js-detect'); ?></a>
     213            <a class="nav-tab <?php echo ( $tab == '' ) ? 'nav-tab-active' : ''; ?>" href="<?php echo admin_url('/admin.php?page=js-detect-settings'); ?>"><?php _e('Plugin Settings','js-detect'); ?></a>
     214            <a class="nav-tab <?php echo ( $tab == 'css' ) ? 'nav-tab-active' : ''; ?>" href="<?php echo admin_url('/admin.php?page=js-detect-settings&tab=css'); ?>"><?php _e('Plugin CSS','js-detect'); ?></a>
     215            <a class="nav-tab <?php echo ( $tab == 'contact' ) ? 'nav-tab-active' : ''; ?>" href="<?php echo admin_url('/admin.php?page=js-detect-settings&tab=contact'); ?>"><?php _e('Contacts Me','js-detect'); ?></a>
    219216            <?php if ( $tab === 'contact' ): ?>
    220217                <table cellspacing="0" class="widefat post fixed" style="width: 100%">
Note: See TracChangeset for help on using the changeset viewer.