Changeset 1702350
- Timestamp:
- 07/25/2017 12:02:03 PM (9 years ago)
- File:
-
- 1 edited
-
yakit/trunk/yakit-shipping.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
yakit/trunk/yakit-shipping.php
r1702296 r1702350 42 42 43 43 $this->enabled = isset( $this->settings['enabled'] ) ? $this->settings['enabled'] : 'yes'; 44 $this->title = isset( $this->settings['title'] ) ? $this->settings['title'] : __( ' yakit Shipping', 'yakit' );44 $this->title = isset( $this->settings['title'] ) ? $this->settings['title'] : __( 'Yakit Shipping', 'yakit' ); 45 45 } 46 46 … … 83 83 'description' => __( 'Yakit account key', 'yakit' ), 84 84 'default' => '' 85 ), 85 ),*/ 86 86 'title' => array( 87 87 'title' => __( 'Title', 'yakit' ), 88 88 'type' => 'text', 89 89 'description' => __( 'Title to be display on site', 'yakit' ), 90 'default' => __( ' yakit Shipping', 'yakit' )91 ), */90 'default' => __( 'Yakit Shipping', 'yakit' ) 91 ), 92 92 ); 93 93 } … … 412 412 if(isset($_GET['au'])) update_option('yakit_account_username',$_GET['au']); 413 413 if(isset($_GET['ak'])) update_option('yakit_account_key',$_GET['ak']); 414 if(isset($_GET['au']) && isset($_GET['ak']))echo '<h3 style="color:green;">Thank you for setting up Yakit account! Start shipping!</h3>';414 echo '<h3 style="color:green;">Thank you for setting up Yakit account! Start shipping!</h3>'; 415 415 $custom_settings = array(); 416 416 $custom_settings[] = array( 'name' => __( 'Yakit Settings', 'text-domain' ), 417 417 'type' => 'title', 418 'desc' => __( 'The following options are used to ...', 'text-domain' ),418 'desc' => __( 'The following account settings used to communicate with Yakit rate api.', 'text-domain' ), 419 419 'id' => 'yakit_settings' 420 420 );
Note: See TracChangeset
for help on using the changeset viewer.