Changeset 200959 for woopra/trunk/inc/admin.php
- Timestamp:
- 02/02/2010 05:06:15 AM (16 years ago)
- File:
-
- 1 edited
-
woopra/trunk/inc/admin.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woopra/trunk/inc/admin.php
r200927 r200959 212 212 array( 213 213 // Text Strings 214 'error' => __('An j avascripterror has happened. Please try again later.', 'woopra'),214 'error' => __('An jQuery error has happened. Please try again later.', 'woopra'), 215 215 'loading' => __('Loading...'), 216 216 'from' => __('From'), … … 222 222 'referrers' => __('Referrers'), 223 223 'searches' => __('Searches'), 224 'tagvisitors' => __('Tagged Vistors'),224 //'tagvisitors' => __('Tagged Vistors'), 225 225 'overview' => __('Overview'), 226 226 'countries' => __('Countries'), … … 228 228 'visitdura' => __('Visit Durations'), 229 229 'browsers' => __('Browsers'), 230 'platforms' => __('Platforms'), 231 'screenres' => __('Screen Resolutions'), 232 'languages' => __('Languages'), 233 'pageview' => __('Page Views'), 234 'landingpage' => __('Landing Pages'), 235 'exitpage' => __('Exit Pages'), 236 'outgoinglink' => __('Outgoing Links'), 237 'downloads' => __('Downloads'), 238 'referrer_ty' => __('Referrer Types'), 239 'referrer_se' => __('Search Engines'), 240 'referrer_fr' => __('Feed Readers'), 241 'referrer_em' => __('Emails'), 242 'referrer_sb' => __('Social Bookmarks'), 243 'referrer_sn' => __('Social Networks'), 244 'referrer_me' => __('Media'), 245 'referrer_ne' => __('News'), 246 'referrer_co' => __('Community'), 247 'referrer_al' => __('All Links'), 248 'search_quer' => __('Search Queries'), 249 'keywords' => __('Keywords'), 230 250 // Data Settings 231 251 'apikey' => $this->get_option('api_key'), … … 265 285 else if ($this->version_compare(array( '1.4.2' => '>' , '1.4.3' => '<' ))) 266 286 $this->upgrade('1.4.3'); 287 else if ($this->version_compare(array( '1.4.3' => '>' , '1.5.0' => '<' ))) 288 $this->upgrade('1.5.0'); 267 289 } 268 290 … … 368 390 unset($woopra['version']); 369 391 update_option( 'woopra', array_merge($woopra, $newopts) ); 370 } 392 } else if ( $ver == '1.5.0' ) { 393 394 $woopra = get_option('woopra'); 395 396 $newopts = array ( 397 'use_subdomain' => 0, 398 ); 399 400 unset($woopra['version']); 401 update_option( 'woopra', array_merge($woopra, $newopts) ); 402 403 } 371 404 } 372 405 … … 378 411 function defaults() { 379 412 $defaults = array( 380 'version' => '',413 'version' => WOOPRA_VERSION, 381 414 'activated' => 1, 382 415 'api_key' => '', … … 389 422 'track_admin' => 0, 390 423 'use_timeout' => 0, 391 ' process_events' => 1,424 'use_subdomain' => 0, 392 425 'timeout' => 600, 393 426 ); … … 498 531 </td> 499 532 </tr> 533 <tr valign="top"> 534 <th scope="row"><?php _e('Sub Domains', 'woopra') ?></th> 535 <td> 536 <input type="checkbox" value="1"<?php checked('1', $this->get_option('use_subdomain')); ?> id="use_subdomain" name="use_subdomain"/> <label for="use_subdomain"><?php _e("Track Sub Domains"); ?></label><br /><small><?php printf( __('Enabled this if you want to track subdomains. Note: You must have an account that allows subdomain tracking. Please refer to the <a href="%s">account information</a> page for more information.', 'woopra'), 'https://www.woopra.com/members/'); ?></small> 537 </td> 538 </tr> 500 539 </table> 501 540 <br/>
Note: See TracChangeset
for help on using the changeset viewer.