'medium', 'position' => 'toolbar', 'annotation' => 'bubble', ); conf_update_param('GooglePlusOne', serialize($google_conf)); } function plugin_activate() { global $conf; if (@unserialize($conf['GooglePlusOne']) === false) { $google_conf = explode(',', $conf['GooglePlusOne']); $google_conf = array( 'size' => $tweet_conf[0], 'position' => $tweet_conf[1], 'annotation' => 'bubble', ); conf_update_param('GooglePlusOne', serialize($google_conf)); } } function plugin_uninstall() { pwg_query('DELETE FROM '.CONFIG_TABLE.' WHERE param="GooglePlusOne" LIMIT 1;'); } ?>