Changeset 226320
- Timestamp:
- 04/08/2010 09:29:05 AM (16 years ago)
- Location:
- zamango-money-extractor/trunk
- Files:
-
- 4 edited
-
readme.txt (modified) (2 diffs)
-
zmg_admin.php (modified) (2 diffs)
-
zmg_money_extractor.php (modified) (2 diffs)
-
zmg_money_extractor_defaults.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zamango-money-extractor/trunk/readme.txt
r225963 r226320 6 6 Tested up to: 2.9.2 7 7 Donate link: http://www.zamango.com 8 Version: 1. 09 Stable tag: 1. 08 Version: 1.1 9 Stable tag: 1.1 10 10 11 11 'Zamango Money Extractor' creates your own casual games storefront with … … 100 100 101 101 == Changelog == 102 103 = 1.1 = 104 * Bugfix: fix wrong function pointer definition 102 105 103 106 = 1.0 = -
zamango-money-extractor/trunk/zmg_admin.php
r225964 r226320 26 26 if (!class_exists('zmg_admin')) 27 27 { 28 define('ZMG_ADMIN', '1. 0');28 define('ZMG_ADMIN', '1.1'); 29 29 define('ZMG_ADMIN_DIR_NAME', basename(dirname(__FILE__))); 30 30 define('ZMG_ADMIN_URL', WP_PLUGIN_URL . '/' . ZMG_ADMIN_DIR_NAME); … … 281 281 stripslashes($_POST[$opt_name]); 282 282 283 if (isset($option s["regs"]))284 foreach ($option s["regs"] as $reg)283 if (isset($option["regs"])) 284 foreach ($option["regs"] as $reg) 285 285 if (! preg_match($reg, $this->options[$opt_name])) 286 286 { -
zamango-money-extractor/trunk/zmg_money_extractor.php
r225964 r226320 11 11 Description: Creates casual games storefront at your WordPress. 12 12 Author: Zamango 13 Version: 1. 013 Version: 1.1 14 14 Requires at least: 2.8 15 15 Author URI: http://www.zamango.com/ … … 25 25 { 26 26 var $hook = 'zmg-money-extractor'; 27 var $version = '1. 0';27 var $version = '1.1'; 28 28 var $page_title = 'Money Extractor'; 29 29 var $menu_title = 'Money Extractor'; -
zamango-money-extractor/trunk/zmg_money_extractor_defaults.php
r225964 r226320 6 6 */ 7 7 8 load_plugin_textdomain($this->hook, 9 $this->plugin_url, 10 $this->dir_name); 11 8 12 $this->default_options = array( 9 13 "username" => array( 10 14 "default" => __('enter username here', $this->hook), 11 15 "minlen" => 1, 12 "stoper" => function() { 13 return ! isset($_POST['ZMG_UPDATE']); 14 } 16 "stoper" => create_function('', 17 'return ! isset($_POST[\'ZMG_UPDATE\']);') 15 18 ), 16 19 "channel" => array( 17 20 "default" => __('enter channel name here', $this->hook), 18 21 "minlen" => 1, 19 "stoper" => function() { 20 return ! isset($_POST['ZMG_UPDATE']); 21 } 22 "stoper" => create_function('', 23 'return ! isset($_POST[\'ZMG_UPDATE\']);') 22 24 ), 23 25 "language" => array( … … 26 28 "root_category" => array( 27 29 "default" => 0, 28 "regs" => array('/^\d+$/'), 29 "callback" => function (&$obj) { 30 if ($obj->options['root_category'] == -1) 31 $obj->options['root_category'] = 0; 32 }, 33 "stoper" => function() { 34 return ! isset($_POST['ZMG_UPDATE']); 35 } 30 "regs" => array('/^-?\d+$/'), 31 "callback" => create_function ('&$obj', 32 'if ($obj->options[\'root_category\'] == -1) 33 $obj->options[\'root_category\'] = 0;'), 34 "stoper" => create_function('', 35 'return ! isset($_POST[\'ZMG_UPDATE\']);') 36 36 ), 37 37 "hierarchical" => array( 38 38 "default" => 1, 39 39 "definedornot" => 1, 40 "stoper" => function() { 41 return ! isset($_POST['ZMG_UPDATE']); 42 } 40 "stoper" => create_function('', 41 'return ! isset($_POST[\'ZMG_UPDATE\']);') 43 42 ), 44 43 "publish" => array( 45 44 "default" => 1, 46 45 "definedornot" => 1, 47 "stoper" => function() { 48 return ! isset($_POST['ZMG_UPDATE']); 49 } 46 "stoper" => create_function('', 47 'return ! isset($_POST[\'ZMG_UPDATE\']);') 50 48 ), 51 49 "tags_type" => array( 52 50 "default" => 1, 53 51 "definedornot" => 1, 54 "stoper" => function() { 55 return ! isset($_POST['ZMG_UPDATE']); 56 } 52 "stoper" => create_function('', 53 'return ! isset($_POST[\'ZMG_UPDATE\']);') 57 54 ), 58 55 "tags_genre" => array( 59 56 "default" => 1, 60 57 "definedornot" => 1, 61 "stoper" => function() { 62 return ! isset($_POST['ZMG_UPDATE']); 63 } 58 "stoper" => create_function('', 59 'return ! isset($_POST[\'ZMG_UPDATE\']);') 64 60 ), 65 61 "tags_company" => array( 66 62 "default" => 1, 67 63 "definedornot" => 1, 68 "stoper" => function() { 69 return ! isset($_POST['ZMG_UPDATE']); 70 } 64 "stoper" => create_function('', 65 'return ! isset($_POST[\'ZMG_UPDATE\']);') 71 66 ), 72 67 "last_pubdate" => array( … … 84 79 "default" => 32, 85 80 "regs" => array('/^(0|24|32|48|64)$/'), 86 "stoper" => function() { 87 return ! isset($_POST['ZMG_UPDATE']); 88 } 81 "stoper" => create_function('', 82 'return ! isset($_POST[\'ZMG_UPDATE\']);') 89 83 ), 90 84 "button_bg" => array( 91 85 "default" => 'transparent', 92 86 "regs" => array('/^(transparent|#[0-9A-Fa-f]{6})$/'), 93 "stoper" => function() { 94 return ! isset($_POST['ZMG_UPDATE']); 95 } 87 "stoper" => create_function('', 88 'return ! isset($_POST[\'ZMG_UPDATE\']);') 96 89 ), 97 90 "button_src" => array( 98 91 "default" => '', 99 92 "required" => 1, 100 "stoper" => function() { 101 return ! isset($_POST['ZMG_UPDATE']); 102 } 93 "stoper" => create_function('', 94 'return ! isset($_POST[\'ZMG_UPDATE\']);') 103 95 ), 104 96 "buy_size" => array( 105 97 "default" => 32, 106 98 "regs" => array('/^(0|24|32|48|64)$/'), 107 "stoper" => function() { 108 return ! isset($_POST['ZMG_UPDATE']); 109 } 99 "stoper" => create_function('', 100 'return ! isset($_POST[\'ZMG_UPDATE\']);') 110 101 ), 111 102 "buy_bg" => array( 112 103 "default" => 'transparent', 113 104 "regs" => array('/^(transparent|#[0-9A-Fa-f]{6})$/'), 114 "stoper" => function() { 115 return ! isset($_POST['ZMG_UPDATE']); 116 } 105 "stoper" => create_function('', 106 'return ! isset($_POST[\'ZMG_UPDATE\']);') 117 107 ), 118 108 "buy_src" => array( 119 109 "default" => '', 120 110 "required" => 1, 121 "stoper" => function() { 122 return ! isset($_POST['ZMG_UPDATE']); 123 } 111 "stoper" => create_function('', 112 'return ! isset($_POST[\'ZMG_UPDATE\']);') 124 113 ), 125 114 "show_on_admin" => array( … … 150 139 "random_words" => array( 151 140 "default" => array(), 152 "callback" => function (&$obj){ 153 $obj->options['random_words'] = 154 explode(',', stripslashes($_POST['random_words'])); 155 } 141 "callback" => create_function ('&$obj', 142 '$obj->options[\'random_words\'] =' . 143 'explode(\',\', stripslashes($_POST[\'random_words\']));') 156 144 ), 157 145 "excerpt" => array(
Note: See TracChangeset
for help on using the changeset viewer.