Changeset 1370625
- Timestamp:
- 03/14/2016 11:27:58 AM (10 years ago)
- Location:
- netbiscuits-device-detection/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
netbiscuits-device-detection/trunk/admin.php
r1369297 r1370625 15 15 16 16 17 add_option( 'nb_dd_ client_key', '', '', 'yes' );17 add_option( 'nb_dd_token', '', '', 'yes' ); 18 18 add_option( 'nb_dd_account', '', '', 'yes' ); 19 19 add_option( 'nb_dd_profile', '', '', 'yes' ); … … 53 53 } 54 54 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'; 58 58 59 59 $opt_val1 = get_option( $opt_name1 ); … … 66 66 } 67 67 68 $opt_label2 = 'Account Name :';68 $opt_label2 = 'Account Name'; 69 69 $opt_name2 = 'nb_dd_account'; 70 70 $data_field_name2 = 'nb_dd_account'; … … 80 80 } 81 81 82 $opt_label3 = 'Profile Name :';82 $opt_label3 = 'Profile Name'; 83 83 $opt_name3 = 'nb_dd_profile'; 84 84 $data_field_name3 = 'nb_dd_profile'; … … 93 93 } 94 94 95 $opt_label4 = 'Show Debug ?:';95 $opt_label4 = 'Show Debug <i title="Visibly output DD code into pages; useful for debugging">?</i>'; 96 96 $opt_name4 = 'nb_dd_debug'; 97 97 $data_field_name4 = 'nb_dd_debug'; … … 108 108 $opt_val4 = get_option( $opt_name4 ); 109 109 110 $opt_label5 = 'Cache Expiration Time :';110 $opt_label5 = 'Cache Expiration Time'; 111 111 $opt_name5 = 'nb_dd_cache_exprire_time'; 112 112 $data_field_name5 = 'nb_dd_cache_expriretime'; … … 121 121 } 122 122 123 $opt_label6 = 'Cache Active :';123 $opt_label6 = 'Cache Active'; 124 124 $opt_name6 = 'nb_dd_cache_active'; 125 125 $data_field_name6 = 'nb_dd_cache'; … … 167 167 border-radius: 4px; 168 168 } 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 } 169 181 </style> 170 182 <div class="metabox-holder"> -
netbiscuits-device-detection/trunk/nb-dd.php
r1369301 r1370625 100 100 * @since 1.0.0 101 101 */ 102 103 102 private function isSmartphone() { 104 103 $os = strtolower($this->response->device->operatingsystem); -
netbiscuits-device-detection/trunk/readme.txt
r1369303 r1370625 38 38 39 39 = 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. 41 41 42 42 = How do I get a Netbiscuits Device Detection account? =
Note: See TracChangeset
for help on using the changeset viewer.