Plugin Directory

Changeset 1370625


Ignore:
Timestamp:
03/14/2016 11:27:58 AM (10 years ago)
Author:
Netbiscuits
Message:

updating readme link to cloudclient, renaming "client_key" to "token"

Location:
netbiscuits-device-detection/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • netbiscuits-device-detection/trunk/admin.php

    r1369297 r1370625  
    1515
    1616
    17 add_option( 'nb_dd_client_key', '', '', 'yes' );
     17add_option( 'nb_dd_token', '', '', 'yes' );
    1818add_option( 'nb_dd_account', '', '', 'yes' );
    1919add_option( 'nb_dd_profile', '', '', 'yes' );
     
    5353    }
    5454
    55     $opt_label1 = 'Client Key:';
    56     $opt_name1 = 'nb_dd_client_key';
    57     $data_field_name1 = 'nb_dd_client_key';
     55    $opt_label1 = 'Token';
     56    $opt_name1 = 'nb_dd_token';
     57    $data_field_name1 = 'nb_dd_token';
    5858
    5959    $opt_val1 = get_option( $opt_name1 );
     
    6666    }
    6767
    68     $opt_label2 = 'Account Name:';
     68    $opt_label2 = 'Account Name';
    6969    $opt_name2 = 'nb_dd_account';
    7070    $data_field_name2 = 'nb_dd_account';
     
    8080    }
    8181
    82     $opt_label3 = 'Profile Name:';
     82    $opt_label3 = 'Profile Name';
    8383    $opt_name3 = 'nb_dd_profile';
    8484    $data_field_name3 = 'nb_dd_profile';
     
    9393    }
    9494
    95     $opt_label4 = 'Show Debug?:';
     95    $opt_label4 = 'Show Debug <i title="Visibly output DD code into pages; useful for debugging">?</i>';
    9696    $opt_name4 = 'nb_dd_debug';
    9797    $data_field_name4 = 'nb_dd_debug';
     
    108108    $opt_val4 = get_option( $opt_name4 );
    109109
    110     $opt_label5 = 'Cache Expiration Time:';
     110    $opt_label5 = 'Cache Expiration Time';
    111111    $opt_name5 = 'nb_dd_cache_exprire_time';
    112112    $data_field_name5 = 'nb_dd_cache_expriretime';
     
    121121    }
    122122
    123     $opt_label6 = 'Cache Active:';
     123    $opt_label6 = 'Cache Active';
    124124    $opt_name6 = 'nb_dd_cache_active';
    125125    $data_field_name6 = 'nb_dd_cache';
     
    167167            border-radius: 4px;
    168168        }
     169        #nb_device_detection i {
     170            width: 1.3em;
     171            height: 1.3em;
     172            display: inline-block;
     173            text-align: center;
     174            border: 1px solid #006799;
     175            border-radius: 50%;
     176            font-style: normal;
     177            background: #008ec2;
     178            color: #fff;
     179            cursor: help;
     180        }
    169181    </style>
    170182    <div class="metabox-holder">
  • netbiscuits-device-detection/trunk/nb-dd.php

    r1369301 r1370625  
    100100    * @since    1.0.0
    101101    */
    102 
    103102    private function isSmartphone() {
    104103        $os = strtolower($this->response->device->operatingsystem);
  • netbiscuits-device-detection/trunk/readme.txt

    r1369303 r1370625  
    3838
    3939= Where do I find my Device Detection configuration? =
    40 * You have to have an account first (see below), but once you have one, [sign-in](https://my.netbiscuits.com/) and go to [the Detection Code page](https://my.netbiscuits.com/account-mgmt/detectioncode) to copy your Device Detection config.
     40* You have to have an account first (see below), but once you have one, [sign-in](https://my.netbiscuits.com/) and go to [the Detection Code page](https://my.netbiscuits.com/account-mgmt/cloudclient#wp_code) to copy your Device Detection config.
    4141
    4242= How do I get a Netbiscuits Device Detection account? =
Note: See TracChangeset for help on using the changeset viewer.