| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | * Plugin URI: http://rednao.com/smart-donations/ |
| 5 | 5 | * Description: Place diferent form of donations on your blog... |
| 6 | 6 | * Author: RedNao |
| 7 | 7 | * Author URI: http://rednao.com |
| 8 | - * Version: 0.9.1 | |
| 8 | + * Version: 0.5 | |
| 9 | 9 | * Text Domain: SmartDonations |
| 10 | 10 | * Domain Path: /languages/ |
| 11 | 11 | * Network: true |
| 12 | 12 | * License: GPLv3 |
| @@ -39,9 +39,8 @@ | ||
| 39 | 39 | * Marcis Gasuns (http://led24.de/iconset/) |
| 40 | 40 | */ |
| 41 | 41 | |
| 42 | 42 | require_once('smart-forms-config.php'); |
| 43 | -require_once(SMART_FORMS_DIR.'integration/smart-forms-integration-ajax.php'); | |
| 44 | 43 | require_once('smart-forms-ajax.php'); |
| 45 | 44 | require_once(SMART_FORMS_DIR.'widgets/smart-form-widget.php'); |
| 46 | 45 | |
| 47 | 46 | add_shortcode('sform','rednao_smart_form_short_code'); |
| @@ -55,14 +54,8 @@ | ||
| 55 | 54 | add_action( 'wp_ajax_nopriv_rednao_smart_forms_save_form_values','rednao_smart_forms_save_form_values'); |
| 56 | 55 | add_action( 'wp_ajax_rednao_smart_form_send_test_email','rednao_smart_form_send_test_email'); |
| 57 | 56 | add_action('wp_ajax_rednao_smart_forms_submit_license','rednao_smart_forms_submit_license'); |
| 58 | 57 | |
| 59 | -//integration | |
| 60 | - | |
| 61 | -add_action('wp_ajax_rednao_smart_forms_get_campaigns','rednao_smart_forms_get_campaigns'); | |
| 62 | - | |
| 63 | - | |
| 64 | - | |
| 65 | 58 | add_action('admin_init','rednao_smart_forms_plugin_was_activated'); |
| 66 | 59 | register_activation_hook(__FILE__,'rednao_smart_forms_plugin_was_activated'); |
| 67 | 60 | |
| 68 | 61 | add_action('admin_menu','rednao_smart_forms_create_menu'); |
| @@ -71,9 +64,8 @@ | ||
| 71 | 64 | function rednao_smart_forms_create_menu(){ |
| 72 | 65 | |
| 73 | 66 | add_menu_page('Smart Forms','Smart Forms','manage_options',__FILE__,'rednao_forms',plugin_dir_url(__FILE__).'images/smartFormsIcon.png'); |
| 74 | 67 | add_submenu_page(__FILE__,'Entries','Entries','manage_options',__FILE__.'entries', 'rednao_smart_forms_entries'); |
| 75 | - add_submenu_page(__FILE__,'Wish List/Support','Wish List/Support','manage_options',__FILE__.'wish_list', 'rednao_smart_forms_wish_list'); | |
| 76 | 68 | |
| 77 | 69 | } |
| 78 | 70 | |
| 79 | 71 | |
| @@ -154,11 +146,7 @@ | ||
| 154 | 146 | |
| 155 | 147 | function rednao_smart_forms_entries() |
| 156 | 148 | { |
| 157 | 149 | include(SMART_FORMS_DIR.'main_screens/smart-forms-entries.php'); |
| 158 | -} | |
| 159 | -function rednao_smart_forms_wish_list() | |
| 160 | -{ | |
| 161 | - include(SMART_FORMS_DIR.'main_screens/smart-forms-wishlist.php'); | |
| 162 | 150 | } |
| 163 | 151 | |
| 164 | 152 | ?> |