Changeset 1302776
- Timestamp:
- 12/08/2015 07:56:58 AM (10 years ago)
- Location:
- wp-advertize-it
- Files:
-
- 1 added
- 5 edited
- 17 copied
-
tags/1.0.3 (added)
-
tags/1.0.3/ace (copied) (copied from wp-advertize-it/trunk/ace)
-
tags/1.0.3/bootstrap.php (copied) (copied from wp-advertize-it/trunk/bootstrap.php) (1 diff)
-
tags/1.0.3/classes (copied) (copied from wp-advertize-it/trunk/classes)
-
tags/1.0.3/classes/wp-advertize-it.php (copied) (copied from wp-advertize-it/trunk/classes/wp-advertize-it.php) (1 diff)
-
tags/1.0.3/classes/wpai-db.php (copied) (copied from wp-advertize-it/trunk/classes/wpai-db.php)
-
tags/1.0.3/classes/wpai-offers.php (modified) (4 diffs)
-
tags/1.0.3/css (copied) (copied from wp-advertize-it/trunk/css)
-
tags/1.0.3/images (copied) (copied from wp-advertize-it/trunk/images)
-
tags/1.0.3/includes (copied) (copied from wp-advertize-it/trunk/includes)
-
tags/1.0.3/javascript (copied) (copied from wp-advertize-it/trunk/javascript)
-
tags/1.0.3/langs (copied) (copied from wp-advertize-it/trunk/langs)
-
tags/1.0.3/readme.txt (copied) (copied from wp-advertize-it/trunk/readme.txt) (2 diffs)
-
tags/1.0.3/screenshot-1.png (copied) (copied from wp-advertize-it/trunk/screenshot-1.png)
-
tags/1.0.3/screenshot-2.png (copied) (copied from wp-advertize-it/trunk/screenshot-2.png)
-
tags/1.0.3/screenshot-3.png (copied) (copied from wp-advertize-it/trunk/screenshot-3.png)
-
tags/1.0.3/screenshot-4.png (copied) (copied from wp-advertize-it/trunk/screenshot-4.png)
-
tags/1.0.3/screenshot-5.png (copied) (copied from wp-advertize-it/trunk/screenshot-5.png)
-
tags/1.0.3/views (copied) (copied from wp-advertize-it/trunk/views)
-
trunk/bootstrap.php (modified) (1 diff)
-
trunk/classes/wp-advertize-it.php (modified) (1 diff)
-
trunk/classes/wpai-offers.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-advertize-it/tags/1.0.3/bootstrap.php
r1302762 r1302776 4 4 Plugin URI: https://wordpress.org/plugins/wp-advertize-it/ 5 5 Description: A plugin to place adsense blocks on your site 6 Version: 1.0. 26 Version: 1.0.3 7 7 Author: Henri Benoit, Alexander Herdt, amazingweb.de 8 8 Author URI: http://benohead.com -
wp-advertize-it/tags/1.0.3/classes/wp-advertize-it.php
r1302762 r1302776 24 24 * Plugin version 25 25 */ 26 const VERSION = '1.0. 2';26 const VERSION = '1.0.3'; 27 27 /** 28 28 * Prefix used to identify things related to this plugin -
wp-advertize-it/tags/1.0.3/classes/wpai-offers.php
r1301533 r1302776 81 81 public function register_hook_callbacks() 82 82 { 83 add_action('admin_menu', __CLASS__ . '::register_settings_pages');83 add_action('admin_menu', array($this, 'register_settings_pages')); 84 84 add_action('init', array($this, 'init')); 85 85 add_action('admin_init', array($this, 'register_settings')); … … 160 160 * @mvc Controller 161 161 */ 162 public staticfunction register_settings_pages()163 { 164 add_menu_page(WPAI_NAME,162 public function register_settings_pages() 163 { 164 $settingsPage = add_menu_page(WPAI_NAME, 165 165 WPAI_NAME . ' <i class="glyphicon glyphicon-signal"></i>', 166 166 self::REQUIRED_CAPABILITY, 167 167 'wpai_main', 168 168 __CLASS__ . '::markup_offers_page'); 169 169 170 add_action( 'load-' . $settingsPage, array($this, 'load_bootstrap_css') ); 171 170 172 /*add_submenu_page( 171 173 'wpai_main', … … 177 179 );*/ 178 180 } 179 181 182 public function load_bootstrap_css(){ 183 add_action( 'admin_enqueue_scripts', array($this, 'enqueue_bootstrap_css' ) ); 184 } 185 186 public function enqueue_bootstrap_css() 187 { 188 wp_register_style(self::PREFIX . 'bootstrap-css', 189 plugins_url('css/bootstrap-3.3.5-dist/css/bootstrap.min.css', dirname(__FILE__)), 190 array(), 191 null); 192 wp_enqueue_style(self::PREFIX . 'bootstrap-css'); 193 } 194 180 195 /*public static function add_base_tag() { 181 196 … … 342 357 true 343 358 );*/ 344 345 wp_register_style(self::PREFIX . 'bootstrap-css', 346 plugins_url('css/bootstrap-3.3.5-dist/css/bootstrap.min.css', dirname(__FILE__)), 347 array(), 348 null); 349 359 350 360 if (is_admin()) { 351 wp_enqueue_style(self::PREFIX . 'bootstrap-css');352 361 wp_enqueue_script(self::PREFIX . 'angularjs'); 353 362 //wp_enqueue_script(self::PREFIX . 'ngroute'); -
wp-advertize-it/tags/1.0.3/readme.txt
r1302762 r1302776 5 5 Requires at least: 4.2.3 6 6 Tested up to: 4.3.1 7 Stable tag: 1.0. 27 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 126 126 == Changelog == 127 127 128 = 1.0.3 = 129 130 * bootstrap css only loaded in own settings page 131 132 = 1.0.2 = 133 134 * fixed compatibility issue with PHP 5.3 in db upgrade 135 128 136 = 1.0.1 = 129 137 -
wp-advertize-it/trunk/bootstrap.php
r1302762 r1302776 4 4 Plugin URI: https://wordpress.org/plugins/wp-advertize-it/ 5 5 Description: A plugin to place adsense blocks on your site 6 Version: 1.0. 26 Version: 1.0.3 7 7 Author: Henri Benoit, Alexander Herdt, amazingweb.de 8 8 Author URI: http://benohead.com -
wp-advertize-it/trunk/classes/wp-advertize-it.php
r1302762 r1302776 24 24 * Plugin version 25 25 */ 26 const VERSION = '1.0. 2';26 const VERSION = '1.0.3'; 27 27 /** 28 28 * Prefix used to identify things related to this plugin -
wp-advertize-it/trunk/classes/wpai-offers.php
r1301533 r1302776 81 81 public function register_hook_callbacks() 82 82 { 83 add_action('admin_menu', __CLASS__ . '::register_settings_pages');83 add_action('admin_menu', array($this, 'register_settings_pages')); 84 84 add_action('init', array($this, 'init')); 85 85 add_action('admin_init', array($this, 'register_settings')); … … 160 160 * @mvc Controller 161 161 */ 162 public staticfunction register_settings_pages()163 { 164 add_menu_page(WPAI_NAME,162 public function register_settings_pages() 163 { 164 $settingsPage = add_menu_page(WPAI_NAME, 165 165 WPAI_NAME . ' <i class="glyphicon glyphicon-signal"></i>', 166 166 self::REQUIRED_CAPABILITY, 167 167 'wpai_main', 168 168 __CLASS__ . '::markup_offers_page'); 169 169 170 add_action( 'load-' . $settingsPage, array($this, 'load_bootstrap_css') ); 171 170 172 /*add_submenu_page( 171 173 'wpai_main', … … 177 179 );*/ 178 180 } 179 181 182 public function load_bootstrap_css(){ 183 add_action( 'admin_enqueue_scripts', array($this, 'enqueue_bootstrap_css' ) ); 184 } 185 186 public function enqueue_bootstrap_css() 187 { 188 wp_register_style(self::PREFIX . 'bootstrap-css', 189 plugins_url('css/bootstrap-3.3.5-dist/css/bootstrap.min.css', dirname(__FILE__)), 190 array(), 191 null); 192 wp_enqueue_style(self::PREFIX . 'bootstrap-css'); 193 } 194 180 195 /*public static function add_base_tag() { 181 196 … … 342 357 true 343 358 );*/ 344 345 wp_register_style(self::PREFIX . 'bootstrap-css', 346 plugins_url('css/bootstrap-3.3.5-dist/css/bootstrap.min.css', dirname(__FILE__)), 347 array(), 348 null); 349 359 350 360 if (is_admin()) { 351 wp_enqueue_style(self::PREFIX . 'bootstrap-css');352 361 wp_enqueue_script(self::PREFIX . 'angularjs'); 353 362 //wp_enqueue_script(self::PREFIX . 'ngroute'); -
wp-advertize-it/trunk/readme.txt
r1302762 r1302776 5 5 Requires at least: 4.2.3 6 6 Tested up to: 4.3.1 7 Stable tag: 1.0. 27 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 126 126 == Changelog == 127 127 128 = 1.0.3 = 129 130 * bootstrap css only loaded in own settings page 131 132 = 1.0.2 = 133 134 * fixed compatibility issue with PHP 5.3 in db upgrade 135 128 136 = 1.0.1 = 129 137
Note: See TracChangeset
for help on using the changeset viewer.