Changeset 1486619
- Timestamp:
- 08/30/2016 05:55:21 PM (10 years ago)
- Location:
- ga-code
- Files:
-
- 2 edited
-
tags/1.0.1/ga-code.php (modified) (5 diffs)
-
trunk/ga-code.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ga-code/tags/1.0.1/ga-code.php
r1486608 r1486619 7 7 Author URI: http://www.phpsec.com.br/ 8 8 License: GPLv2 9 Text Domain: ga-code10 9 */ 11 10 /* … … 33 32 34 33 /** 35 36 34 * Function Activate GA-Code 37 38 35 * 39 40 36 * @since 1.0 41 42 37 * 43 44 38 */ 45 46 47 39 48 40 register_activation_hook( __FILE__, 'GACode_install' ); 49 41 50 51 52 42 /** 53 54 43 * Function Compare Version of WP else Desactive Plugin 55 56 44 * 57 58 45 * @since 1.0 59 60 46 * 61 62 47 */ 63 48 … … 89 74 */ 90 75 91 if ( is_admin() ) 92 93 { 76 if ( is_admin() ){ 94 77 95 78 add_action('admin_menu', 'GACode_opcoes'); … … 98 81 99 82 /** 100 101 83 * Function add Page Options in WP Menu 102 103 84 * 104 105 85 * @since 1.0 106 107 86 * 108 109 87 */ 110 88 … … 165 143 <?php wp_nonce_field('update-options') ?> 166 144 <p> 167 <label for="gacode"> <?php _e('Google Analytics Tracking Code', 'ga-code'); ?></label>145 <label for="gacode">Google Analytics Tracking Code</label> 168 146 <input type="text" name="gacode" placeholder="UA-XXXXXXXX-X" value="<?php echo get_option('gacode'); ?>" /><br> 169 147 <br> -
ga-code/trunk/ga-code.php
r1486608 r1486619 7 7 Author URI: http://www.phpsec.com.br/ 8 8 License: GPLv2 9 Text Domain: ga-code10 9 */ 11 10 /* … … 33 32 34 33 /** 35 36 34 * Function Activate GA-Code 37 38 35 * 39 40 36 * @since 1.0 41 42 37 * 43 44 38 */ 45 46 47 39 48 40 register_activation_hook( __FILE__, 'GACode_install' ); 49 41 50 51 52 42 /** 53 54 43 * Function Compare Version of WP else Desactive Plugin 55 56 44 * 57 58 45 * @since 1.0 59 60 46 * 61 62 47 */ 63 48 … … 89 74 */ 90 75 91 if ( is_admin() ) 92 93 { 76 if ( is_admin() ){ 94 77 95 78 add_action('admin_menu', 'GACode_opcoes'); … … 98 81 99 82 /** 100 101 83 * Function add Page Options in WP Menu 102 103 84 * 104 105 85 * @since 1.0 106 107 86 * 108 109 87 */ 110 88 … … 165 143 <?php wp_nonce_field('update-options') ?> 166 144 <p> 167 <label for="gacode"> <?php _e('Google Analytics Tracking Code', 'ga-code'); ?></label>145 <label for="gacode">Google Analytics Tracking Code</label> 168 146 <input type="text" name="gacode" placeholder="UA-XXXXXXXX-X" value="<?php echo get_option('gacode'); ?>" /><br> 169 147 <br>
Note: See TracChangeset
for help on using the changeset viewer.